commit | b69e993ce5e859613f1a63122ddb312e369b5428 | [log] [tgz] |
---|---|---|
author | Ching-Sung Li <chriscsli@google.com> | Tue May 25 20:03:01 2021 +0800 |
committer | Ching Sung Li <chriscsli@google.com> | Mon May 31 03:22:37 2021 +0000 |
tree | 2c45a6f8fcc61c169f648ed25f1af319fdc980c7 | |
parent | 724a03cf44c5551d6a8cbf7c0a90660465203f09 [diff] [blame] |
Add indicator badge to decorate grid item Bug: 188734434 Test: Manual Change-Id: Id7d54172af1a0e08d87fe93fc1336912513130d3
diff --git a/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java b/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java index 85171d6..84f2e7a 100755 --- a/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java +++ b/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java
@@ -598,7 +598,7 @@ mImageGrid, (BottomSheetHost) getParentFragment(), getNumColumns())); } - private boolean isFewerColumnLayout() { + boolean isFewerColumnLayout() { return mWallpapers != null && mWallpapers.size() <= MAX_CAPACITY_IN_FEWER_COLUMN_LAYOUT; } @@ -1142,7 +1142,7 @@ } } - private boolean shouldShowRotationTile() { + boolean shouldShowRotationTile() { return mFormFactor == FormFactorChecker.FORM_FACTOR_DESKTOP && isRotationEnabled(); }