Fix bugs with A16/A15 devices
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
1 parent
b67168f737
commit
bfb2be39eb
9 files changed
+49
-29
No files matched your search
@@ -333,7 +333,10 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
0 // Bottom left
|
||||
};
|
||||
if (Flags.allAppsBlur()) {
|
||||
int resId = ColorTokens.ExpressiveAllApps.resolveColor(getContext());
|
||||
// Lawnchair-TODO-Colour: ExpressiveAllApps
|
||||
// int resId = ColorTokens.ExpressiveAllApps.resolveColor(getContext());
|
||||
int resId = Utilities.isDarkTheme(getContext())
|
||||
? android.R.color.system_accent1_800 : android.R.color.system_accent1_100;
|
||||
int layerAbove = ColorUtils.setAlphaComponent(getResources().getColor(resId, null),
|
||||
(int) (0.4f * 255));
|
||||
int layerBelow = ColorUtils.setAlphaComponent(Color.WHITE, (int) (0.1f * 255));
|
||||
|
||||
Reference in new issue
Block a user