Commit Graph

4180 Commits

Author SHA1 Message Date
Lei Yu
2eb69b56ed Merge "Only show restricted apps that belong to the user." into pi-dev am: 5464549257
am: ad1549b54d

Change-Id: I34c2fc249d821521c6ce9333e9b9815a51c373cd
2018-03-22 04:42:34 +00:00
TreeHugger Robot
5464549257 Merge "Only show restricted apps that belong to the user." into pi-dev 2018-03-22 04:31:38 +00:00
WAYNE YANG
a3ede6d515 Merge "Fix "Send feedback about this device" option is missing issue." into pi-dev am: 2d230e1431
am: 800a8dcb9a

Change-Id: I51118fe1fa87de71f63ace8aede0deb077b68ac3
2018-03-22 04:14:26 +00:00
WAYNE YANG
2d230e1431 Merge "Fix "Send feedback about this device" option is missing issue." into pi-dev 2018-03-22 03:56:41 +00:00
Sundeep Ghuman
372a7996fd Merge "Modify "Updated ..." text." into pi-dev am: 119d95bae1
am: 4166aa0757

Change-Id: Ied53957deefc6ffb7e5cfb363c2a8ff7ffbd14d4
2018-03-22 03:11:57 +00:00
TreeHugger Robot
119d95bae1 Merge "Modify "Updated ..." text." into pi-dev 2018-03-22 02:58:41 +00: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
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
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
TreeHugger Robot
aebbd5b704 Merge "Hide spannable link if it's not actionable" into pi-dev 2018-03-21 21:55:45 +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
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
TreeHugger Robot
24c104a16e Merge "Update AP preference to not be master switch pref" into pi-dev 2018-03-21 19:52:05 +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
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
TreeHugger Robot
d17e849775 Merge "Only show mobile data usage information when mobile data is enabled." into pi-dev 2018-03-21 18:29:21 +00:00
TreeHugger Robot
940630bae1 Merge "Get anomalyType and autoRestriction from config" into pi-dev 2018-03-21 17:46:50 +00:00
Lei Yu
687964cf28 Add search index provider for bt page
1. Implement the search index provider for
ConnectedDeviceDashboardFragment.
2. Since in SEARCH_INDEX_DATA_PROVIDER fragment is null,
so we need to pass in context to all components
instead of getting it from fragment.
3. Update test for it as well as creating new shadow.

Change-Id: If0aa67d5b6ca207c6b728c8355581bf414577091
Fixes: 69333961
Test: RunSettingsRoboTests
2018-03-21 10:46:02 -07:00
Salvador Martinez
6ddc4b4996 Update AP preference to not be master switch pref
People keep getting confused by the master switch preference for
wireless tethering. The wireless tethering page already has a switch
so this just removes it from the preference and has it take you to
the page when tapped on instead.

Bug: 69423941
Test: robotests
Change-Id: I66d6d3271e83b49ae77f203e7892438d27f96025
2018-03-21 10:36:56 -07:00
TreeHugger Robot
10bf42df11 Merge "Fix renaming for Bluetooth devices when rotating to landscape" 2018-03-21 17:30:23 +00:00
TreeHugger Robot
346a36cd2e Merge "Modify connectivty related strings" into pi-dev 2018-03-21 17:14:20 +00:00
Jan Nordqvist
19375adb5a Only show mobile data usage information when mobile data is enabled.
Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I4eb774120cbcf50f40d22c7c8c3caeb0eacbbed3
2018-03-21 09:13:02 -07:00
Matthew Fritze
527be21e9b Merge "Index SliceType and Official Platform flag" into pi-dev am: f663d78436
am: 467b47be5f

Change-Id: I34e60b72206616d4c569869ac8416972aa30c5ce
2018-03-21 04:33:12 +00:00
Makoto Onuki
3b4cd7410b Merge "Remove battery saver toggle from the Battery screen" into pi-dev am: 83c8451266
am: 2ef1dcafa5

Change-Id: I776a51b5918991f7825b588cbbaf74d31c712d4d
2018-03-21 04:20:40 +00:00
Lei Yu
2d6cddb172 Merge "Add log for battery tip action." into pi-dev am: 09ed2f2596
am: 291a640420

Change-Id: I44961a0446549c799a9852b97e8d1a36589b742f
2018-03-21 01:21:36 +00:00
Tony Mak
1b8ee6f122 Merge "Fix user id is not used correctly when fetching app info" into pi-dev am: ea43e8285e
am: e33a04e278

Change-Id: I5ff962974f3131724b5d486747b532d037fefc67
2018-03-21 00:53:18 +00:00
Lei Yu
baf8a0cf9e Get anomalyType and autoRestriction from config
Now the westworld config provides COOKIES to store private info
for each alert(anomaly). So we could use it to store:
1. AnomalyType: what is the type of anomaly
2. AutoRestriction: whether to auto restrict this anomaly

Bug: 74567790
Test: RunSettingsRoboTests
Change-Id: I15f5e225a4cb1f2da3fe109e56e5222816d179cc
2018-03-20 17:50:44 -07:00
Salvador Martinez
457f75a139 Merge "Update metered string" into pi-dev am: f9dade022c
am: b07afe0538

Change-Id: I23f628dd65088a01a980f2ba278945e1bf92e903
2018-03-21 00:05:45 +00:00
Antony Sargent
5a1587526b 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
2018-03-20 16:33:26 -07:00
TreeHugger Robot
f663d78436 Merge "Index SliceType and Official Platform flag" into pi-dev 2018-03-20 23:31:03 +00:00
Antoan Angelov
92cc5fa977 Merge "Show "Doesn't support work profiles" text in Settings for launchers not supporting work profiles." into pi-dev am: 1bc98edc15
am: 2465019035

Change-Id: Ia7f4d752de8ceabac2379975b235ba21e046f415
2018-03-20 23:22:40 +00:00
Qingxi Li
e08fdbe27b Merge "UI Tweak for eSIM related" into pi-dev am: 2a6b9ff315
am: c3d81ef8ab

Change-Id: Id80cd9d315dd63fb7bcd4bdd44798675de1d9595
2018-03-20 23:22:13 +00:00
TreeHugger Robot
83c8451266 Merge "Remove battery saver toggle from the Battery screen" into pi-dev 2018-03-20 23:21:17 +00:00
Makoto Onuki
f310f7e300 Remove battery saver toggle from the Battery screen
- Also fix bug where the summary doesn't show up until the battery saver state
changes.

Bug: 74120126
Fix: 74400918
Test: manual
Test: b ROBOTEST_FILTER=BatterySaverControllerTest RunSettingsRoboTests
Change-Id: I03ceb8ee2a8d8c33da7ad220148ecc9553911661
2018-03-20 14:33:32 -07:00
TreeHugger Robot
09ed2f2596 Merge "Add log for battery tip action." into pi-dev 2018-03-20 21:11:41 +00:00
Andrew Sapperstein
54762c6ff7 Merge "Remove LinearColorBar and replace uses with ProgressBar." into pi-dev am: a3970d4e52
am: e95d9f34f7

Change-Id: Ie0059b9872248cfbef864e2baa137133989d1f36
2018-03-20 20:28:44 +00:00
TreeHugger Robot
ea43e8285e Merge "Fix user id is not used correctly when fetching app info" into pi-dev 2018-03-20 20:24:17 +00:00
TreeHugger Robot
f9dade022c Merge "Update metered string" into pi-dev 2018-03-20 20:05:07 +00:00
Antoan Angelov
1bc98edc15 Merge "Show "Doesn't support work profiles" text in Settings for launchers not supporting work profiles." into pi-dev 2018-03-20 19:33:17 +00:00
TreeHugger Robot
2a6b9ff315 Merge "UI Tweak for eSIM related" into pi-dev 2018-03-20 19:24:59 +00:00
Salvador Martinez
aea566d44e Update metered string
This CL updates the metered network string to say
'detect automatically' instead of 'network preference'

Bug: 68030417
Test: rototest, visual inspection
Change-Id: I347e3b89b014d7ec0d5d0e6601f2813a3a96f5ab
2018-03-20 10:55:00 -07:00
TreeHugger Robot
a3970d4e52 Merge "Remove LinearColorBar and replace uses with ProgressBar." into pi-dev 2018-03-20 17:11:51 +00:00
arangelov
2c9d620091 Show "Doesn't support work profiles" text in Settings for launchers not
supporting work profiles.

Screenshot: https://screenshot.googleplex.com/iz3xoeSvbOA.png

Test: Manually go to Settings -> Apps & notifications -> Default apps -> Home app.
Test: make ROBOTEST_FILTER=RadioButtonPreferenceTest -j40 RunSettingsRoboTests
Bug: 69297461
Change-Id: I55c721d7ad979c882bb879a974758cf08eaf0c86
2018-03-20 16:56:36 +00:00
Andreas Terzis
f0ab2102e8 Merge "In Data Usage screen, hide data bar if plan is unlimited" into pi-dev am: 91ea3c5e56
am: b32915a9a7

Change-Id: I4ba38734eed324bcb25329d5303ff83032a3ab44
2018-03-20 08:34:15 +00:00
Lei Yu
cbbe4a337f Merge "Add summary for battery manager preference" into pi-dev am: 06d5188a71
am: fca54d8788

Change-Id: I1bcdf59eefafeca6b63689a8bb68add13f11d962
2018-03-20 08:33:21 +00:00
Lei Yu
f687bc9b99 Merge "Update string for battery seekbar" into pi-dev am: 8916df573d
am: b5d38cc5f9

Change-Id: I4d631531c96e1afca80edca0779a02a5aa3e20fe
2018-03-20 08:32:40 +00:00