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:
Shivangi Dubey
2023-03-20 17:25:21 +00:00
committed by Automerger Merge Worker
2 changed files with 5 additions and 1 deletions

View 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>

View File

@@ -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,