Adding a few null checks.
1) During migration, if launcher2 has deleted user data, migration oes not happen 2) If Launcher3 does not has bind widget permission, QSB would be null. Bug: 18388507 Change-Id: Ief81f6f77ce154e7b3ecd4b77caf24239401e738
This commit is contained in:
1 parent
06910a8844
commit
416541cc0e
3 files changed
+13
-5
No files matched your search
@@ -2449,8 +2449,10 @@ public class Workspace extends SmoothPagedView
|
||||
pageIndicator.setAlpha(finalHotseatAndPageIndicatorAlpha);
|
||||
AlphaUpdateListener.updateVisibility(pageIndicator);
|
||||
}
|
||||
searchBar.setAlpha(finalSearchBarAlpha);
|
||||
AlphaUpdateListener.updateVisibility(searchBar);
|
||||
if (searchBar != null) {
|
||||
searchBar.setAlpha(finalSearchBarAlpha);
|
||||
AlphaUpdateListener.updateVisibility(searchBar);
|
||||
}
|
||||
updateCustomContentVisibility();
|
||||
setScaleX(mNewScale);
|
||||
setScaleY(mNewScale);
|
||||
|
||||
Reference in new issue
Block a user