Merge "Reduce flickers of Injection" into tm-dev am: 6d9b155b20
am: 399093f82a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18186097 Change-Id: I2bd9f24f858a74a1f311681f522e12bd1c7fb0db Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -34,7 +34,7 @@ import java.util.Map;
|
||||
@Implements(TileUtils.class)
|
||||
public class ShadowTileUtils {
|
||||
|
||||
public static final String MOCK_SUMMARY = "summary";
|
||||
public static final String MOCK_TEXT = "text";
|
||||
|
||||
private static boolean sChecked;
|
||||
private static Bundle sResult;
|
||||
@@ -42,13 +42,14 @@ public class ShadowTileUtils {
|
||||
@Implementation
|
||||
protected static String getTextFromUri(Context context, Uri uri,
|
||||
Map<String, IContentProvider> providerMap, String key) {
|
||||
return MOCK_SUMMARY;
|
||||
return MOCK_TEXT;
|
||||
}
|
||||
|
||||
@Implementation
|
||||
protected static Pair<String, Integer> getIconFromUri(Context context, String packageName,
|
||||
Uri uri, Map<String, IContentProvider> providerMap) {
|
||||
return Pair.create(RuntimeEnvironment.application.getPackageName(), R.drawable.ic_settings_accent);
|
||||
return Pair.create(RuntimeEnvironment.application.getPackageName(),
|
||||
R.drawable.ic_settings_accent);
|
||||
}
|
||||
|
||||
@Implementation
|
||||
|
Reference in New Issue
Block a user