Commit Graph

14650 Commits

Author SHA1 Message Date
HJ ChangLiao
5621641c41 Wake notifications to TogglePreferenceController
Convert Wake for new notifications to TogglePreferenceController
Because Slice controller only support Constructor(context)
Move other parameter to setAmbientDisplayConfiguration

Change-Id: I01042b84217ad9592fece966374140dffaf813e4
Fixes:67997460
Test: make RunSettingsRoboTests -j
2018-03-31 03:13:41 +00:00
Shaotang Li
aab7756f08 Use colorPrimary for EntityHeader's background.
Bug: 76219670
Test: check color from screen manually.
Change-Id: If13d5cbd2bd7db1c6d9c9f840281601ab78ba267
2018-03-31 11:09:30 +08:00
Fan Zhang
0dda026432 Merge "Update wi-fi hotspot min length of summary to 2" into pi-dev
am: 8608f6b000

Change-Id: Ia36e6e4c02d2b7b8bf0dda508a2547b3b286800d
2018-03-31 02:55:01 +00:00
Bill Yi
ca9e5c682a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7d6f7e4fa935eb00c198e0ad018faa42ec7dee05
2018-03-30 19:48:05 -07:00
TreeHugger Robot
ef440bd313 Merge "Update screen pinning instructions for QuickStep." into pi-dev 2018-03-31 02:21:15 +00:00
Salvador Martinez
e36aafd230 Merge "Update add network dialog to not make networks hidden by default" into pi-dev
am: 9dc3f74ccf

Change-Id: I463adc8f49a2707d4db3c7ff6a2c9fc6f7b6d2bd
2018-03-31 02:10:50 +00:00
Fan Zhang
8608f6b000 Merge "Update wi-fi hotspot min length of summary to 2" into pi-dev 2018-03-31 00:45:49 +00:00
Lei Yu
824bd92a16 Merge "Update battery strings" into pi-dev am: 7bbc11e87d
am: ab4ebab76c

Change-Id: Ic7bd7ff889bf921cdf3123d5df7a73795f3b734a
2018-03-31 00:21:58 +00:00
Tracy Zhou
7bc31e9c21 Update screen pinning instructions for QuickStep.
Change-Id: I786c7a1f4dd5d13d0ea69abe5c56f565a5bb16ae
Fixes: 76317335
Test: N/A
2018-03-30 17:06:02 -07:00
Daniel Nishi
45a587441f Merge "Polish the About Phone page." into pi-dev
am: e645558049

Change-Id: I05a7128ca22960baa8ce19585441864f1d4d8a36
2018-03-30 23:56:52 +00:00
Pengquan Meng
f39ef85653 Fixed ApnEditor issue
The mainly changed:
1. Will not insert invalid apn data to database.
2. Clicking back button will save the APN data to database if the data is valid.

Test: make ROBOTEST_FILTER=ApnEditorTest -j40 RunSettingsRoboTests
Bug: 73745458
Bug: 67327863
Change-Id: Ie2c147cae03ad78d43c351e05add761b2dffac0c
2018-03-30 16:43:56 -07:00
Lei Yu
a5a338dff6 Merge "Remove the obsolete bluetooth code" into pi-dev
am: fa150fca3c

Change-Id: Ie9af21c4f4fcd31466334ba745d0f9e7c75356e5
2018-03-30 23:19:52 +00:00
Fan Zhang
0cad854925 Merge "Remove networkScorer wrapper" into pi-dev
am: 272d3b5096

Change-Id: I37beaa5483ad24cc3c27b4bc73eb26f129fa77bf
2018-03-30 23:18:37 +00:00
Lei Yu
5b8c6c39e9 Merge "Update the battery saver summary" into pi-dev
am: 97dd3c9aac

Change-Id: I9773a5c7fafcad6bbb840949a88f8341812222d1
2018-03-30 23:17:40 +00:00
Lei Yu
ab4ebab76c Merge "Update battery strings" into pi-dev
am: 7bbc11e87d

Change-Id: Iaf0055a9082e3e13314107a290e2bddc0329d2dd
2018-03-30 22:46:42 +00:00
Salvador Martinez
9dc3f74ccf Merge "Update add network dialog to not make networks hidden by default" into pi-dev 2018-03-30 22:22:59 +00:00
Salvador Martinez
2f5292454b Update auto wi-fi to prompt user for permissions
This CL makes it so that auto wi-fi will correctly prompt users
to enable the correct permissions before allowing them to turn
on the setting. Additionally it provides users with important
information regarding each setting.

Bug: 67070896
Test: Robotests
Change-Id: Ieddfa421be6e45ce69f3d6048ae051a7e3ce4c76
2018-03-30 15:05:18 -07:00
Victor Chang
34e0883317 Merge "Remove dead code in time zone picker" into pi-dev am: 93b5d0d3f0
am: 78d61aff2d

Change-Id: I567b56244cee9c72fe6bf17b0a2db4c14d4d244e
2018-03-30 21:40:51 +00:00
Daniel Nishi
e645558049 Merge "Polish the About Phone page." into pi-dev 2018-03-30 20:24:58 +00:00
Lei Yu
fa150fca3c Merge "Remove the obsolete bluetooth code" into pi-dev 2018-03-30 20:24:01 +00:00
Lei Yu
d4482339d5 Update job ids in Settings
Use constant integers instead of ids

Bug: 77331929
Test: RunSettingsRoboTests
Change-Id: Ic6def54aaae4a9ba025161340f1cee210cb2e87f
2018-03-30 13:20:53 -07:00
TreeHugger Robot
272d3b5096 Merge "Remove networkScorer wrapper" into pi-dev 2018-03-30 20:16:06 +00:00
Lei Yu
97dd3c9aac Merge "Update the battery saver summary" into pi-dev 2018-03-30 20:01:50 +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
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
Andreas Terzis
9b6736181c Top line should show "Primary data" for users with > 1 plans. am: ca9bf3b7ed
am: 72bc4088f8

Change-Id: Iea4a2696eac87ac3160cf74e87c5b76142609245
2018-03-30 08:27:07 +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
1967396c09 Support AOD in the Universal Settings API am: beb89c3545
am: a52682fe2b

Change-Id: I1a26d7aef5238ee532bedf24aaf26ff9d2d6d0b8
2018-03-30 08:01:29 +00:00
Dieter Hsu
a52682fe2b Support AOD in the Universal Settings API
am: beb89c3545

Change-Id: Ia651c8ffa20b47671d1eb772bfc09d4a4137bb5d
2018-03-30 07:56:01 +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
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
d3c75d8e37 Merge "Update channel DND setting" into pi-dev am: e06a4abb5c
am: 98be07d793

Change-Id: Iba9f10aa37541d29fa83c817dd728c588f55f352
2018-03-30 04:16:40 +00: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
de57e7d195 Merge "Register most app info related controllers in xml" into pi-dev am: 4ae4cd5c8d
am: a166a70218

Change-Id: Id5bbbd56766fa3daa6f942834accb2708c88b7f9
2018-03-30 03:35:55 +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
LexHuang
cb82c2d6db Support Screen Rotate in the Universal Settings API am: 78df73f00a
am: d6209750b4

Change-Id: If605a7eb94e8ded5879dac96eda0f5c1a16b57a3
2018-03-30 03:25:51 +00:00
Doris Ling
cb521bdd39 Merge "Increase touch target for suggestion close button." into pi-dev am: d483041078
am: 2a9fe0e91d

Change-Id: I6d1ee50345ae45ab48162b017197e1556621fcaa
2018-03-30 03:21:18 +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
Fan Zhang
ffb6e93128 Merge changes I0fde4f80,Iea1cff48 into pi-dev am: 0ae4204f54
am: 4663e6e52a

Change-Id: I4cff256a0707543d8fd782ba7b3889c5d181ddff
2018-03-30 02:26:45 +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