Merge "Change background color of fold/unfold" into tm-qpr-dev am: 6230df586f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22138584 Change-Id: I86be172ac577884fdf8b75e54d281be36730535f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
4
libs/WindowManager/Shell/res/color/unfold_background.xml
Normal file
4
libs/WindowManager/Shell/res/color/unfold_background.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@android:color/system_neutral1_500" android:lStar="5" />
|
||||
</selector>
|
||||
@@ -79,7 +79,7 @@ public class UnfoldBackgroundController {
|
||||
}
|
||||
|
||||
private float[] getBackgroundColor(Context context) {
|
||||
int colorInt = context.getResources().getColor(R.color.taskbar_background);
|
||||
int colorInt = context.getResources().getColor(R.color.unfold_background);
|
||||
return new float[]{
|
||||
(float) red(colorInt) / 255.0F,
|
||||
(float) green(colorInt) / 255.0F,
|
||||
|
||||
Reference in New Issue
Block a user