Commit Graph

43994 Commits

Author SHA1 Message Date
Felipe Leme
68acecff56 Final (?!?!?!?!) Directory Access improvements.
- Hide children items when parent is granted access (and vice versa).
- Added dividers in between volumes.

Test: manual verification
Test: atest CtsAppSecurityHostTestCases:ScopedDirectoryAccessTest#testResetDoNotAskAgain,testResetGranted

Bug: 72055774

Change-Id: Ie4ad117d1f8a53bf7dbf7747e768a301b0d03604
2018-03-30 13:10:53 -07:00
Lei Yu
97dd3c9aac Merge "Update the battery saver summary" into pi-dev 2018-03-30 20:01:50 +00:00
Lei Yu
227f056c8b Merge "Refine the update process of battery tip" into pi-dev 2018-03-30 19:56:46 +00:00
Lei Yu
a8d18b7819 Update the battery string.
Remove the extra new line.

Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: I48555c51ef49aabf1bfd98baa4682a21936bd48e
2018-03-30 12:19:31 -07:00
Victor Chang
78d61aff2d Merge "Remove dead code in time zone picker" into pi-dev
am: 93b5d0d3f0

Change-Id: Icc46d77ae3a4ba1d4f3ad2d5bcba0a1e0a3c289a
2018-03-30 19:17:47 +00:00
Lei Yu
7bbc11e87d Merge "Update battery strings" into pi-dev 2018-03-30 19:12:41 +00:00
Jyun LuoLai
b02f7f71a5 Merge "Modify AddDevicePreferenceController's constructor" into pi-dev
am: 11174d3ced

Change-Id: I28e2aeeda026f7a1268f512a4808bca9cf09e0a3
2018-03-30 19:02:21 +00:00
Pengquan Meng
89918e3209 Merge "Add apn data structure" into pi-dev
am: dbf8a678ae

Change-Id: Ib6f5840689a924b26468c88ef0e68d8e97195e76
2018-03-30 18:56:22 +00:00
Victor Chang
93b5d0d3f0 Merge "Remove dead code in time zone picker" into pi-dev 2018-03-30 18:35:52 +00:00
Lei Yu
dec7a719d1 Remove the obsolete bluetooth code
Also update the shortcut:
1. Change the name to "Devices"
2. Change it point to "Connected device" page

Bug: 74806595
Fixes: 69926683
Test: robo test still pass

Change-Id: Ic57756fc955dc622cc22d0be64f02b5ae07a2915
2018-03-30 11:24:26 -07:00
Fan Zhang
368c81e97b Remove networkScorer wrapper
Also modified NetworkScorerPickerPreferenceController to register itself
in xml directily

Bug: 76167422
Test: robotests
Change-Id: I4a216b5e6845aecd6aaeed0ed9b3e06c9e0fc590
2018-03-30 11:06:30 -07:00
TreeHugger Robot
11174d3ced Merge "Modify AddDevicePreferenceController's constructor" into pi-dev 2018-03-30 17:23:51 +00:00
Pengquan Meng
dbf8a678ae Merge "Add apn data structure" into pi-dev 2018-03-30 17:00:35 +00:00
Rubin Xu
d982a37476 Merge "Remove password blacklist check" into pi-dev
am: 48283ec44c

Change-Id: I443bf5991b0cd0f859c63c48589eca7e872b4a25
2018-03-30 13:50:19 +00:00
Rubin Xu
48283ec44c Merge "Remove password blacklist check" into pi-dev 2018-03-30 13:38:31 +00:00
Beverly
84b51371a9 Merge "Dnd 'blink light' option only if phone has LED" into pi-dev
am: efa1cde042

Change-Id: Ibf201c126141cea6fb84660e93450e8fc6f61c33
2018-03-30 13:27:52 +00:00
TreeHugger Robot
efa1cde042 Merge "Dnd 'blink light' option only if phone has LED" into pi-dev 2018-03-30 13:16:25 +00:00
Andreas Terzis
72bc4088f8 Top line should show "Primary data" for users with > 1 plans.
am: ca9bf3b7ed

Change-Id: I5b8590c3a3b76ffa58ca25f8ee6242aa8f1ba1a7
2018-03-30 08:21:57 +00:00
Andreas Terzis
ca9bf3b7ed Top line should show "Primary data" for users with > 1 plans.
When the platform receives data plan information and the
user has more than one data plans, the top line under
Settings -> Network & Internet -> Data Usage should read
"Primary data" instead of "Current data".

Bug: 77295381

Test: manual
Test: make RunSettingsRoboTests
Change-Id: Ia9d9d04919c28b163979c70f91eb7d72cdebcb89
2018-03-30 01:09:04 -07:00
Dieter Hsu
a52682fe2b Support AOD in the Universal Settings API
am: beb89c3545

Change-Id: Ia651c8ffa20b47671d1eb772bfc09d4a4137bb5d
2018-03-30 07:56:01 +00:00
ryanywlin
bca6f79026 Add callback onProfileAudioStateChanged()
Bug: 74134939
Test: Build
Change-Id: I2a7e837703b66e1798679c65afab7dc6572c295e
2018-03-30 06:23:28 +00:00
Salvador Martinez
8bc3fa0649 Update add network dialog to not make networks hidden by default
This CL updates the add network dialog to use the provided value
for the hidden state (from androids perspective) of the network. The
default selected value will always be not hidden and if the user
selects to mark it as hidden a warning will appear to inform the
user of the privacy implications.

Test: Robotests
Bug: 29003359
Change-Id: Ifd4511e4d0af6eb01f4e951c22a91fc560393e8d
2018-03-29 23:01:24 -07:00
Jyun LuoLai
e44b94c435 Modify AddDevicePreferenceController's constructor
For xml type controller, implements the constructor (Context, String)
would be better

Bug: 73960246
Test: Manual test & make RunSettingsRoboTests
Change-Id: I872a663947f14de5e83c596655b2ffb75f37f057
2018-03-30 14:00:03 +08:00
Dieter Hsu
beb89c3545 Support AOD in the Universal Settings API
Bug: 67997452
Test: make -j RunSettingsRoboTests
Change-Id: I609ac74f70bf040bd9033f421b4bb7c02bf33440
2018-03-30 13:20:56 +08:00
chenedward
912688756d Update wi-fi hotspot min length of summary to 2
Update wi-fi hotspot min length of summary to 2 to through preference api

Bug: 72746916
Test: make -j RunSettingsRoboTests
Change-Id: I8942df156a7f6c3ec8b6112014f72a3e56fdec4b
2018-03-30 12:21:39 +08:00
Julia Reynolds
98be07d793 Merge "Update channel DND setting" into pi-dev
am: e06a4abb5c

Change-Id: If31bb46ded7c9130dcd2d9df988d2163e054e0fe
2018-03-30 04:11:03 +00:00
TreeHugger Robot
e06a4abb5c Merge "Update channel DND setting" into pi-dev 2018-03-30 04:03:28 +00:00
Fan Zhang
f97264ce15 Merge "Remove wrapper for EUICCManager" into pi-dev
am: 2cb0425ded

Change-Id: Ic816024f725d4c32a7b82ae7fbaa2afeaa8b25ef
2018-03-30 03:28:11 +00:00
Fan Zhang
a166a70218 Merge "Register most app info related controllers in xml" into pi-dev
am: 4ae4cd5c8d

Change-Id: Ic4dedd363a3dd1ec8ad244d38f9831a0373f7cb2
2018-03-30 03:27:25 +00:00
TreeHugger Robot
2cb0425ded Merge "Remove wrapper for EUICCManager" into pi-dev 2018-03-30 03:21:37 +00:00
TreeHugger Robot
4ae4cd5c8d Merge "Register most app info related controllers in xml" into pi-dev 2018-03-30 03:17:45 +00:00
LexHuang
d6209750b4 Support Screen Rotate in the Universal Settings API
am: 78df73f00a

Change-Id: I0e657faf410974170aa6a282c01135e60c60b62e
2018-03-30 02:45:39 +00:00
LexHuang
78df73f00a Support Screen Rotate in the Universal Settings API
Change extend from AbstractPreferenceController to TogglePreferenceControllear

Bug: 67997439
Test: make RunSettingsRoboTests
Change-Id: I86e59d00384fb131f2f2b92186e8536324db2e1b
2018-03-30 02:32:36 +00:00
Doris Ling
2a9fe0e91d Merge "Increase touch target for suggestion close button." into pi-dev
am: d483041078

Change-Id: I89697a7b998f29b79d6dc6288d60fcead5908e72
2018-03-30 02:07:07 +00:00
TreeHugger Robot
d483041078 Merge "Increase touch target for suggestion close button." into pi-dev 2018-03-30 01:55:54 +00:00
Pengquan Meng
6eb14f01bb Add apn data structure
This add a data structure to store the apn data locally.

Test: unit test
Bug: 73745458
Bug: 67327863
Merged-In: Iae56583ab1c99f57154461c71a10b74db87ab1bd
Change-Id: Iae56583ab1c99f57154461c71a10b74db87ab1bd
(cherry picked from commit ee25956f57)
2018-03-30 01:39:43 +00:00
Lei Yu
0ae2cd68f2 Refine the update process of battery tip
1. When device is rotated, don't update the battery tip
2. When user go back to battery main page from other page, start
battery tip update process
3. In RestrictAppTip, if there aren't restricted apps anymore,
hide the tip.

Bug: 74467010
Test: RunSettingsRobotests

Change-Id: I300bcc5b487d587f6618e340ac074fe416dcc1b2
2018-03-29 17:59:58 -07:00
Fan Zhang
b5c651c939 Register most app info related controllers in xml
Bug: 77216595
Test: robotests
Change-Id: I79afa38820b7518d8b3112148802797ebcf6d184
2018-03-29 17:55:41 -07:00
Fan Zhang
4663e6e52a Merge changes I0fde4f80,Iea1cff48 into pi-dev
am: 0ae4204f54

Change-Id: I9f27d240ff5f4d2dcf0dbde6733730da294e9f4e
2018-03-30 00:54:21 +00:00
Fan Zhang
1a3ce22645 Remove wrapper for EUICCManager
Bug: 76167422
Test: robotests
Change-Id: I2a6687ffab780493fca7b2146cf73cbc7f634081
2018-03-29 17:52:04 -07:00
Fan Zhang
1b176e3332 Merge "Revert "Support AOD in the Universal Settings API"" into pi-dev
am: 9af6688a92

Change-Id: Ide6383302dd399a3c6eb1e1011fd88315bda948d
2018-03-29 23:58:03 +00:00
Doris Ling
39cd1d8f0d Increase touch target for suggestion close button.
- wrap the close button icon view in a bigger layout to increase the
overall touch area.

Fixes: 74220173
Test: manual

Change-Id: I45beadf3cfcc6ed1a8a16e6dcb9b8452e1edd78e
2018-03-29 16:56:47 -07:00
Doris Ling
7acf9a574b Merge "Fix visibility issue with fingerprint icon." into pi-dev
am: 108c5452b5

Change-Id: I2ef0e88b9599b2749e43dc1808d1e4c718c98adc
2018-03-29 23:52:26 +00:00
TreeHugger Robot
0ae4204f54 Merge changes I0fde4f80,Iea1cff48 into pi-dev
* changes:
  Update TimezoneInfoPrefController to register in xml
  Make FontSizePreferenceController slice compatible.
2018-03-29 23:49:22 +00:00
Julia Reynolds
11a9d03687 Merge "Fix 'show badge' for pre O apps" into pi-dev
am: d31c655a12

Change-Id: Icb08d133cc25653f8429b79d59529f1cce8e93b3
2018-03-29 23:48:17 +00:00
Jerry Zhang
6ebe1935b5 Merge "Explicity receive sticky usb intent" into pi-dev
am: ee283563c8

Change-Id: Idcf6eff8617cd3b088e8d58eee9c68e3bb2333de
2018-03-29 23:24:56 +00:00
TreeHugger Robot
9af6688a92 Merge "Revert "Support AOD in the Universal Settings API"" into pi-dev 2018-03-29 23:10:45 +00:00
TreeHugger Robot
108c5452b5 Merge "Fix visibility issue with fingerprint icon." into pi-dev 2018-03-29 23:07:24 +00:00
TreeHugger Robot
d31c655a12 Merge "Fix 'show badge' for pre O apps" into pi-dev 2018-03-29 23:06:26 +00:00
Beverly
ad3e422916 Dnd 'blink light' option only if phone has LED
Change-Id: Ifbc75128a9434f83839cd6b60405a03f88f4b3d3
Fixes: 77271775
Test: make ROBOTEST_FILTER=ZenModeVisEffectPreferenceControllerTest RunSettingsRoboTests -j40
2018-03-29 19:00:41 -04:00