Revert "Improve App notification loading"
Revert "Fix binder error when an app has many channels" Revert submission 19290255-jr-bind-flicker Reason for revert: b/240100577 Reverted Changes: I9a1c96f75:Improve App notification loading I391ce0b10:Fix binder error when an app has many channels Change-Id: Iaae40de74d135a79c18201ec17e00f3d9d5f0f3b
This commit is contained in:
@@ -45,7 +45,7 @@ public class HeaderPreferenceController extends NotificationPreferenceController
|
||||
private boolean mStarted = false;
|
||||
|
||||
public HeaderPreferenceController(Context context, DashboardFragment fragment) {
|
||||
super(context, null, PREF_KEY_APP_HEADER);
|
||||
super(context, null);
|
||||
mFragment = fragment;
|
||||
}
|
||||
|
||||
@@ -55,8 +55,8 @@ public class HeaderPreferenceController extends NotificationPreferenceController
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getAvailabilityStatus() {
|
||||
return mAppRow != null ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
|
||||
public boolean isAvailable() {
|
||||
return mAppRow != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user