Merge "Merge "Revert "Do not prebind sticky slices."" into rvc-dev am: 591d761d43 am: 1438ab4d59 am: 691e31b0cf" into rvc-qpr-dev-plus-aosp am: 2d256d5ca8
Change-Id: I8233440348485f16894219fe1b50f12608303498
This commit is contained in:
@@ -18,8 +18,6 @@ package com.android.settings.homepage.contextualcards;
|
||||
|
||||
import static android.app.slice.Slice.HINT_ERROR;
|
||||
|
||||
import static com.android.settings.intelligence.ContextualCardProto.ContextualCard.Category.STICKY_VALUE;
|
||||
|
||||
import android.app.settings.SettingsEnums;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
@@ -96,11 +94,6 @@ public class EligibleCardChecker implements Callable<ContextualCard> {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (card.getCategory() == STICKY_VALUE) {
|
||||
Log.d(TAG, "Sticky card, skip checking. Uri = " + card.getSliceUri());
|
||||
return true;
|
||||
}
|
||||
|
||||
final Slice slice = bindSlice(uri);
|
||||
|
||||
if (isSliceToggleable(slice)) {
|
||||
|
||||
Reference in New Issue
Block a user