Commit Graph

29001 Commits

Author SHA1 Message Date
tim peng
e655695690 Merge "Add bit per sample preference for Bluetooth developer option" 2019-12-09 05:12:12 +00:00
PO HUNG CHEN
1ff95c6ef0 Merge "Show terms of service before install GSI/DSU" 2019-12-09 03:41:00 +00:00
PO HUNG CHEN
7f244d5163 Merge "Add a GSI/DSU Loader to the developer option." 2019-12-09 03:36:46 +00:00
timhypeng
19f0230520 Add bit per sample preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Idaf9be96f4e48acf46cbf53ae7f7d100db002c7c
2019-12-09 11:27:10 +08:00
tim peng
d100099ecc Merge "Add codec dialog preference for Bluetooth developer option" 2019-12-09 03:21:47 +00:00
TreeHugger Robot
f5ea10b76e Merge "Add a LiveDataController" 2019-12-09 03:03:47 +00:00
timhypeng
2e5dabf88b Add codec dialog preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I27966cedf915b66e6ce1e4ece2fd854dc21a2841
2019-12-06 15:37:14 +08:00
Stanley Wang
98c64c4086 Merge "Add the item in Language page to dynamic index." 2019-12-06 06:20:48 +00:00
TreeHugger Robot
cdcef1f50c Merge "Wifi Setting: Use SoftApConfiguration for Tether Setting" 2019-12-06 03:29:52 +00:00
Goven Liu
6226188c47 Merge "[Wi-Fi] Add multiple networks request case for adding Wi-Fi for apps feature." 2019-12-06 02:33:25 +00:00
Kevin Chang
5a71dd4411 Merge "Support accessibility shorcut secondary action (1/n)" 2019-12-06 01:52:28 +00:00
Alex Lin
d3d2af130b Merge "Add country blacklist support" 2019-12-05 23:37:05 +00:00
Quang Luong
7719c8e3d8 Merge "Add call to WifiEntry.connect() when tapping on WifiEntryPreference" 2019-12-05 21:03:47 +00:00
Neil Fuller
dc2058e931 Merge "Switch settings to use TimeDetector" am: 5da6521458 am: 72ed7e8f64
am: 5f1c405f30

Change-Id: Iaf7c3fb33f57ada39a8baef016fbc838f633be14
2019-12-05 09:17:42 -08:00
Neil Fuller
5f1c405f30 Merge "Switch settings to use TimeDetector" am: 5da6521458
am: 72ed7e8f64

Change-Id: Ia2f12a24835f83136c9400641992348b69f40270
2019-12-05 09:15:16 -08:00
Neil Fuller
5da6521458 Merge "Switch settings to use TimeDetector" 2019-12-05 17:05:05 +00:00
TreeHugger Robot
1c405e3581 Merge "Fixed the roboletric test failed" 2019-12-05 14:37:17 +00:00
TreeHugger Robot
7090a805b8 Merge "Navigate to work tab if start intent from work profile user" 2019-12-05 13:37:16 +00:00
Sunny Shao
e966714a9b Fixed the roboletric test failed
Fixes: 145730755
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core
Change-Id: Ie60985cdf6802e8723c68e5e1f2104965f0d440b
2019-12-05 21:33:34 +08:00
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
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
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
Sarah Chin
6c515c313c Merge "Add NGRAN" 2019-12-04 17:10:03 +00:00
Alex Johnston
dd5467b13b Merge "Replace setAutoTimeRequired and getAutoTimeRequired with setAutoTime and getAutoTime" 2019-12-04 16:59:19 +00: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
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
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