Revert^3 "Improve App notification loading"
33710fd9e2
Change-Id: Ifb45f949c28bff04f8abfe3e1a73628f2e407241 (cherry picked from commit475632c4fe
) Merged-In: Ifb45f949c28bff04f8abfe3e1a73628f2e407241
This commit is contained in:
committed by
Android Build Coastguard Worker
parent
db838dd3d4
commit
6d40391f42
@@ -32,15 +32,15 @@ public class BubbleLinkPreferenceController extends NotificationPreferenceContro
|
||||
static final int ON = 1;
|
||||
|
||||
public BubbleLinkPreferenceController(Context context) {
|
||||
super(context, null, KEY);
|
||||
super(context, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getAvailabilityStatus() {
|
||||
if (super.getAvailabilityStatus() == CONDITIONALLY_UNAVAILABLE) {
|
||||
return CONDITIONALLY_UNAVAILABLE;
|
||||
public boolean isAvailable() {
|
||||
if (!super.isAvailable()) {
|
||||
return false;
|
||||
}
|
||||
return areBubblesEnabled() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
|
||||
return areBubblesEnabled();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user