Merge "Fix NPE in DrawOverlayDetails#getSummary" into sc-dev am: 20d45cc6f2
am: 4418d9a31a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14519528 Change-Id: I99d381076cdcec75f1a5f35f79374e3222af4b1c
This commit is contained in:
@@ -158,6 +158,10 @@ public class DrawOverlayDetails extends AppInfoWithHeader implements OnPreferenc
|
||||
}
|
||||
|
||||
public static CharSequence getSummary(Context context, AppEntry entry) {
|
||||
if (entry == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
OverlayState state;
|
||||
if (entry.extraInfo instanceof OverlayState) {
|
||||
state = (OverlayState) entry.extraInfo;
|
||||
|
Reference in New Issue
Block a user