Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 374d2da8 authored by Brian Isganitis's avatar Brian Isganitis Committed by Automerger Merge Worker
Browse files

Merge "Remove light theme support for split screen surface." into udc-dev am:...

Merge "Remove light theme support for split screen surface." into udc-dev am: 9779b22c am: 7d55b463

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22955244



Change-Id: Ie5138a503a5c9d0294ce95e3570b761b76d95672
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2da47254 7d55b463
Loading
Loading
Loading
Loading
+0 −20
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2021 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<!-- Should be the same as in packages/apps/Launcher3/res/color-v31/taskbar_background.xml -->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:color="@android:color/system_neutral1_500" android:lStar="98" />
</selector>
 No newline at end of file
+0 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,6 @@
  -->
  -->


<resources>
<resources>
    <color name="docked_divider_handle">#ffffff</color>
    <!-- Bubbles -->
    <!-- Bubbles -->
    <color name="bubbles_icon_tint">@color/GM2_grey_200</color>
    <color name="bubbles_icon_tint">@color/GM2_grey_200</color>
    <!-- Splash screen-->
    <!-- Splash screen-->
+2 −2
Original line number Original line Diff line number Diff line
@@ -17,8 +17,8 @@
 */
 */
-->
-->
<resources>
<resources>
    <color name="docked_divider_handle">#000000</color>
    <color name="docked_divider_handle">#ffffff</color>
    <color name="split_divider_background">@color/taskbar_background</color>
    <color name="split_divider_background">@color/taskbar_background_dark</color>
    <drawable name="forced_resizable_background">#59000000</drawable>
    <drawable name="forced_resizable_background">#59000000</drawable>
    <color name="minimize_dock_shadow_start">#60000000</color>
    <color name="minimize_dock_shadow_start">#60000000</color>
    <color name="minimize_dock_shadow_end">#00000000</color>
    <color name="minimize_dock_shadow_end">#00000000</color>
+2 −2
Original line number Original line Diff line number Diff line
@@ -104,7 +104,7 @@ public class DropZoneView extends FrameLayout {
        setContainerMargin(0, 0, 0, 0); // make sure it's populated
        setContainerMargin(0, 0, 0, 0); // make sure it's populated


        mCornerRadius = ScreenDecorationsUtils.getWindowCornerRadius(context);
        mCornerRadius = ScreenDecorationsUtils.getWindowCornerRadius(context);
        mMarginColor = getResources().getColor(R.color.taskbar_background);
        mMarginColor = getResources().getColor(R.color.taskbar_background_dark);
        int c = getResources().getColor(android.R.color.system_accent1_500);
        int c = getResources().getColor(android.R.color.system_accent1_500);
        mHighlightColor =  Color.argb(HIGHLIGHT_ALPHA, Color.red(c), Color.green(c), Color.blue(c));
        mHighlightColor =  Color.argb(HIGHLIGHT_ALPHA, Color.red(c), Color.green(c), Color.blue(c));
        mSplashScreenColor = Color.argb(SPLASHSCREEN_ALPHA, 0, 0, 0);
        mSplashScreenColor = Color.argb(SPLASHSCREEN_ALPHA, 0, 0, 0);
@@ -125,7 +125,7 @@ public class DropZoneView extends FrameLayout {


    public void onThemeChange() {
    public void onThemeChange() {
        mCornerRadius = ScreenDecorationsUtils.getWindowCornerRadius(getContext());
        mCornerRadius = ScreenDecorationsUtils.getWindowCornerRadius(getContext());
        mMarginColor = getResources().getColor(R.color.taskbar_background);
        mMarginColor = getResources().getColor(R.color.taskbar_background_dark);
        mHighlightColor = getResources().getColor(android.R.color.system_accent1_500);
        mHighlightColor = getResources().getColor(android.R.color.system_accent1_500);


        if (mMarginPercent > 0) {
        if (mMarginPercent > 0) {