Commit Graph

57359 Commits

Author SHA1 Message Date
govenliu
c45672be54 [Wi-Fi] Add multiple networks request case for adding Wi-Fi for apps feature.
Handle adding multiple networks case, add UI components and process saving flow.

Bug: 136472483
Test: Add unit test cases to test filterSavedNetworks API.
Change-Id: I222e2f8294793796e293de49acdb96ecd6a57b0d
2019-12-05 17:33:51 +08:00
lesl
ff012f03a8 Wifi Setting: Use SoftApConfiguration for Tether Setting
Bug: 145578449
Test: Manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
Change-Id: I02b4dcbb7b6e29b67ecc7356200f3fc3a1007562
2019-12-05 17:28:24 +08:00
Kevin Chang
92da08f7f2 Support accessibility shorcut secondary action (1/n)
Create a new preference that could let users enable accessibility
shortcut and choose which shortcut type they prefer to use.

This CL only contains preference layout and functions interfaces.
Functions implementation will be added in next CL.

Bug: 142530063
Test: Maunal, make RunSettingsRoboTests
Change-Id: I69e832638547cd3f38da2192f22c7e219bbcc018
2019-12-05 15:10:10 +08:00
Stanley Wang
25c5e3ce6c Add the item in Language page to dynamic index.
Add "Add a language" item to dynamic index.

Fixes: 145492913
Test: maunal & robotest
Change-Id: Ife3ee7c90eb6c81e4ce042db4cd585a0993fb5fe
2019-12-05 15:09:29 +08:00
PETER LIANG
617650b55e Merge "Support the rich content for accessibility service (1/n)" 2019-12-05 06:41:32 +00:00
Sunny Shao
fafcbd3ee2 Add a LiveDataController
Bug: 137558156
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core

Change-Id: I5c223fbeb83e3f51ddb154de4990c3e3428ba442
2019-12-05 13:59:34 +08:00
Howard Chen
60acb519c0 Show terms of service before install GSI/DSU
Test: settings->developer option->debug::DSU Loader
Bug: 144248769
Change-Id: Id5fa7f88544191736eb0c5db6334fd367c1be426
2019-12-05 13:29:53 +08:00
Bill Yi
af775fe8a2 Import translations. DO NOT MERGE
Change-Id: Id21722f52ed237b447e03cc6b4432ab69f498ace
Auto-generated-cl: translation import
2019-12-04 21:11:08 -08:00
Raff Tsai
99e1534bf6 Merge "Fix cannot see "see more" button in UI" am: 2dbc2db581 am: 1fdadc1125
am: ed870944d0

Change-Id: I4f1b7e4fb426397f43da8438d703b2ad860e7dbc
2019-12-04 20:30:30 -08:00
Raff Tsai
ed870944d0 Merge "Fix cannot see "see more" button in UI" am: 2dbc2db581
am: 1fdadc1125

Change-Id: I86c112f43556ca1dc345c0c36610a367a327bc18
2019-12-04 20:28:27 -08:00
Raff Tsai
1fdadc1125 Merge "Fix cannot see "see more" button in UI"
am: 2dbc2db581

Change-Id: I1ad3c46aa2e79aec39725a76d3033be848f79506
2019-12-04 20:26:34 -08:00
Treehugger Robot
2dbc2db581 Merge "Fix cannot see "see more" button in UI" 2019-12-05 04:17:42 +00:00
Ilya Matyukhin
1de3feb026 Fix "Skip lock screen" not working for secondary user
Bug: 140878309
Test: the option is not grayed out for secondary user.
Change-Id: I2413aa3c634e89a90d104e9ad60df15e49c75ed2
(cherry picked from commit e17caeea3f)
2019-12-05 04:11:49 +00:00
TreeHugger Robot
7b50a21247 Merge "Move the app to /system_ext" 2019-12-05 04:09:20 +00:00
TreeHugger Robot
b45b235c1c Merge "Fix videoPreference doesn't play after swipe out of screen" 2019-12-05 04:03:30 +00:00
Raff Tsai
619e235a06 Fix videoPreference doesn't play after swipe out of screen
- SurfaceView is destoryed but not mMediaPlayer.setSurface() again

Fixes: 145601503
Test: manual test
Change-Id: I23a0f3762a391174c6ddc98bdd220d6fa4047941
2019-12-05 04:01:46 +00:00
Tsung-Mao Fang
be6c79557a Merge "Always use local timezone for parsing date" into qt-qpr1-dev am: 1284d9de67
am: 3ebabb50f3

Change-Id: I44be408ef0958fbe7973894a90b378c666a74f59
2019-12-04 19:12:53 -08:00
Raff Tsai
28a6bcc729 Fix cannot see "see more" button in UI
Bug: 144546394
Test: Cts test
android.provider.cts.SettingsPanelTest#volumePanel_seeMoreButton_launchesIntoSettings

Change-Id: I786d62937e93abdaf96f89b03669302159d571a1
2019-12-05 11:09:49 +08:00
Automerger Merge Worker
3ebabb50f3 Merge "Always use local timezone for parsing date" into qt-qpr1-dev am: 1284d9de67
Change-Id: I949816a65e74fb6b9772906146684db8e4eb1dcd
2019-12-05 03:04:44 +00:00
TreeHugger Robot
1284d9de67 Merge "Always use local timezone for parsing date" into qt-qpr1-dev 2019-12-05 02:49:13 +00:00
Quang Luong
cf8856017f Add call to WifiEntry.connect() when tapping on WifiEntryPreference
Bug: 70983952
Test: manual - verifying saved network is connected to when preference
is tapped

Change-Id: Ieca38cfe0e457115c2e0bd832b987582073be7ce
2019-12-04 14:51:29 -08:00
Alex Lin
3844ba1259 Add country blacklist support
Adding a country blacklist, except for pixel2(walleye, taimen) will still uses whitelist
Bug: 144702079
Test: manually tested

Change-Id: Ic03abd0d2706b7bb9fdc56be7906411b731b186b
2019-12-04 14:00:18 -08:00
atrost
edd75ce519 Add descriptions to compat changes.
Capture the comment above a definition of a compat change and make it
the description.
Next: make sure existing changes use supported format (only /**
comments, only above the annotations), and use in developer UI.

Bug: 144927670
Test: treeHugger
Change-Id: I5f53517751762a637dc6fc0f220b83d84eb3a916
2019-12-04 19:19:57 +00:00
Automerger Merge Worker
131287c626 Merge "[Settings] Enable support on testing" am: 84a2951a33 am: fd3557954f
Change-Id: I943298e3312b800c019b2f98baf630dd45796e37
2019-12-04 17:26:19 +00:00
Sarah Chin
bf7ee4a861 Add NGRAN
Test: build
Bug: 143683654
Change-Id: I5aae9ea088d8a4625d9c8f6600f7d1bddc8fbf9c
Merged-In: I5aae9ea088d8a4625d9c8f6600f7d1bddc8fbf9c
2019-12-04 09:16:04 -08:00
Sarah Chin
6c515c313c Merge "Add NGRAN" 2019-12-04 17:10:03 +00:00
Bonian Chen
fd3557954f Merge "[Settings] Enable support on testing" am: 84a2951a33
am: 08dcb51c6c

Change-Id: I07d2017ef71d2ce17d4a414d26efff9894d93d63
2019-12-04 09:08:24 -08:00
Automerger Merge Worker
0cd9e22e6b Merge "Merge "Merge Android10 QPR1 into AOSP master" am: bd2174cda1 am: 944b8b330f" 2019-12-04 17:01:12 +00:00
Alex Johnston
dd5467b13b Merge "Replace setAutoTimeRequired and getAutoTimeRequired with setAutoTime and getAutoTime" 2019-12-04 16:59:19 +00:00
Automerger Merge Worker
0e4c11e416 Merge "Merge Android10 QPR1 into AOSP master" am: bd2174cda1 am: 944b8b330f
Change-Id: I8cd38765099d4e81689293ab48975e0be8f6ac3e
2019-12-04 16:57:42 +00:00
Xin Li
944b8b330f Merge "Merge Android10 QPR1 into AOSP master" am: bd2174cda1
am: f9b5a6bd07

Change-Id: I2e5b8ed863bf41ab88146acd780f95ba99aac271
2019-12-04 08:13:43 -08:00
Neil Fuller
df086ecb4f Switch settings to use TimeDetector
Switch settings to use TimeZoneDetector when setting the system time
zone rather than using AlarmManager directly.

Bug: 140712361
Test: treehugger
Test: manual
Test: make -j30 RunSettingsRoboTests
Change-Id: I6042093294ba9690d4355bfe1c47d9f88a2b7ac6
2019-12-04 13:43:58 +00:00
Bernardo Rufino
0888032b1c Merge "Add activity for MANAGE_APP_OVERLAY_PERMISSION intent in Settings" 2019-12-04 10:42:36 +00:00
Raff Tsai
83f7142df9 Navigate to work tab if start intent from work profile user
Fixes: 144909960
Test: adb shell am start --user 11 -a android.settings.SYNC_SETTINGS
should launch Settings account page and focus on WORK tab

Change-Id: If30f176b6d59cd32730b1bcbc6e9d8687d7bafd2
2019-12-04 17:58:57 +08:00
TreeHugger Robot
74e60b1010 Merge "Fix videoPreference is broken when switch to multiple window" 2019-12-04 09:37:25 +00:00
tim peng
2e308853c2 Merge "Add new HD audio preference controller for Bluetooth developer option" 2019-12-04 06:30:35 +00:00
timhypeng
bea3a6e6c8 Add new HD audio preference controller for Bluetooth developer option
- move HD audio switch from codec to upper layer

Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Ic9a3aa9666d2e105c762fec818c9a47383a6ecd2
2019-12-04 13:04:12 +08:00
TreeHugger Robot
60b7c23583 Merge "Navigate to personal/work tab based on intent extra" 2019-12-04 04:48:09 +00:00
Bonian Chen
08dcb51c6c Merge "[Settings] Enable support on testing"
am: 84a2951a33

Change-Id: Idcd4d1013ef5c0e8581f94d40ac1770dc26b38fc
2019-12-03 20:34:29 -08:00
Bonian Chen
84a2951a33 Merge "[Settings] Enable support on testing" 2019-12-04 04:32:58 +00:00
Howard Chen
d5f3a0ca75 Add a GSI/DSU Loader to the developer option.
The Generic System Image (GSI) is a pure Android implementation with unmodified
Android Open Source Project (AOSP) code. The Dynamic System Updates (DSU) is a
Android Q feature that can download a system image and boot into it without the
factory rom being corrupted. This CL adds a DSU Loader which is a friendly
front-end that offers developers the ability to boot into GSI with one-click.
The DSU loader also offers the flexibility to overwrite the default setting
and load OEMs owned images.

Bug: 140090894
Test: click settings->developer option->debug::DSU Loader
    make -j32 RunSettingsRoboTests
Change-Id: Ia2a1b69b52047dd841dedf7f07b07f7ad3e65d46
2019-12-04 12:30:01 +08:00
Raff Tsai
5314f2a51c Fix videoPreference is broken when switch to multiple window
Fixes: 117802997
Test: robolectric, switch between multiple window and single window.
The video should keep displaying.

Change-Id: I97b6a4516b2591b80d9a046809ce4090fb02c80f
2019-12-04 12:15:43 +08:00
Raff Tsai
910ea66615 Navigate to personal/work tab based on intent extra
Bug: 141601408
Test: Settings->Storage, click work tab, click Other apps. It should
navigate to Apps storage page and focus on WORK tab.
Change-Id: Ida91b279e771a2c7c960ce83b8e13310c87112e8
2019-12-04 11:42:23 +08:00
Ilya Matyukhin
e17caeea3f Fix "Skip lock screen" not working for secondary user
Bug: 140878309
Test: the option is not grayed out for secondary user.
Change-Id: I2413aa3c634e89a90d104e9ad60df15e49c75ed2
2019-12-04 00:35:27 +00:00
Sarah Chin
721084c310 Add NGRAN
Test: build
Bug: 143683654
Change-Id: I5aae9ea088d8a4625d9c8f6600f7d1bddc8fbf9c
2019-12-04 00:15:49 +00:00
Xin Li
f9b5a6bd07 Merge "Merge Android10 QPR1 into AOSP master"
am: bd2174cda1

Change-Id: Ia9a27e2d5b245f8e3b52b86e0a155fc40383c42e
2019-12-03 16:13:50 -08:00
Treehugger Robot
bd2174cda1 Merge "Merge Android10 QPR1 into AOSP master" 2019-12-03 23:14:56 +00:00
Quang Luong
810f7861f0 Merge "Use WifiPickerTracker to get connected WifiEntry" 2019-12-03 20:03:10 +00:00
Automerger Merge Worker
833c578b01 Battery saver mode should disable dark mode modification am: 5fb68ae95d
Change-Id: I9b4b1dace76a6194fafe27e624465c3c05823bb1
2019-12-03 19:34:32 +00:00
Jay Aliomer
5fb68ae95d Battery saver mode should disable dark mode modification
am: f4bc80c45c

Change-Id: Iff4cb52ba46e20bd012f95e9d29917f7952b4259
2019-12-03 09:47:41 -08:00