Add null check to page indicator to prevent crashes in landscape.
Change-Id: I9676c19bcdd9129a8519e96febc779f019bc8a13
This commit is contained in:
@@ -505,7 +505,9 @@ public class Launcher extends Activity
|
||||
if (mExtractedColors != null && Utilities.isNycOrAbove()) {
|
||||
mExtractedColors.load(this);
|
||||
mHotseat.updateColor(mExtractedColors, !mPaused);
|
||||
mPageIndicator.updateColor(mExtractedColors);
|
||||
if (mPageIndicator != null) {
|
||||
mPageIndicator.updateColor(mExtractedColors);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user