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

Commit ea79109b authored by Tiger Huang's avatar Tiger Huang Committed by Android (Google) Code Review
Browse files

Merge "Add an overlay package to enable config_navBarDefaultTransparent" into udc-dev

parents d71a10e3 c2e18524
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -53,6 +53,9 @@
    <install-in-user-type package="com.android.internal.systemui.onehanded.gestural">
        <install-in user-type="FULL" />
    </install-in-user-type>
    <install-in-user-type package="com.android.internal.systemui.navbar.transparent">
        <install-in user-type="FULL" />
    </install-in-user-type>
    <install-in-user-type package="com.android.theme.color.amethyst">
        <install-in user-type="FULL" />
        <install-in user-type="PROFILE" />
+5 −0
Original line number Diff line number Diff line
@@ -868,6 +868,11 @@
    <!-- UI debug setting: force right to left layout summary [CHAR LIMIT=100] -->
    <string name="force_rtl_layout_all_locales_summary">Force screen layout direction to RTL for all locales</string>

    <!-- UI debug setting: make navigation bar background color transparent by default [CHAR LIMIT=50] -->
    <string name="transparent_navigation_bar">Transparent navigation bar</string>
    <!-- UI debug setting: make navigation bar background color transparent by default summary [CHAR LIMIT=100] -->
    <string name="transparent_navigation_bar_summary">Make navigation bar background color transparent by default</string>

    <!-- UI debug setting: enable or disable window blurs [CHAR LIMIT=50] -->
    <string name="window_blurs">Allow window-level blurs</string>

+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ LOCAL_REQUIRED_MODULES := \
	NavigationBarModeGesturalOverlayNarrowBack \
	NavigationBarModeGesturalOverlayWideBack \
	NavigationBarModeGesturalOverlayExtraWideBack \
	TransparentNavigationBarOverlay \
	preinstalled-packages-platform-overlays.xml

include $(BUILD_PHONY_PACKAGE)
+30 −0
Original line number Diff line number Diff line
//
//  Copyright 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.
//

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: "TransparentNavigationBarOverlay",
    theme: "TransparentNavigationBar",
    product_specific: true,
}
+26 −0
Original line number Diff line number Diff line
<!--
/**
 * 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.
 */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.internal.systemui.navbar.transparent"
        android:versionCode="1"
        android:versionName="1.0">
    <overlay android:targetPackage="android"
        android:priority="1"/>

    <application android:label="@string/transparent_navigation_bar_title" android:hasCode="false"/>
</manifest>
 No newline at end of file
Loading