Merge changes from topic "hub-mode-settings" into tm-qpr-dev am: e722587923 am: 2287f6e2e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20736115 Change-Id: Ibf2d91b9655ae968442033234384a340ed3a8f81 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
20
res/xml/communal_settings.xml
Normal file
20
res/xml/communal_settings.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2022 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.
|
||||
-->
|
||||
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:key="communal_preference_screen"
|
||||
android:title="@string/communal_settings_title" />
|
||||
@@ -30,6 +30,16 @@
|
||||
settings:highlightableMenuKey="@string/menu_key_network"
|
||||
settings:controller="com.android.settings.network.TopLevelNetworkEntryPreferenceController"/>
|
||||
|
||||
<com.android.settings.widget.HomepagePreference
|
||||
android:fragment="com.android.settings.communal.CommunalDashboardFragment"
|
||||
android:icon="@drawable/ia_settings_communal"
|
||||
android:key="top_level_communal"
|
||||
android:order="-145"
|
||||
android:title="@string/communal_settings_title"
|
||||
android:summary="@string/communal_settings_summary"
|
||||
settings:highlightableMenuKey="@string/menu_key_communal"
|
||||
settings:controller="com.android.settings.communal.CommunalPreferenceController"/>
|
||||
|
||||
<com.android.settings.widget.HomepagePreference
|
||||
android:fragment="com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment"
|
||||
android:icon="@drawable/ic_devices_other"
|
||||
|
||||
Reference in New Issue
Block a user