Commit Graph

4214 Commits

Author SHA1 Message Date
Jerry Chang
8ff7abbb31 New settings preference to swipe bottom for notification
Add new gesture toggle at:
Settings > System > Gesture > Swipe for notification

Bug: 154080211
Test: manual check Settings > System > Gesture > Swipe for notifications
Test: manual check it is disabled after One-handed mode toggled on
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
"SwipeBottomToNotificationSettingsTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
"SwipeBottomToNotificationPreferenceControllerTest"

Change-Id: Iec18dfd323981ae7489d142b79c6035f3499eb91
2020-07-03 19:05:42 +08:00
Stanley Wang
fdb6ff079c Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da am: ca05c7fabd am: 4ff2999126
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261

Change-Id: I35c7c18c370db76bd1d82f319003cb164d9b7246
2020-06-30 11:10:44 +00:00
Stanley Wang
db0687c447 Remove the prefix "Model:" from the summary of hardware.
Fixes: 159529327
Test: run robotest and observe the UI
Change-Id: I60f4a341b427e4b619a202a440f3f2554c562a27
2020-06-30 16:45:47 +08:00
Beth Thibodeau
59cbd11c04 Add toggle for media resumption
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-20 00:12:23 +00:00
Beth Thibodeau
43834d78ff [DO NOT MERGE] Add toggle for media resumption am: 13f3e8f04b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11826883

Change-Id: Ib4fffb001ffe58da7e0a9ed759dc75c475b3ae8a
2020-06-19 22:40:24 +00:00
TreeHugger Robot
3e032c93b5 Merge "Update notification subtext" into rvc-dev am: 141153e789 am: 385e9be34f am: 73ebf35f81 am: 399e5e3d7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11920342

Change-Id: I2309a23cb2c461d5893571ef63561888ec14afcb
2020-06-19 02:04:33 +00:00
Beth Thibodeau
13f3e8f04b [DO NOT MERGE] Add toggle for media resumption
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 23:58:34 +00:00
Alex Mang
4368da2e23 Merge "Add flag to allow NAS to indicate adjustments on notifications and solicit feedback." 2020-06-18 20:38:06 +00:00
Julia Reynolds
03a42fd844 Update notification subtext
Test: atest
Fixes: 159274325
Change-Id: Iff98b4b056bf7a3c6386063d6588a26607ee7525
2020-06-18 16:25:38 -04:00
Automerger Merge Worker
f880829325 Merge "Merge "Add Smooth Display option to developer in Settings" into rvc-dev am: f9a021511e am: 156d912ce2" into rvc-d1-dev-plus-aosp am: efa8cb6206 am: 2a33b85f57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11544217

Change-Id: I5f66d25e41a8c484f65861109482b0c9e56b249c
2020-06-15 09:34:17 +00:00
Amy Hsu
f9a021511e Merge "Add Smooth Display option to developer in Settings" into rvc-dev 2020-06-15 08:39:26 +00:00
Arc Wang
3370cc5991 [Wi-Fi] Fix exception when clicking About phone -> Wi-Fi MAC address
From android R, SavedAccessPointsWifiSettings2 is added for WifiTrackerLib,
SavedAccessPointsWifiSettings is deprecated.

From android S, SavedAccessPointsWifiSettings is removed, About phone ->
Wi-Fi MAC address should open SavedAccessPointsWifiSettings2 instead of
SavedAccessPointsWifiSettings.

Bug: 158172263
Test: manual
      Click About phone -> Wi-Fi MAC address and see SavedAccessPointsWifiSettings2 .
Change-Id: Ic51f0c4f955e7c7c4a26ddea57923b7c17e6d534
2020-06-14 20:48:21 +08:00
TreeHugger Robot
0b487874ee Merge "Add extra summary string in cross profiles page" into rvc-dev am: debe9b3577 am: 4b8c7528f3 am: 713049c75b am: 64a69f266d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11789922

Change-Id: I62c294ef3b38e4d8ad35f959ba9f2a4532450ad8
2020-06-09 10:09:34 +00:00
TreeHugger Robot
3c7b07d04b Merge "Add new description to Permission manager in settings" into rvc-dev am: c628df6914 am: a0c05f2651 am: aa860a901a am: e933d12ca9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11797825

Change-Id: I6af3c681dc0c2f95c79c18ebcb2634b2b2c7a91e
2020-06-09 10:08:32 +00:00
TreeHugger Robot
debe9b3577 Merge "Add extra summary string in cross profiles page" into rvc-dev 2020-06-09 09:16:51 +00:00
Nate Myren
a1933458c5 Add new description to Permission manager in settings
Fixes: 158125093
Test: Navigate to "Permission manager" in settings (both in privacy, and
in apps & notifications), and verify the summary says "control app
access to your data".

Change-Id: I43f7f38dde119bad96ec9d30a43129e7cacf752a
2020-06-08 13:43:47 -07:00
Kholoud Mohamed
8fc0a24bc2 Add extra summary string in cross profiles page
Fixes: 158227594
Test: manual testing
Change-Id: Idd44c690c2a77503173e733a49bc59c1717cbdd5
2020-06-08 16:03:58 +01:00
Amy Hsu
b35b78b3b6 Add Smooth Display option to developer in Settings
Force to the highest refresh rate.

Bug: 137064289
Test:$ adb root
$ adb shell "echo 1 > /d/tracing/events/sde/enable"
$ adb shell "echo 1 > /d/tracing/tracing_on"
$ adb shell "cat /d/tracing/trace_pipe" | grep FPS

Change-Id: Ia1f804cbc7e297a85591e6b0f293ca1014301b74
2020-06-06 02:14:20 +08:00
Jason Chang
56f3771523 Merge "Define One-Handed search keywords for better search experience" 2020-06-05 05:10:14 +00:00
TreeHugger Robot
37d38b9846 Merge "Removes magnification enable preference" 2020-06-05 03:51:53 +00:00
TreeHugger Robot
2094922263 Merge "Add keywords for a few settings" into rvc-dev am: c9db73b808 am: cafdf2d230 am: 778d34c98b am: 34662b739f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11708193

Change-Id: Ifa3d5d021c28979d567aba1fd62cdceea02f0f8f
2020-06-04 23:56:10 +00:00
TreeHugger Robot
c9db73b808 Merge "Add keywords for a few settings" into rvc-dev 2020-06-04 22:56:08 +00:00
Jason Chang
5cb698c352 Define One-Handed search keywords for better search experience
Add some better search keywords on On-Haned gesture settings page.

Bug: 150927688

Test: manual
Change-Id: Iecf21852016157ceea9fb43d1f2a63dfd50dc4bb
2020-06-04 19:06:30 +08:00
Tsung-Mao Fang
6b73e0fc97 Add keywords for a few settings
Test: Rebuilt apk, and see the results in settings search.
Fix: 157978733
Change-Id: Ib02adf8b3fd11b619246a2bd050801b9fa5ec7d3
2020-06-04 17:16:23 +08:00
mincheli
8af733e95d Removes magnification enable preference
Magnification enable preference is obsoleted and should be removed
because magnification button is applied in system UI recently.

Bug: 146473544
Test: make RunSettingsRoboTests
Change-Id: I24542cdfa68eec2cc0c9fb1a633b3ccdd3f9546d
2020-06-04 05:53:24 +00:00
TreeHugger Robot
3257a4448c Merge "Add cross profile apps entry in the privacy screen" into rvc-dev am: 4bb32b6c58 am: 221f9b4c11 am: 0d6dcbb507 am: 56001a89de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11710365

Change-Id: I17314de42a730b2c902abf2a9791b8c5bdcee3e0
2020-06-03 18:15:57 +00:00
Kholoud Mohamed
04b2ab2065 Add cross profile apps entry in the privacy screen
Test: manual testing
Bug: 146318770
Change-Id: Id30a2f4cf40cc5c83e4d4d2544ac6696366fc44a
2020-06-03 15:46:35 +01:00
TreeHugger Robot
d22f3e00b5 Merge "Add a setting for allowing overlays on Settings app" into rvc-dev am: 8ab31819e0 am: b05ab42331 am: 0ee853f913 am: dca77b296a
Original change: undetermined

Change-Id: I3facd684220dc4de38c9bbe4f86a1e584b84f74e
2020-06-02 07:53:09 +00:00
Tsung-Mao Fang
f6841ef548 Add a setting for allowing overlays on Settings app
In the past, we allowed non system overlays on user-debug rom.
Acoording to the user-debug guildline, we should not have differnt
behavior between the user build and user debug rom.

To maintain the consistency between user and user debug rom,
We're creating a new developer setting for allowing non-system overlay on
Settings. By default, we don't allow any non-system app overlays on
Settings app unless user turns it on explictly.

Test: Run robotest. Turn on setting, see the overlays on Settings.
Turn off setting, do not see the overlays on Settings.
Fix: 144989059

Change-Id: I87f00a2eda91de003c6e542e7ec45a066f46fbf7
2020-06-02 12:32:43 +08:00
TreeHugger Robot
f1fbba45d3 Merge "Improve multi user functionality for restricted users" into rvc-dev 2020-06-01 15:29:34 +00:00
Julia Reynolds
8dd2ffb334 Merge "Only show Bubbles link for messaging apps" into rvc-dev am: 73b6bfc1e8 am: 9be31ce9ef am: 16444e9a70 am: 21b2d1d714
Change-Id: Iad84a70f650ac477ec3fd07e1449fb17471f4eeb
2020-05-31 19:52:58 +00:00
Julia Reynolds
3d613bb6c9 Only show Bubbles link for messaging apps
Apps that have sent at least one valid conversation

Test: manual, atest
Fixes: 156033178
Change-Id: If4fff6810f2e390ba0ad0f7587b8d8c2d5819c93
2020-05-29 14:51:06 -04:00
Andras Kloczl
106431e525 Improve multi user functionality for restricted users
- Restricted users can change their name
- Improved App&Content access screen
- Remove "Turn on phone calls" from restricted user detail page

Doc: http://shortn/_Prb3SJ3xJ3
Bug: 142798722
Test: Run robo tests with this command:
  make -j64 RunSettingsRoboTests
Change-Id: I2aadf32aef52ba5ad0db7aa0cd83bac9d9941589
(cherry picked from commit f4759e00d5)
2020-05-29 12:55:18 +00:00
András Klöczl
5d770a8ae3 Merge "Improve multi user functionality for restricted users" 2020-05-29 12:54:35 +00:00
Andras Kloczl
f4759e00d5 Improve multi user functionality for restricted users
- Restricted users can change their name
- Improved App&Content access screen
- Remove "Turn on phone calls" from restricted user detail page

Doc: http://shortn/_Prb3SJ3xJ3
Bug: 142798722
Test: Run robo tests with this command:
  make -j64 RunSettingsRoboTests
Change-Id: I2aadf32aef52ba5ad0db7aa0cd83bac9d9941589
2020-05-29 11:45:28 +01:00
TreeHugger Robot
1035b0abb3 Merge "Enable the filterTouchesWhenObscured in Special app access" into rvc-dev am: 01338915d8 am: d078f8e326 am: da614c603f am: b5a0ab2830
Change-Id: I18ff2d91405edbb430f22401f2e1e992786c62f8
2020-05-28 03:57:56 +00:00
TreeHugger Robot
01338915d8 Merge "Enable the filterTouchesWhenObscured in Special app access" into rvc-dev 2020-05-28 02:58:23 +00:00
TreeHugger Robot
8dec5e1cd9 Merge "Remove duplicate search result when search "Bubbles"" into rvc-dev am: 86b5034215 am: db857cb4f3 am: 204407ac5f am: e61ea3a7a0
Change-Id: I8f16e2f3ef3dc5f265360f5a4839fbaecb5fbc63
2020-05-27 20:30:11 +00:00
Edgar Wang
2ee4df2af5 Remove duplicate search result when search "Bubbles"
Bug: 155846034
Test: manual
Change-Id: I08333a6af9354ef5af3e7f3c20aaeb5c2e2453e2
2020-05-28 01:31:05 +08:00
Sunny Shao
ee4ec4b33f Enable the filterTouchesWhenObscured in Special app access
- Enable the filterTouchesWhenObscured attribute on all toggle
  switches in all pages of the special app access

Fixes: 155288585
Test: make RunSettingsRoboTests
Change-Id: I011cfe4b7e4e624a8338332ac47a353f7f3ab661
2020-05-27 17:21:24 +08:00
Edgar Wang
753be1b154 Merge "Remove duplicate search result when search "autofill service"" into rvc-dev am: ec156b7035 am: abb40380b9 am: ec41b86270 am: 5cf1dfdc85
Change-Id: Ibf8bdea55b1e48b67727f3767d5fb839b20462d0
2020-05-26 10:24:10 +00:00
Edgar Wang
46f060370c Remove duplicate search result when search "autofill service"
There is another autofill service for work profile.
Make this preference unsearchable to avoid duplicate result.

Bug: 155838971
Test: manual
Change-Id: I7f614ead1c0f898964775c03e81f1102583b04dc
2020-05-26 14:08:22 +08:00
Amy Hsu
048eb1b00a Merge "Move PeakRefreshRateController to Settings app" into rvc-dev am: a75dddbf9f am: f18ab3712b am: e67e058f26 am: 5e8ba70140
Change-Id: If073b3d860cbc53ac62548e7e211c512dfe42d0a
2020-05-20 09:18:48 +00:00
Amy Hsu
a75dddbf9f Merge "Move PeakRefreshRateController to Settings app" into rvc-dev 2020-05-20 08:48:56 +00:00
Amy Hsu
7730d301b7 Move PeakRefreshRateController to Settings app
1. 60/90 Hz switch
2. Allow DeviceConfig to change default refresh rate

bug: 139869828
bug: 137064289
bug: 132750102

Test: Check refresh rate is expected.
Change-Id: Ia6a3e3717fd8845c7177e55b70bc6d2d952d58f3
2020-05-19 21:45:33 +08:00
TreeHugger Robot
05cc1e7076 Merge "[Wi-Fi] Remove all files in com.android.settings.wifi.savedaccesspoints" 2020-05-19 07:56:37 +00:00
TreeHugger Robot
33dd883848 Merge "[Wi-Fi] Expose AP Band outside of the Advanced section" into rvc-dev am: 62b9032b8c am: 69e12a0f05 am: 3f3673f79e am: 4ee6e5c70d
Change-Id: I53a13acfa707a87d60283debd4851706d23e27c6
2020-05-18 07:22:33 +00:00
TreeHugger Robot
62b9032b8c Merge "[Wi-Fi] Expose AP Band outside of the Advanced section" into rvc-dev 2020-05-18 06:13:35 +00:00
TreeHugger Robot
f1ee760bc6 Merge "Remove duplicate search result when search "Calls" and "Messages"." into rvc-dev am: 1a420ce0cf am: 61b8d3ea22 am: c660858a0f am: 9c0e1a88b0
Change-Id: I907c98bc6e9affb9d4a17a7bd34b0a952424deda
2020-05-18 06:09:07 +00:00
Arc Wang
8c1c52f134 Merge "[Wi-Fi] Replace WifiTracker with WifiPickerTracker in WifiSettings" 2020-05-18 05:58:33 +00:00