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

Commit 5b6f4665 authored by Winson Chung's avatar Winson Chung
Browse files

Remove unused back overlay packages

- They were used prior to us migrating to settings-based back
  sensitivity in b/146004827 and was kept for compatibility in case
  users who previously adjusted the sensitivity via the overlay
  packages would retain it upon updating.  However, the changes for
  the above bug went in 2019, and the latest version of Android are
  not supported on these older devices, so we can likely remove them
  entirely now.

Fixes: 332992598
Test: Builds
Change-Id: I1edb24cbd05ef983499abe357bfb756f02f4d915
parent 0bb9ce87
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -30,9 +30,6 @@ phony {
        "FontNotoSerifSourceOverlay",
        "NavigationBarMode3ButtonOverlay",
        "NavigationBarModeGesturalOverlay",
        "NavigationBarModeGesturalOverlayNarrowBack",
        "NavigationBarModeGesturalOverlayWideBack",
        "NavigationBarModeGesturalOverlayExtraWideBack",
        "TransparentNavigationBarOverlay",
        "NotesRoleEnabledOverlay",
        "preinstalled-packages-platform-overlays.xml",
+0 −30
Original line number Diff line number Diff line
//
//  Copyright 2019, 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.
//

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

runtime_resource_overlay {
    name: "NavigationBarModeGesturalOverlayExtraWideBack",
    theme: "NavigationBarModeGesturalExtraWideBack",
    product_specific: true,
}
+0 −27
Original line number Diff line number Diff line
<!--
/**
 * Copyright (c) 2019, 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.
 */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.internal.systemui.navbar.gestural_extra_wide_back"
        android:versionCode="1"
        android:versionName="1.0">
    <overlay android:targetPackage="android"
        android:category="com.android.internal.navigation_bar_mode"
        android:priority="1"/>

    <application android:label="@string/navigation_bar_mode_title" android:hasCode="false"/>
</manifest>
 No newline at end of file
+0 −22
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
 * Copyright (c) 2023, 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.
 */
-->
<resources>
    <!-- If true, attach the navigation bar to the app during app transition -->
    <bool name="config_attachNavBarToAppDuringTransition">false</bool>
</resources>
+0 −62
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
 * Copyright (c) 2019, 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.
 */
-->
<resources>
    <!-- Controls the navigation bar interaction mode:
         0: 3 button mode (back, home, overview buttons)
         1: 2 button mode (back, home buttons + swipe up for overview)
         2: gestures only for back, home and overview -->
    <integer name="config_navBarInteractionMode">2</integer>

    <!-- Controls whether the nav bar can move from the bottom to the side in landscape.
         Only applies if the device display is not square. -->
    <bool name="config_navBarCanMove">false</bool>

    <!-- Controls whether the navigation bar lets through taps. -->
    <bool name="config_navBarTapThrough">true</bool>

    <!-- Controls whether the IME renders the back and IME switcher buttons or not. -->
    <bool name="config_imeDrawsImeNavBar">true</bool>

    <!-- Controls the size of the back gesture inset. -->
    <dimen name="config_backGestureInset">40dp</dimen>

    <!-- Controls whether the navbar needs a scrim with
     {@link Window#setEnsuringNavigationBarContrastWhenTransparent}. -->
    <bool name="config_navBarNeedsScrim">false</bool>

    <!-- Controls the opacity of the navigation bar depending on the visibility of the
     various workspace stacks.
     0 - Nav bar is always opaque when either the freeform stack or docked stack is visible.
     1 - Nav bar is always translucent when the freeform stack is visible, otherwise always
         opaque.
     2 - Nav bar is never forced opaque.
     -->
    <integer name="config_navBarOpacityMode">2</integer>

    <!-- Controls whether seamless rotation should be allowed even though the navbar can move
         (which normally prevents seamless rotation). -->
    <bool name="config_allowSeamlessRotationDespiteNavBarMoving">true</bool>

    <!-- Controls whether the side edge gestures can always trigger the transient nav bar to
         show. -->
    <bool name="config_navBarAlwaysShowOnSideEdgeGesture">true</bool>

    <!-- If true, attach the navigation bar to the app during app transition -->
    <bool name="config_attachNavBarToAppDuringTransition">true</bool>
</resources>
Loading