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

Commit f68bfdc6 authored by Dhina17's avatar Dhina17 Committed by Łukasz Patron
Browse files

SystemUI: Use correct back drawable for 2-button nav

- This reverts 6e9302f7
- We do support 2-button nav and we don't use gesture nav as default so
  SuW issue mentioned in the reverted commit does not affect us.

Change-Id: Ibec3ed2e9344d78d41d6d9c86d7f9d6677a47a5a
parent 88056ab7
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2018 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="28dp"
    android:height="28dp"
    android:autoMirrored="true"
    android:viewportWidth="28"
    android:viewportHeight="28">
    <path
        android:pathData="M16.78,10.03l-3.97,3.97l3.97,3.97l-1.06,1.06l-5.03,-5.03l5.03,-5.03z"
        android:fillColor="?attr/singleToneColor" />
</vector>
+3 −1
Original line number Diff line number Diff line
@@ -529,7 +529,9 @@ public class NavigationBarView extends FrameLayout {
    }

    public KeyButtonDrawable getBackDrawable() {
        KeyButtonDrawable drawable = getDrawable(R.drawable.ic_sysbar_back);
        KeyButtonDrawable drawable = mShowSwipeUpUi
                ? getDrawable(R.drawable.ic_sysbar_back_quick_step)
                : getDrawable(R.drawable.ic_sysbar_back);
        orientBackButton(drawable);
        return drawable;
    }