summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
AgeCommit message (Collapse)Author
2020-11-30Add PairNewBluetoothReceiver to launch Bluetooth pairing pagetimhypeng
-A new SystemUI dialog requires to launch Bluetooth pairing page -Add receiver in manifest Bug: 155822415 Test: build pass Merged-In: I16767af3afb05eab7246be133011bc9148909d11 Change-Id: I16767af3afb05eab7246be133011bc9148909d11
2020-11-27Add request manage credentials to SettingsAlex Johnston
Background * This is part of the work to support a credential management app on unmanaged devices. Changes * Add new activity to Settings to display a screen to the user requesting whether the calling app can manage their KeyChain credentials. * Display the authentication policy Manual Testing * Verify screen is not displayed if intent action is not android.security.MANAGE_CREDENTIALS * Verify screen is not displayed if authentication policy is not valid * Verify button panel is visible if all items in the authentication policy are displayed * Verify button panel is not visible if not all items in the authentication policy are displayed. Verify that scrolling to the bottom of the item list, the button panel becomes visible. Bug: 165641221 Test: Manual testing make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.security.RequestManageCredentialsTest Change-Id: Ie23b226f1a285b3de6ec3e91b8880d9144bb24a3
2020-11-24Revert^2 "Update the summary of AoD when Bedtime mode is on"Edgar Wang
Since Bedtime mode can suppress AoD, after reviewed by UX, we decide update the summary to "Unavailable because Bedtime mode is on" when AoD is suppressed by Bedtime mode. Bug: 168790245 Test: manual & robotest Change-Id: I96b401bcba213598344c4c4f01b12c275304b809 Merged-In: Id2511cb0ad93b44f6bf701a707b7ddef9438653d
2020-11-19Revert "Update the summary of AoD when Bedtime mode is on" am: cd4a35de8eYi-yo Chiang
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13082204 Change-Id: Ief1b70558800858ac67c0857e562740ae5d42142
2020-11-19Revert "Update the summary of AoD when Bedtime mode is on"Yi-yo Chiang
Revert "Update the summary of Idle lock screen when Bedtime mode..." Revert submission 13071396-cherrypick-cherrypick-bedtime-hpxwlbiuim-0q85x8kaar Reason for revert: Broken test b/173663404 Reverted Changes: Id2511cb0a:Update the summary of AoD when Bedtime mode is on I041599b9c:Update the summary of Idle lock screen when Bedtim... Bug: 173663404 Change-Id: I9bea7499393d3ab1733b82140942499dddd9a2aa Merged-In: I3b7053ad752f548f421dcca10cc1203500b1220b
2020-11-18Update the summary of AoD when Bedtime mode is on am: bca70dd22dEdgar Wang
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13071396 Change-Id: Iec1aab3948340fe7870a5960c6f0ddb4536c6c93
2020-11-18Initial setup for slot change receiver migrationJiashen Wang
Initial setup for migrating SlotChangehandler from LPA to Settings Bug: 160819212 Bug: 153811431 Test: Manually tested pSIM insertion and removal Change-Id: I3009182db4c6e1863dc9b619e21a17b1297743ed
2020-11-18Update the summary of AoD when Bedtime mode is onEdgar Wang
Since Bedtime mode can suppress AoD, after reviewed by UX, we decide update the summary to "Unavailable because Bedtime mode is on" when AoD is suppressed by Bedtime mode. Bug: 168790245 Test: manual & robotest Change-Id: Id2511cb0ad93b44f6bf701a707b7ddef9438653d Merged-In: Id2511cb0ad93b44f6bf701a707b7ddef9438653d
2020-11-12Update the summary of AoD when Bedtime mode is onEdgar Wang
Since Bedtime mode can suppress AoD, after reviewed by UX, we decide update the summary to "Unavailable because Bedtime mode is on" when AoD is suppressed by Bedtime mode. Bug: 168790245 Test: manual & robotest Change-Id: Id2511cb0ad93b44f6bf701a707b7ddef9438653d
2020-11-05Use system day/night to switch theme instead of from intent extra.pihuei
Use value-night to give theme instead of directly from intent extra when Setup day/nNight mode enabled and in Setup flow Before: <vision settings> https://hsv.googleplex.com/4837266235064320 <wifi dialog> https://hsv.googleplex.com/5687053981319168 <lock screen with disabling button> https://hsv.googleplex.com/4843506419892224 <lock screen with enabling button> https://hsv.googleplex.com/5650348922372096 <fingerprint intro> https://hsv.googleplex.com/5133769046491136 <fingerprint touch> https://hsv.googleplex.com/5681937198874624 <fingerprint left touch> https://hsv.googleplex.com/5767441676238848 <squeeze release> https://hsv.googleplex.com/6632476812247040 After: <vision settings> https://hsv.googleplex.com/6213298875793408 <wifi dialog> https://hsv.googleplex.com/6025790804197376 <lock screen with disabling button> https://hsv.googleplex.com/5747461219942400 <lock screen with enabling button> https://hsv.googleplex.com/5766700781797376 <fingerprint intro> https://hsv.googleplex.com/6751334529236992 <fingerprint touch> https://hsv.googleplex.com/5625963293442048 <fingerprint left touch> https://hsv.googleplex.com/4518139360444416 <squeeze release> https://hsv.googleplex.com/5220720579706880 Bug: 169734655 Test: robo test Change-Id: I4aab843e28a932c7b823f36f1d8df1e5b2341f4e
2020-10-21Add activity for directly navigating to Reduce Bright Colors settingSally
page This will be used by the QS tile Test: builds Bug: b/128465252 Change-Id: Icdc5d96f4f931b825fa0dd33a0ec20936d9ce4ea
2020-10-14Merge "Remove dup READ_PRIVILEGED_PHONE_STATE permission" am: 3eb10277da am: ↵Treehugger Robot
6d5943e6b8 am: bfc09343cd am: 2f3b18d91d Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1455948 Change-Id: I1d6dbebdbdcb573b400c781b990f54e0fd24f27c
2020-10-14Merge "Remove dup READ_PRIVILEGED_PHONE_STATE permission" am: 3eb10277da am: ↵Treehugger Robot
6d5943e6b8 am: bfc09343cd Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1455948 Change-Id: If24b7f4cd32244d6db62d6757760375a35357143
2020-10-12Remove dup READ_PRIVILEGED_PHONE_STATE permissionTaesu Lee
Test: build Signed-off-by: Taesu Lee <taesu82.lee@samsung.com> Change-Id: I877ac1631869e804a28a0f0d4c218ff1a8746dfd
2020-10-09Merge "[SIM Dialog Migration] Migrate eSIM erase dialog"Jiashen Wang
2020-10-08[SIM Dialog Migration] Migrate eSIM erase dialogJiashen Wang
Bug: 160819390 Test: Manually tested eSIM profile disabling. Design: https://docs.google.com/document/d/1wb5_hoBkZVbkXGNWHbx4Jf61swjfxsJzkytiTzJosYo/edit?usp=sharing Change-Id: I9523ee5dbab5b6a5ea020647a20992ac0b1aea86
2020-09-30[Settings] Refractor ApnSettings code to independent package folder.tom hsu
Bug: 169750507 Test: make RunSettingsRoboTests Change-Id: I8b2709ba8d16c625863d8a17abc3d0ab5d019bb8
2020-09-29Merge "Migrate SIM operation dialog from LPA to Settings"Jiashen Wang
2020-09-28Migrate SIM operation dialog from LPA to SettingsJiashen Wang
In Android R, when users enable, disable, delete, or rename a profile, Settings calls SubscriptionManager APIs which telephony ends up to send actions “TOGGLE_SUBSCRIPTION_PRIVILEGED”, “DELETE_SUBSCRIPTION_PRIVILEGED”, and “RENAME_SUBSCRIPTION_PRIVILEGED” to EuiccManager. After EuiccUiDispatcher dispatches the action, Google LPA receives it and starts the corresponding operations and DSDS dialogs. We can see there some back-and-forth that goes on between LPA and telephony. In order to improve the current structure, we devided to move the dialogs to Settings and make it call EuiccManager APIs directly. Bug: 160819390 Test: Manually tested eSIM profile disabling. Design: https://docs.google.com/document/d/1wb5_hoBkZVbkXGNWHbx4Jf61swjfxsJzkytiTzJosYo/edit?usp=sharing Change-Id: Ib933df42ca3606de2310edc4d64c3e11800a1096
2020-09-25[adbwifi] wireless debugging qstile long-press to WirelessDebuggingFragment.Joshua Duong
Previously, long-pressing any developer options quick settings tiles redirects to the application info page for Settings app. The manifest change makes the long-press by default, go into the developer options page. Also, there's a check if the long-press came from the wireless debugging tile so it can launch the WirelessDebuggingFragment. Bug: 153275926 Test: Enable the wireless debugging qstile in developer options. Then long-press the wireless debugging tile, which should direct you to the WirelessDebuggingFragment. Also, enable any other qstile and long-press them. It should direct you to the developer options page instead of the application info page. Change-Id: Id495e5c978005c21d0f33b949d7c410100bf3cf5
2020-09-24[adbwifi] wireless debugging qstile long-press to WirelessDebuggingFragment.Joshua Duong
Previously, long-pressing any developer options quick settings tiles redirects to the application info page for Settings app. The manifest change makes the long-press by default, go into the developer options page. Also, there's a check if the long-press came from the wireless debugging tile so it can launch the WirelessDebuggingFragment. Bug: 153275926 Test: Enable the wireless debugging qstile in developer options. Then long-press the wireless debugging tile, which should direct you to the WirelessDebuggingFragment. Also, enable any other qstile and long-press them. It should direct you to the developer options page instead of the application info page. Change-Id: Id495e5c978005c21d0f33b949d7c410100bf3cf5
2020-09-22Fix the ANR in panel when changing volume continuouslyJason Chiu
When users open volume panel and keep on changing the volume slider for a while, the panel starts to defer the slider updating, and finally gets stuck and causes an ANR. Root cause: Volume panel has four volume adjusting slices. Each of them registers a broadcast receiver to listen to the volume changed and muted events. However, when the media volume changes, AudioManager will send four broadcasts (music, assistant, accessibility, tts) to every receiver, and each of them will reload slice four times. Thus, one media volume changed event will lead to 16 (4*4) UI updates. Consequently, keeping on sliding the volume bar will trigger hundreds of broadcasts and UI updates, which makes the system busy and getting stuck. Solution: Introduce a VolumeSliceHelper to integrate the broadcasts of the volume slices specifically. 1. Only register one broadcast receiver to reduce the broadcast loading since the four slices are listening to the same signal. 2. Filter the only one eligible broadcast among the multiple concurrent ones, and then relay it to the registered slice. 3. Listen to one more action STREAM_DEVICES_CHANGED_ACTION to update the volume panel when audio output device changes. Test: robotest, visual Fixes: 144134209 Fixes: 160489394 Change-Id: I780b9eee35802b19a5f0ab0a7d07bd3e081f5556 Merged-In: I780b9eee35802b19a5f0ab0a7d07bd3e081f5556 (cherry picked from commit 2c7b77dad7f669d3568ea5ae95d6efcb86d53e90)
2020-09-18Merge "Create NetworkProviderSettings for provider model"TreeHugger Robot
2020-09-15Merge "Fix the ANR in panel when changing volume continuously"TreeHugger Robot
2020-09-10Create NetworkProviderSettings for provider modelArc Wang
Provider model is a feature which improves networks Settings UX. NetworkProviderSettings is the fragment which allow users to choose a mobile network or a Wi-Fi network to connect. At this change, NetworkProviderSettings is a clone of WifiSettings, mobile networks will be integrated at later CLs. Bug: 167474581 Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.network.NetworkProviderSettingsTest Change-Id: I185639a8f2469e9ec76ad18b6c2bc2e8a4d079e3
2020-09-08Add PairNewBluetoothReceiver to launch Bluetooth pairing pagetimhypeng
-A new SystemUI dialog requires to launch Bluetooth pairing page -Add receiver in manifest Bug: 155822415 Test: build pass Change-Id: I16767af3afb05eab7246be133011bc9148909d11
2020-09-03Fix the ANR in panel when changing volume continuouslyJason Chiu
When users open volume panel and keep on changing the volume slider for a while, the panel starts to defer the slider updating, and finally gets stuck and causes an ANR. Root cause: Volume panel has four volume adjusting slices. Each of them registers a broadcast receiver to listen to the volume changed and muted events. However, when the media volume changes, AudioManager will send four broadcasts (music, assistant, accessibility, tts) to every receiver, and each of them will reload slice four times. Thus, one media volume changed event will lead to 16 (4*4) UI updates. Consequently, keeping on sliding the volume bar will trigger hundreds of broadcasts and UI updates, which makes the system busy and getting stuck. Solution: Introduce a VolumeSliceHelper to integrate the broadcasts of the volume slices specifically. 1. Only register one broadcast receiver to reduce the broadcast loading since the four slices are listening to the same signal. 2. Filter the only one eligible broadcast among the multiple concurrent ones, and then relay it to the registered slice. 3. Listen to one more action STREAM_DEVICES_CHANGED_ACTION to update the volume panel when audio output device changes. Test: robotest, visual Bug: 144134209 Bug: 160489394 Change-Id: I780b9eee35802b19a5f0ab0a7d07bd3e081f5556
2020-07-21Merge "Revert "Initial setup for slot change receiver migration""Bonian Chen
2020-07-21Revert "Initial setup for slot change receiver migration"Bonian Chen
This reverts commit 838aa43cc098f7655c1a684df2ebafebe10d64f6. Reason for revert: Pressed wrong button accidentally. Change-Id: I24a9c5e37b471092ecee67a1b6d541cc4ad82360
2020-07-21Merge "Initial setup for slot change receiver migration"Bonian Chen
2020-07-15Revert "Rename ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL"Sean Stout
This reverts commit 44eecb7375e8109d30d3aba50a724172bf19817c. Reason for revert: The name has been reverted back to ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL Change-Id: Ic13f665061b9fc58afeca4a57809248cc1a00743 Bug: 161298021
2020-07-13Initial setup for slot change receiver migrationJiashen Wang
Initial setup for migrating SlotChangehandler from LPA to Settings Bug: 160819212 Bug: 153811431 Test: Manually tested on Pixel 4 to make sure SlotChangeReceiver can get slot change events correctly. Change-Id: Id95f2db875ba08250f4740536742627500b74f0d
2020-06-30Fix AlertActivity child objects dark theme problemArc Wang
In Settings, AlertActivity child objects use the theme which is not compatible with dark theme. Use @*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight to fix dark theme problem. Bug: 157961813 Test: manual visual Change-Id: I49decbd51a4346c65c9b40dbe056687337b4b385
2020-06-24Add an exported flag in manifestAshwini Oruganti
With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for future versions. This change adds the value reflecting the previous default to the manifest. These changes were made using an automated tool, the xml file may be reformatted slightly creating a larger diff. The only "real" change is the addition of "android:exported" to activities, services, and receivers that have one or more intent-filters. Bug: 150232615 Test: TH Exempt-From-Owner-Approval: mechanical refactoring Change-Id: I04fa7747287e6284d574b5d0f7c3a8a86889946c
2020-06-20Add toggle for media resumptionBeth Thibodeau
Adds a toggle under Settings > Sound > Media to toggle media resumption Bug: 154039093 Test: manual Test: atest SettingsProviderTest Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER="MediaControls" Change-Id: I803c57031bc3252cab35c06ea124d1c22a3c3aeb
2020-06-18[DO NOT MERGE] Add toggle for media resumptionBeth Thibodeau
Adds a toggle under Settings > Sound > Media to toggle media resumption Bug: 154039093 Test: manual Test: atest SettingsProviderTest Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER="MediaControls" Change-Id: I803c57031bc3252cab35c06ea124d1c22a3c3aeb
2020-06-18Merge "Workaround for Recent app icon disappear" into rvc-devTreeHugger Robot
2020-06-17Merge "Allows IndicatorView to have a different size than Settings Activity" ↵Mehdi Alizadeh
into rvc-dev am: b50512b69a am: eab293354a am: 4d896e3da8 am: 296b9dcbe3 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11835166 Change-Id: Ia1e671d00528170aad8b960ed3704fb25e407900
2020-06-16Merge "Add "Show taps" to development quick settings."TreeHugger Robot
2020-06-16Workaround for Recent app icon disappearSunny Shao
- Use the ic_home_xxxx.xml to replace the original icon. Bug: 157623047 Test: manual review Change-Id: Iffd084cac6a0a40d13d9fd1a8944ef957db450c6 Merged-In: I7a78ba47a0383a5e4c65bd461a15a8425beb1acb
2020-06-16Workaround for Recent app icon disappearSunny Shao
- Use the ic_home_xxxx.xml to replace the original icon. Bug: 157623047 Test: manual review Change-Id: I7a78ba47a0383a5e4c65bd461a15a8425beb1acb
2020-06-15Add "Show taps" to development quick settings.Chris Ye
Add "Show taps" tile to development quick setting to allow developers to quickly turn it on/off. Bug: 151812916 Test: Settings->System->Developer options->Quick settings developer tiles->Show taps. Change-Id: I8bea76dfa6be6970feadb371a4f36b9b4f326251
2020-06-15Allows IndicatorView to have a different size than Settings ActivityMehdi Alizadeh
The transparent IndicatorView need to be immersive fullscreen, while the underneath activity should not cover the status bar or the nav bar. Bug: 157747505 Test: Manual test to verify status bar and nav bar are visible. Change-Id: I6d5a3f53dd3768524700c3e33135fa7dfde839f1
2020-06-09Apply BLUETOOTH_ADMIN permission for BluetoothDeviceDetailActivityRobert Luo
Bug: 156696236 Test: 1. Manual 2. make -j42 RunSettingsRoboTests Change-Id: Icbc5879301fec9a7deacd7ee2896fd41b6feab7a Merged-In: Icbc5879301fec9a7deacd7ee2896fd41b6feab7a
2020-06-09Apply BLUETOOTH_ADMIN permission for BluetoothDeviceDetailActivityRobert Luo
Bug: 156696236 Test: 1. Manual 2. make -j42 RunSettingsRoboTests Change-Id: Icbc5879301fec9a7deacd7ee2896fd41b6feab7a
2020-06-03Merge "Add entry point for conversation settings" into rvc-dev am: ↵Julia Reynolds
613e3c4065 am: 62814ac56f am: 9d22d9582b am: 6cb3469fb2 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11707398 Change-Id: I6e73f7e7f6e8a91d69f9aac14ba3b7b6af6c19b0
2020-06-02Add entry point for conversation settingsJulia Reynolds
Test: manually launch to this screen Bug: 155490513 Change-Id: I2f88ef6dc05f04249f516b60680a55d1f26841f1
2020-05-26Merge "Change AppPicker theme from dialog to full screen" into rvc-dev am: ↵Edgar Wang
f3ad1ec7b7 am: e72f014903 am: 335ee91cae am: f446e34b15 Change-Id: I6977bca28cabda92f6c984fe54627c6c67d60652
2020-05-26Change AppPicker theme from dialog to full screenEdgar Wang
AppPicker used in devceloper options, it will show apps list with package name in a dialog. But sometimes it will mis-alignment with package name. So we change theme from dialog to full screen and set widget_frame visibility to GONE. Bug: 151150544 Test: manual Change-Id: I8f04ab7967288801e5e13ecccf037d6ed09ec71c
2020-05-20Add an exported flag in manifestAshwini Oruganti
With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for S+. This change adds the value reflecting the previous default to the manifest. These changes were made using an automated tool, the xml file may be reformatted slightly creating a larger diff. The only "real" change is the addition of "android:exported" to activities, services, and receivers that have one or more intent-filters. Bug: 150232615 Test: TH Exempt-From-Owner-Approval: mechanical refactoring Change-Id: I878adb9108c95f06ddd059b23a542b61210edfa4