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

Commit 2c574049 authored by Vania Januar's avatar Vania Januar Committed by Android (Google) Code Review
Browse files

Merge "Add a runtime overlay for config_enableDefaultNotes" into udc-dev

parents 8e35c9eb 63c24532
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -56,6 +56,9 @@
    <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.role.notes.enabled">
        <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" />
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ LOCAL_REQUIRED_MODULES := \
	NavigationBarModeGesturalOverlayWideBack \
	NavigationBarModeGesturalOverlayExtraWideBack \
	TransparentNavigationBarOverlay \
	NotesRoleEnabledOverlay \
	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: "NotesRoleEnabledOverlay",
    theme: "NotesRoleEnabled",
    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.role.notes.enabled"
        android:versionCode="1"
        android:versionName="1.0">
    <overlay android:targetPackage="android"
        android:priority="1"/>

    <application android:label="@string/notes_role_enabled_overlay_title" android:hasCode="false"/>
</manifest>
 No newline at end of file
+28 −0
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>
    <!-- Whether the default notes role should be enabled. In builds without 
    device-specific overlays, this can be controlled in developer options. -->
     <bool name="config_enableDefaultNotes">true</bool>

    <!-- Whether the default notes role for work profile should be enabled. 
    In builds without device-specific overlays, this can be controlled in 
    developer options. -->
    <bool name="config_enableDefaultNotesForWorkProfile">true</bool>
</resources>
Loading