Use hasSentValidBubble in settings
This change makes it such that bubble settings will only be available once the app has sent a bubble notification. Test: atest BubbleSummaryPreferenceControllerTest Bug: 178387292 Change-Id: I459ffcedc4194d953e8b7170937e2eb5334d1422
This commit is contained in:
@@ -63,7 +63,7 @@ public class BubbleSummaryPreferenceController extends NotificationPreferenceCon
|
||||
return mAppRow != null;
|
||||
}
|
||||
}
|
||||
return isGloballyEnabled() && mBackend.hasSentValidMsg(mAppRow.pkg, mAppRow.uid);
|
||||
return isGloballyEnabled() && mBackend.hasSentValidBubble(mAppRow.pkg, mAppRow.uid);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user