DescriptionFix Chromoting Android client crashed on launch
We crash because mRefreshButton is null when updateUI() is called.
mRefreshButton is initialized on onCreateOptionsMenu()
According to http://stackoverflow.com/questions/13267030/oncreateoptionsmenu-is-never-called, seems like
onCreateOptionMenu will never got called on some themes on phones with menu button.
I can repro by overriding the theme to @android:style/Theme.Black.NoTitleBar
The fix is adding a null check.
BUG=364591
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274354
Patch Set 1 #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|