Commit Graph

45297 Commits

Author SHA1 Message Date
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
Salvador Martinez
0ba2b2bd83 Make metered wifi controller resilient to null config
Apparently the wifi config can sometimes come back as null
initially when the device auto-connects to a network. This CL simply
makes the controller resilient to that so that it doesn't crash the
app.

Test: robotests
Bug: 73076869
Change-Id: I99098f35df9cd902f5f244a872cce9b71c17c224
2018-03-29 15:39:55 -07:00
TreeHugger Robot
ee283563c8 Merge "Explicity receive sticky usb intent" into pi-dev 2018-03-29 21:51:55 +00:00
Fan Zhang
65983f71d5 Update TimezoneInfoPrefController to register in xml
Test: robotest
Bug: 77216595
Change-Id: I0fde4f8058a8be156dddb620a756254cd85f6a9f
2018-03-29 14:38:44 -07:00
Eran Messeri
bf652ca551 Merge "Require unlocked work profile to change notification settings" into pi-dev am: 5506097efd
am: 04da30d21a

Change-Id: I4d1dacfe41db1f76576a49e829113837212871b1
2018-03-29 21:28:31 +00:00
Pengquan Meng
ee25956f57 Add apn data structure
This add a data structure to store the apn data locally.

Test: no test
Bug: 73745458
Bug: 67327863
Change-Id: Iae56583ab1c99f57154461c71a10b74db87ab1bd
2018-03-29 14:23:09 -07:00
Victor Chang
a7d9133461 Merge "Fix ZonePickerSettingsTest due to string change" into pi-dev am: 75f438cc37
am: 8995e8d9f6

Change-Id: I84aefcb56804a50693cbd44d776fecad28c550f6
2018-03-29 21:22:10 +00:00
Julia Reynolds
cb78269637 Update channel DND setting
... to reflect DND changes elsewhere in the system. Update the summary
and make the setting always available.

Test: make -j RunSettingsRoboTests
Change-Id: Ia51c349d863e1470e8a043293fa60f22632fa2df
Fixes: 76137346
2018-03-29 20:55:03 +00:00
Doris Ling
c925c8d534 Merge "Report unavailable data usage." into pi-dev am: a673f714c4
am: 4395decf14

Change-Id: I713f1fc8a1025087b8dfc775e45c63c0ff037c9c
2018-03-29 20:45:42 +00:00
Julia Reynolds
6f2450636a Fix 'show badge' for pre O apps
Test: make -j RunSettingsRoboTests
Change-Id: I20f6b38986afde0ca781329ffc24326601650a1f
Fixes: 69437269
2018-03-29 16:26:40 -04:00
Eran Messeri
04da30d21a Merge "Require unlocked work profile to change notification settings" into pi-dev
am: 5506097efd

Change-Id: I94b47ece9dccba04fcda28f7f02e86d19c0de1e1
2018-03-29 20:21:20 +00:00
Fan Zhang
f75edca09f Revert "Support AOD in the Universal Settings API"
This reverts commit 537c2cfc2c.

Fixes: 77278897

Change-Id: I7a5ff34bf79b87f6a7be50c2e8f421bfc4a22195
2018-03-29 20:20:31 +00:00
Eran Messeri
5506097efd Merge "Require unlocked work profile to change notification settings" into pi-dev 2018-03-29 20:17:18 +00:00
Victor Chang
8995e8d9f6 Merge "Fix ZonePickerSettingsTest due to string change" into pi-dev
am: 75f438cc37

Change-Id: Idaa83888a00597d581506bf7bc2aec7fdce2ff05
2018-03-29 20:15:08 +00:00
Doris Ling
4395decf14 Merge "Report unavailable data usage." into pi-dev
am: a673f714c4

Change-Id: I473eac43583caaa94093fabdfb6b588de290e36c
2018-03-29 20:14:04 +00:00
Doris Ling
92268fd640 Fix visibility issue with fingerprint icon.
- set icon tint color to control normal. The icon fill color is white,
and without the tint color set, it is invisible on a white background.

Change-Id: I9cda0e9105701230256620bd4ea904c96d7bc166
Fixes: 77151365
Test: visual
2018-03-29 13:08:09 -07:00
TreeHugger Robot
75f438cc37 Merge "Fix ZonePickerSettingsTest due to string change" into pi-dev 2018-03-29 20:01:26 +00:00
TreeHugger Robot
a673f714c4 Merge "Report unavailable data usage." into pi-dev 2018-03-29 19:57:44 +00:00
Jerry Zhang
0fa350eeaf Explicity receive sticky usb intent
Sticky intents are both returned by onReceive
and broadcast to the receiver. In some cases
though, the receiver could be unregistered
so quickly that it has no time to receive
it. When this happens the screen is not
refreshed, so explicity handle the intent
to ensure a refresh.

Fixes: 74255559
Test: screen refreshed property in multi-window
Change-Id: I2480dc35e28f98561ffed4b557f4bdaf83a73e9c
2018-03-29 12:55:23 -07:00
Daniel Nishi
2369ad39d8 Polish the About Phone page.
* Move the device name from the 3rd position to the 1st.
* Remove the ripple effect from phone number, IP address, MAC address,
and Bluetooth addresses.

Bug: 77220996
Test: Manual
Change-Id: I009847e751082df6b85d840d01c4c8ae7abd8e10
2018-03-29 12:54:46 -07:00
Fan Zhang
fc1590e901 Make FontSizePreferenceController slice compatible.
Bug: 67997826
Test: robotests
Change-Id: Iea1cff48f39e1433abea285309376876e8356c07
2018-03-29 12:33:13 -07:00
Fan Zhang
085ef3f60d Merge "Add some debug logging" into pi-dev am: f3789adffd
am: 0169765b4f

Change-Id: I59006ceb531f3096d04bc3e8ea9242707d0c9920
2018-03-29 19:12:45 +00:00
Daniel Nishi
b83e7a14a3 Merge "Don't allow a zero-length device name to work." into pi-dev am: 6ff8bbeb4a
am: 49058e92c7

Change-Id: I788a002a2d9432b7fb55146bbb9be3bba5ef82ed
2018-03-29 18:27:49 +00:00
Jeff Sharkey
70e4117cd1 Merge "Better public volumes handling on secondary users." into pi-dev am: bfc661ea3e
am: 978d2dd575

Change-Id: I17ef1a2163c3df258dd12a0f2c03e37c089c06e2
2018-03-29 18:16:40 +00:00
Fan Zhang
0169765b4f Merge "Add some debug logging" into pi-dev
am: f3789adffd

Change-Id: Iee699c9c5861e40fafb04a6b6edf6f68daedcd0c
2018-03-29 18:12:46 +00:00
Victor Chang
6366a3cc5d Fix ZonePickerSettingsTest due to string change
The change with id I1fb3e2abf80da3cb53cfbc3363bbe46e40a6ac22 broke the
test

Bug: 76209571
Test: atest SettingsUITests:ZonePickerSettingsTest
Change-Id: I6676e8669e1f396c9588e3096b62cc6aedcc38a9
2018-03-29 19:01:26 +01:00
Victor Chang
4da3a7b5a8 Remove dead code in time zone picker
The codes are unused due to the UX changes in b/73952488

Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime.timezone
Bug: 72376227
Change-Id: I9562e97fe13a3c00f8c142f30af7ca350af10757
2018-03-29 19:01:26 +01:00
TreeHugger Robot
f3789adffd Merge "Add some debug logging" into pi-dev 2018-03-29 17:59:40 +00:00
Fan Zhang
db139a6a44 Merge "Check time-spent-in-app intent must come from system app." into pi-dev am: 8e88874e47
am: 06a2555802

Change-Id: Ia28178fe8aa5b034bc988506dabb163352dfe3ff
2018-03-29 17:59:01 +00:00
Daniel Nishi
49058e92c7 Merge "Don't allow a zero-length device name to work." into pi-dev
am: 6ff8bbeb4a

Change-Id: Ic9e67a1a03b5ae2ac79326770c779e969849146e
2018-03-29 17:55:11 +00:00
Doris Ling
02b4cf2aca Report unavailable data usage.
- when showing the data usage graph, if the first data point is equal to
the first available data, insert a 0 usage point on the first day of
available data, so that it will show a flat line for the days that do
not have available data instead of showing a non-zero slope.

Change-Id: Ibf305e292a65ab3310ea12efbb575e3a7e1b6012
Fixes: 76155147
Test: make RunSettingsRoboTests
2018-03-29 10:54:54 -07:00
Jeff Sharkey
978d2dd575 Merge "Better public volumes handling on secondary users." into pi-dev
am: bfc661ea3e

Change-Id: I6bca0f8eb74f30251a4d06bd462b4590ee030d92
2018-03-29 17:45:08 +00:00
Daniel Nishi
6ff8bbeb4a Merge "Don't allow a zero-length device name to work." into pi-dev 2018-03-29 17:33:27 +00:00
Fan Zhang
06a2555802 Merge "Check time-spent-in-app intent must come from system app." into pi-dev
am: 8e88874e47

Change-Id: I4d4eb4d06d032e31d3e6dd1a0b2d3f0a866afb09
2018-03-29 17:22:29 +00:00
Jeff Sharkey
bfc661ea3e Merge "Better public volumes handling on secondary users." into pi-dev 2018-03-29 17:13:42 +00:00
yuemingw
3005660476 Merge "Disallow_airplane_mode should not disable mobile network." into pi-dev am: cc65760354
am: 59b7244dcc

Change-Id: Iff817627897dee78d0f54a0f571703a495e944e9
2018-03-29 17:05:11 +00:00
TreeHugger Robot
8e88874e47 Merge "Check time-spent-in-app intent must come from system app." into pi-dev 2018-03-29 16:55:30 +00:00
yuemingw
59b7244dcc Merge "Disallow_airplane_mode should not disable mobile network." into pi-dev
am: cc65760354

Change-Id: I13c39e2857bc58f6062a5d74ad3c4e672200a029
2018-03-29 16:53:38 +00:00
TreeHugger Robot
cc65760354 Merge "Disallow_airplane_mode should not disable mobile network." into pi-dev 2018-03-29 16:45:43 +00:00
Beverly
e711ea4afc Merge "Settings should use Oxford comma" into pi-dev am: 51646b5f07
am: 020117e9ba

Change-Id: I387368b20e038b9f2b920793b4b5e72064f27fd1
2018-03-29 16:32:07 +00:00
Rubin Xu
9d2edcbcbf Remove password blacklist check
Bug: 73750934
Test: compiles
Change-Id: Ic6c40255333d171dc55df479dd6c0004371551b7
2018-03-29 17:26:01 +01:00
Beverly
020117e9ba Merge "Settings should use Oxford comma" into pi-dev
am: 51646b5f07

Change-Id: I94ac135a10015933a2dc7e2d5d0b7d8f72b6b865
2018-03-29 16:09:50 +00:00
TreeHugger Robot
51646b5f07 Merge "Settings should use Oxford comma" into pi-dev 2018-03-29 15:41:21 +00:00
TreeHugger Robot
db29040d2a Merge "Import translations. DO NOT MERGE" 2018-03-29 15:11:32 +00:00
Eran Messeri
e0856e6d99 Require unlocked work profile to change notification settings
Require that the work profile be started and unlocked before the user
can change the notification settings for the work profile.

That prevents leaking of notifications from the work profile, which
could happen when the user set the work profile notifications to show
even if the profile was unlocked (an example scenario is a family member
of the user using the device while the work profile is locked).

Test: Manually with TestDPC
Bug: 75252682
Change-Id: I300d001b7439c0a1d0130d7dbc9ec4c2430be227
2018-03-29 14:54:53 +01:00
yuemingw
6e78482016 Disallow_airplane_mode should not disable mobile network.
Found mobile_network_settings preference is dependent on toggle_airplane
preference so once Disallow_airplane_mode is turned on,  toggle_airplane
preference will be set disabled, and mobile_network_settings preference
is also set disabled because of the dependence. Can fix this bug moving
the dependance and let MobileNetworkPreferenceController listen to
Settings.Global.AIRPLANE_MODE_ON.

Bug: 76468718
Test: manually but TestDpc
Change-Id: I137938766557d7bc5ae0795bc3359a6bfbae17e3
2018-03-29 14:34:33 +01:00
Beverly
bf4f4bf4ad Settings should use Oxford comma
Test: manual
Change-Id: Ie4edd64d423ce96ce097e91f9f5a31bb4339774c
Fixes: 77230158
2018-03-29 09:30:54 -04:00
Bill Yi
86c1bb347a Import translations. DO NOT MERGE
Change-Id: I424706ab77ce3c761a4114e569903958fdcedc99
Auto-generated-cl: translation import
2018-03-29 04:57:25 -07:00
Rubin Xu
53f59f9214 Merge "Confirm parent user's credential when setting lock for profile" into pi-dev am: b0a35de10b
am: 95970db0fa

Change-Id: Ieba5594887ba89afa43c56ae3991830fa1372270
2018-03-29 09:05:48 +00:00
Rubin Xu
95970db0fa Merge "Confirm parent user's credential when setting lock for profile" into pi-dev
am: b0a35de10b

Change-Id: I8df143549c8e4bb0e79350c8ee3d993a039f112f
2018-03-29 08:49:24 +00:00