Commit Graph

44048 Commits

Author SHA1 Message Date
Sundeep Ghuman
4166aa0757 Merge "Modify "Updated ..." text." into pi-dev
am: 119d95bae1

Change-Id: If1b339d684f14d76427a6830d0c5eb3d95a74488
2018-03-22 03:05:26 +00:00
TreeHugger Robot
119d95bae1 Merge "Modify "Updated ..." text." into pi-dev 2018-03-22 02:58:41 +00:00
Andreas Terzis
446cd9db73 Add back the data saver preference.
Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: Ia39cb62ec021ae568a76fed04776b5e531e63b36
2018-03-21 19:23:05 -07:00
wayneyang
77f5ad5c4a Fix "Send feedback about this device" option is missing issue.
When device restart & launching "Feedback" from lock screen,
the "send feedback" option will be missing. It's because
the report package cannot be found by calling from lock screen.
Update the option visibility after updatestate and add test case.

Bug: 74076963
Test: Manual test and RunSettingsRoboTests:FeedbackPreferenceControllerTest
Change-Id: I105d6f90da499423b6881f2ba808e69bd2e8595d
2018-03-22 09:56:28 +08:00
Bill Yi
21101618c6 [automerger skipped]Merge "Import translations. DO NOT MERGE" into pi-dev am: 4ed1ed2465 -s ours
am: 8773378779  -s ours

Change-Id: I3eff05cbd0a5c3836a6e66e0e989b26c33cca77b
2018-03-22 01:36:09 +00:00
Maurice Lam
3e3b8a9618 Make GLIF theme default for confirm lock screen
Use GLIF theme as the default for confirm lock screen, even for
"external" launches of the screen. Renamed the theme from "internal"
to "normal" to reflect this change.
Dark theme code will be cleaned up later.

Test: Existing tests pass
Bug: 62573742
Change-Id: I86958eb3a440d7274807f1cf453c3e53c16c23e7
2018-03-21 18:21:04 -07:00
Lei Yu
2246ea9e89 Add log for AnomalyDetectionJobService
When anomaly is detected, also log it in AnomalyDetectionJobService

Bug: 73888115
Test: RunSettingsRoboTests
Change-Id: I0a42f8935d9a83eb763dd1f9dedfb71301853104
2018-03-21 17:44:02 -07:00
Fan Zhang
fff15d57c2 use placeholder text for "turn on battery saver at x%" pref
Change-Id: I63f0994bbcb050473c21c606337accd63cfcc46c
Fixes: 74120099
Test: reindex search
2018-03-21 17:38:30 -07:00
Bill Yi
8773378779 [automerger skipped]Merge "Import translations. DO NOT MERGE" into pi-dev
am: 4ed1ed2465  -s ours

Change-Id: Ibd43f7f6411e36a18168e71561867fd570cce9bd
2018-03-22 00:30:37 +00:00
TreeHugger Robot
4ed1ed2465 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-03-22 00:23:30 +00:00
Rohan Shah
ff5bd33410 [QS] Add Settings intent filters for Data Usage
Add intent filters for the new, public DATA_USAGE_SETTINGS action.
SystemUI's Quick Settings are already hooked up to use this intent.

Test: Visually
Bug: 73586207
Change-Id: I8638c067f557765c505500a57a3cd7a6cd3fc40d
2018-03-21 17:16:39 -07:00
Lei Yu
44a327d2a1 Merge "Add string for adaptive brightness" into pi-dev am: 6cc043ba06
am: 6619f260db

Change-Id: I01708c4ea069c104d73e3a986b6cd8790289cfce
2018-03-22 00:07:37 +00:00
Fan Zhang
681c073fdb Fix crash when launching mobile data usage page via intent.
Need to parse parameters from Intent if argument is empty or has no
parameter.

Change-Id: I23af434e1be794036dc711b72e0d9afa8bd65aa6
Fixes: 74235734
Test: robotests
2018-03-21 16:58:23 -07:00
Makoto Onuki
5f3569b07b Merge "Implement new BS warning / notification flow (2/2)" into pi-dev am: d2c1b245fc
am: db71812bc3

Change-Id: I1a17b42feb14fa436e88a6d46f570a7001dbd945
2018-03-21 23:49:42 +00:00
Fan Zhang
dcaa636f29 Merge "Hide spannable link if it's not actionable" into pi-dev am: aebbd5b704
am: 51b76810f5

Change-Id: If5aefaaea5c9f38cc8d395ace3028885c8331436
2018-03-21 23:43:06 +00:00
Lei Yu
0861b33763 Merge "Add search index provider for bt page" into pi-dev am: 9492aa546d
am: bfc77e7106

Change-Id: Ia173dfe64eda2148e5d8d17f8708ab788b2c68e0
2018-03-21 23:33:39 +00:00
Salvador Martinez
69fb4439ed Merge "Update AP preference to not be master switch pref" into pi-dev am: 24c104a16e
am: 81c8c0d80e

Change-Id: I7b7940b4a14b342627e7e3aa623fed0aee9fdf95
2018-03-21 23:22:21 +00:00
Lei Yu
6619f260db Merge "Add string for adaptive brightness" into pi-dev
am: 6cc043ba06

Change-Id: I19ed4d100add055cf280d6c704c1e148a722f92e
2018-03-21 23:01:26 +00:00
Antony Sargent
483b1f98bf Fix renaming for Bluetooth devices when rotating to landscape
The bug here is that when renaming a Bluetooth device (either the local
adapter or a paired device), if you click on the text edit field of the
alert dialog and then rotate the screen, the text shown in the soft
input will disappear. Also it's a usability problem that you even needed
to click in the first place. This CL fixes both problems - now the soft
input will be shown immediately when the dialog comes up, and the
content doesn't disappear on rotation.

Change-Id: Id29d11c834bf98c01b5c1208159537a8fd36a64f
Fixes: 72551780
Test: make -j RunSettingsRoboTests
(cherry picked from commit 5a1587526b)
2018-03-21 22:52:46 +00:00
Shawn Ding
5939fd8360 Merge "Correct typo for "Redirect vibration"" into pi-dev am: 757b3d48e3
am: e80f1d0789

Change-Id: I2ff1aebad47bdb583d9142c8fe91444b6b070490
2018-03-21 22:52:20 +00:00
Makoto Onuki
db71812bc3 Merge "Implement new BS warning / notification flow (2/2)" into pi-dev
am: d2c1b245fc

Change-Id: I403368f2add65cc5a1a7bd4b1b2be3166a750464
2018-03-21 22:51:19 +00:00
Lei Yu
6cc043ba06 Merge "Add string for adaptive brightness" into pi-dev 2018-03-21 22:35:01 +00:00
Makoto Onuki
d2c1b245fc Merge "Implement new BS warning / notification flow (2/2)" into pi-dev 2018-03-21 22:32:33 +00:00
Lei Yu
37d29ee6a6 Only show restricted apps that belong to the user.
Filter out the restricted apps that not belong to the correct user, in
this way secondary user cannot see what apps been restricted by primary
user.

Bug: 74076658
Test: RunSettingsRoboTests
Change-Id: I8471f07be747c177f8611cdc1973a8420dc41296
2018-03-21 15:27:14 -07:00
Sundeep Ghuman
9bfbc3f1fd Modify "Updated ..." text.
Use d/h/m "narrow" time formatting with no period.

Change font style when update is "old."

Bug: 70950124
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=DataUsageSummaryPreferenceTest

Change-Id: I25902c98eb0fdf4dd2f64c3f5d668b5efdcdff0c
2018-03-21 15:24:43 -07:00
Fan Zhang
51b76810f5 Merge "Hide spannable link if it's not actionable" into pi-dev
am: aebbd5b704

Change-Id: Idc51212789748a1fcb1965a7bee376d915588fd4
2018-03-21 22:15:37 +00:00
Beverly
0de725fa83 Merge "Fingerprint enrollment vibrate unchanged by dnd" into pi-dev am: a2f2371224
am: 5ac189038a

Change-Id: I585f8fd7bcce2f103b65e88b03459c13acfe5b68
2018-03-21 22:15:33 +00:00
Jan Nordqvist
ba1c53455a Fix entity header to "Hide" shadow of app bar unless scrolled.
Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I3d23ac49365873361f23b0c7ab105f208d6a7ed7
2018-03-21 15:15:10 -07:00
Lei Yu
4c8c4b27fc Hide password for wifi tether
Add summaryPassword variable in ValidatedEditTextPreference. If it
is true, set the summary textview with password flag.

Bug: 65413204
Test: RunSettingsRoboTests
Change-Id: Ia0f1e3ab50e81d8f7f9fc0fb34b35c3041200a4e
2018-03-21 15:11:33 -07:00
Lei Yu
bfc77e7106 Merge "Add search index provider for bt page" into pi-dev
am: 9492aa546d

Change-Id: Ia06828d5c36f14cc419800bba15f376c3701b917
2018-03-21 22:08:24 +00:00
Salvador Martinez
81c8c0d80e Merge "Update AP preference to not be master switch pref" into pi-dev
am: 24c104a16e

Change-Id: I0e9389e086086dc511f6b702bf042fec55dbd534
2018-03-21 22:02:04 +00:00
TreeHugger Robot
aebbd5b704 Merge "Hide spannable link if it's not actionable" into pi-dev 2018-03-21 21:55:45 +00:00
Shawn Ding
e80f1d0789 Merge "Correct typo for "Redirect vibration"" into pi-dev
am: 757b3d48e3

Change-Id: I873cd92bd6fd2eeacf511dcba2a95a0548ea4033
2018-03-21 21:55:25 +00:00
Jan Nordqvist
bbf1743168 Merge "Only show mobile data usage information when mobile data is enabled." into pi-dev am: d17e849775
am: 8e3868e4fe

Change-Id: If32dafaf7d02bc18f9347513bac0aff68be0be06
2018-03-21 21:43:14 +00:00
Doris Ling
b21dcf67da Fix crash when pausing DndCondition.
- check whether the receiver is registered before trying to unregister
it.

Change-Id: Ia949f5a90b8866f01684dc2c7797e87d8dc7804e
Fixes: 74073233
Test: make RunSettingsRoboTests
2018-03-21 14:27:29 -07:00
Beverly
5ac189038a Merge "Fingerprint enrollment vibrate unchanged by dnd" into pi-dev
am: a2f2371224

Change-Id: I197a877a4a9a886b0238b7b43138fffda62d0563
2018-03-21 21:13:01 +00:00
Maurice Lam
e13e319e0c Separate skip and clear button in pattern screen
So that the action performed is always the same as what the button
label says.

Test: m -j RunSettingsRoboTests
Bug: 72197171
Change-Id: Ia2a02b630a86874d002e462e41fdf676c2d27203
2018-03-21 14:06:07 -07:00
Bill Yi
d12d5cac31 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6cc802e72ebf5753bf7441dc6c9232379d9e17f2
2018-03-21 14:03:26 -07:00
TreeHugger Robot
9492aa546d Merge "Add search index provider for bt page" into pi-dev 2018-03-21 20:48:41 +00:00
Lei Yu
38585cd4de Merge "Get anomalyType and autoRestriction from config" into pi-dev am: 940630bae1
am: ca5e641d0b

Change-Id: I43e8737adbcaa91069499b87ed65075e4c07cb1a
2018-03-21 20:40:35 +00:00
Lei Yu
0cc9a92665 Add string for adaptive brightness
Bug: 69795935
Test: Build
Change-Id: If99bd796711f3e77ef5e88533b3a6d683acc54e3
2018-03-21 13:00:15 -07:00
TreeHugger Robot
24c104a16e Merge "Update AP preference to not be master switch pref" into pi-dev 2018-03-21 19:52:05 +00:00
Jan Nordqvist
8e3868e4fe Merge "Only show mobile data usage information when mobile data is enabled." into pi-dev
am: d17e849775

Change-Id: Iaf0496e019eb62dbeca2b7eaacea1cbff744c6be
2018-03-21 19:39:15 +00:00
Lei Yu
ca5e641d0b Merge "Get anomalyType and autoRestriction from config" into pi-dev
am: 940630bae1

Change-Id: I7742c6b7892fee14f56439af88f9fdd7a07dcb80
2018-03-21 19:38:07 +00:00
Fan Zhang
1ee2a88fd7 Hide spannable link if it's not actionable
Created a new constructor that detects if intent is actionable and set a
flag in LinkInfo.

In fragments, first check if linkInfo is actionable, if not, don't do
anything with it.

Change-Id: Ibda12ecac2545d696acc7c197fc315e423b984aa
Fixes: 74726487
Test: make RunSettingsRoboTests -j
2018-03-21 12:37:34 -07:00
Julia Reynolds
15dfbbec06 Add a setting for the volume hush gesture
Bug: 75252670
Test: make -j20 RunSettingsRoboTests
Change-Id: I699aeec54eb516931b6d7c5b3fc864b169015c2f
2018-03-21 15:27:54 -04:00
Andrew Sapperstein
23fbc3acf9 Merge "Update material_deep_teal_500 to #008577." into pi-dev am: 3749a8d871
am: 4b6cdc6b04

Change-Id: Ie8d15a1efdd54a2b35c38391ee1860a832cd7cbb
2018-03-21 19:21:12 +00:00
Philip P. Moltmann
b88b260227 Merge "Recover print job ID from intent extras" into pi-dev am: 61e6b87e7d
am: 57a64606da

Change-Id: Id4ae32070d679616a52c02fadb9ce97ef9ae3fc1
2018-03-21 19:20:37 +00:00
Jyun LuoLai
6ae743f957 Merge "Modify connectivty related strings" into pi-dev am: 346a36cd2e
am: 73af1f3fb7

Change-Id: Ib8da644dc0c84ddb2d0133643de6325c0fbdc2c2
2018-03-21 19:20:10 +00:00
Fan Zhang
1f96cd453e Merge "Remove SettingsLaunchPerformance test" into pi-dev am: 10420706e6
am: 2049dbcb8a

Change-Id: If0227ec0cef584a784f636052131ffe066adae09
2018-03-21 19:19:42 +00:00