Merge "Fix NPE in DrawOverlayDetails#getSummary" into sc-dev
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