Commit Graph

43233 Commits

Author SHA1 Message Date
TreeHugger Robot
6949175423 Merge "Update fuelguage to use uid in AppInfo" into pi-dev 2018-03-08 03:22:40 +00:00
Fan Zhang
6f8ac904bf Merge "Move Auto sync data prefs from user to account screen" into pi-dev am: 799c2545c0
am: 29f7e7f13c

Change-Id: Ie84c7b50abb0ab9338d852342f61c35bfeb6dccc
2018-03-08 03:10:10 +00:00
jackqdyulei
b65ae02db2 Merge "Make "Add device" as restricted preference." into pi-dev
am: e03bb88c09

Change-Id: I8ba721585a25bdc45b4d3dff97811955e02715b6
2018-03-08 03:05:09 +00:00
TreeHugger Robot
e03bb88c09 Merge "Make "Add device" as restricted preference." into pi-dev 2018-03-08 02:58:25 +00:00
Lei Yu
1d43ece8eb Merge "Add whitelist for anomaly detection." into pi-dev am: 13eb2f18b4
am: 89105f7c47

Change-Id: Ia9f35980849babc7eff9ff165cd0f130b522411a
2018-03-08 02:54:23 +00:00
Fan Zhang
3df75ce8ce Merge "For vibration settings page, create controllers from xml" into pi-dev am: f3cfced1d1
am: 9bbfe66b23

Change-Id: Ic72312be3b7f23f5a0b2038585e9b0e4140da180
2018-03-08 02:21:50 +00:00
Fan Zhang
29f7e7f13c Merge "Move Auto sync data prefs from user to account screen" into pi-dev
am: 799c2545c0

Change-Id: I134995bd6c9191db9f82941c1212f7ef598fbef3
2018-03-08 02:20:27 +00:00
Lei Yu
89105f7c47 Merge "Add whitelist for anomaly detection." into pi-dev
am: 13eb2f18b4

Change-Id: I2fd14ec8f8f1770856c8aabf49e0e39210a08293
2018-03-08 02:07:58 +00:00
Fan Zhang
9bbfe66b23 Merge "For vibration settings page, create controllers from xml" into pi-dev
am: f3cfced1d1

Change-Id: I518634fb8e61f701ee8acab19855df5c941fec53
2018-03-08 02:01:52 +00:00
TreeHugger Robot
799c2545c0 Merge "Move Auto sync data prefs from user to account screen" into pi-dev 2018-03-08 02:01:46 +00:00
jackqdyulei
c7a0c33ab5 Update fuelguage to use uid in AppInfo
The uid is needed to distinguish the same app used
by different users(even work profile user). So
we need to store the correct uid in AppInfo and
use it across the settings app.

Bug: 74022362
Test: RunSettingsRoboTests
Change-Id: Iaa0ea1ac1fbd3a3a1251e0cd1096d6a8c75c4ed8
2018-03-08 01:33:54 +00:00
John Reck
ae7a241ee7 Merge "Remove obsolete development setting" 2018-03-08 01:28:10 +00:00
Lei Yu
13eb2f18b4 Merge "Add whitelist for anomaly detection." into pi-dev 2018-03-08 01:14:51 +00:00
John Reck
fcaf80e8c5 Remove obsolete development setting
Remove the "Force GPU Rendering" option. Nobody is testing
their pre-honeycomb apps anymore, so this setting has outlived
its usefulness.

Test: builds
Change-Id: I8780db1de4e178b4c99936b274576d743e7f6438
2018-03-08 01:12:35 +00:00
TreeHugger Robot
f3cfced1d1 Merge "For vibration settings page, create controllers from xml" into pi-dev 2018-03-08 01:07:38 +00:00
TreeHugger Robot
9223f39aa3 Merge "Remove unused file res/layout/usb_dialog_container.xml" 2018-03-08 00:36:05 +00:00
Fan Zhang
1cdfb4ca09 Merge "Clean up comment" into pi-dev am: 12a8fced66
am: d68b9830cf

Change-Id: I1693bf310f316f134b4c87cf382e20bcba434ca3
2018-03-08 00:08:33 +00:00
Fan Zhang
931e99e032 Merge "Update string: clear data -> clear storage" into pi-dev am: ad24c98c2d
am: 3c5196a5de

Change-Id: I94ec15bf738140e67549c8fd01ccda6afdb2e51b
2018-03-08 00:07:32 +00:00
Andreas Terzis
22b548670b Merge "Rename "Billing Cycle" to "App usage cycle"." into pi-dev am: d9eba6b856
am: 97e9f1611e

Change-Id: Ib97c62ef41b5377b37f5c8e52cee99d1398611a1
2018-03-08 00:05:15 +00:00
Ajay Panicker
e5ed810753 Bluetooth: Enable AVDTP Delay reports by default.
Bug: 32755225
Test: See that delay reports are enabled when connecting to device
Change-Id: I03bd216eb1725ee3e2e5da4e0baae61007ba2dcf
Merged-In: Icba9be6fc8ba455d37df39d283e36129f6acb536
2018-03-08 00:00:13 +00:00
Fan Zhang
ad47e1aada Move Auto sync data prefs from user to account screen
Change-Id: Idb69ed49c6e21f93cafa593ba5e7dffa32f377b7
Fixes: 73739376
Test: existing robotests & atest
2018-03-07 15:53:18 -08:00
Fan Zhang
d68b9830cf Merge "Clean up comment" into pi-dev
am: 12a8fced66

Change-Id: Ie7ad8654f289e9772ea395c362fa9a77be0eb217
2018-03-07 23:46:01 +00:00
Fan Zhang
3c5196a5de Merge "Update string: clear data -> clear storage" into pi-dev
am: ad24c98c2d

Change-Id: Iea916ddb14f8202ea43b79577d272b66b77de8ab
2018-03-07 23:36:57 +00:00
TreeHugger Robot
12a8fced66 Merge "Clean up comment" into pi-dev 2018-03-07 23:34:43 +00:00
Bill Yi
92931b1fae Import translations. DO NOT MERGE
BUG:72647570

Change-Id: I0056af6763c58ffc34e49c3c6f84211c1c9a674c
Auto-generated-cl: translation import
2018-03-07 15:28:17 -08:00
TreeHugger Robot
ad24c98c2d Merge "Update string: clear data -> clear storage" into pi-dev 2018-03-07 23:26:30 +00:00
Andreas Terzis
97e9f1611e Merge "Rename "Billing Cycle" to "App usage cycle"." into pi-dev
am: d9eba6b856

Change-Id: Ic41ad59b20a933bef89f0f15989788b61c2e11ed
2018-03-07 23:25:05 +00:00
Salvador Martinez
e5569dc0b5 Update BatteryInfo to include averageTimeToDischarge am: db1efa3e03
am: ebb7148fd6

Change-Id: I9e5129c5ece438215dd9bede204b124401dc87db
2018-03-07 23:13:02 +00:00
Doris Ling
8f5773b834 Fix layout height for suggestion tile.
- set minHeight instead of using a fix height, so that when the
font/display size is set to larger, the height will expand accordingly
to fit all elements in the suggestion card.

- revert the change that tint all suggestion icons. The previous logic
should be used to determine if we should tint the icon or not.

Change-Id: I2451490130cee216ff65301a600eb91d2e65c321
Fixes: 74261827
Test: visual and make RunSettingsRoboTests
2018-03-07 15:04:11 -08:00
TreeHugger Robot
322124d3c6 Merge "Introduce boolean flags to show/hide Encryption status." 2018-03-07 22:59:34 +00:00
Salvador Martinez
ebb7148fd6 Update BatteryInfo to include averageTimeToDischarge
am: db1efa3e03

Change-Id: Ibad0041006908e4ab4a229bf8dc7bde5f14bb18a
2018-03-07 22:51:56 +00:00
Fan Zhang
36680b0934 For vibration settings page, create controllers from xml
This change leverages a new support in settings framework to
automatically share preference controllers between full setting page,
search, and slice provider.

Bug: 73668763
Test: existing robotest and atest
Change-Id: Ie96a28f1b503377b3fdf86e28d297c8560d8bf71
2018-03-07 14:48:26 -08:00
Andreas Terzis
d9eba6b856 Merge "Rename "Billing Cycle" to "App usage cycle"." into pi-dev 2018-03-07 22:46:13 +00:00
Fan Zhang
9c18ac0554 Clean up comment
Bug: 73074893
Test: none
Change-Id: If7dcfcbb2e943d5734239ddb51c0e6ac798b641b
2018-03-07 13:36:58 -08:00
jackqdyulei
10051afb96 Add whitelist for anomaly detection.
Even though we can add whitelist in config, we still need to have a
on device whitelist to reduce the size of config.

Use doze whitelist here because we already used it to detect whether
we can restrict the app in battery detail page.

Bug: 74241534
Test: RunSettingsRoboTests
Change-Id: I35b6f3eba9fbc8ae51bb02cd9d5416e4360c388e
2018-03-07 13:20:36 -08:00
Fan Zhang
6acc0cf3cd Update string: clear data -> clear storage
Change-Id: I710f7b95a53e5437d895ff920f3cce7aa4c5a6cf
Fixes: 34515307
Test: visual
2018-03-07 13:19:52 -08:00
Maurice Lam
4d1f4c77ff Merge "Hide options button when user starts entering pattern" 2018-03-07 21:00:40 +00:00
Salvador Martinez
db1efa3e03 Update BatteryInfo to include averageTimeToDischarge
This updates the Estimate data model class as well as the places
it is used to populate the new field when available.

Test: robotests
Bug: 74020365
Change-Id: Ibcecf933819f8b8cd8514205768569e9bd7d1517
(cherry picked from commit 453db0cdbc)
Merged-In: 453db0cdbc
2018-03-07 20:39:59 +00:00
Salvador Martinez
2631a55826 Merge "Update BatteryInfo to include averageTimeToDischarge" 2018-03-07 20:38:05 +00:00
Yueming Wang
bba23f6ee2 Merge "Block location accuracy when DISALLOW_CONFIG_LOCATION is set." into pi-dev am: fd7b78afb0
am: 82edd2006c

Change-Id: Ie2dc14320ed634f90862f42e6a72a06bf24caf05
2018-03-07 20:25:26 +00:00
Andreas Terzis
30743c787e Rename "Billing Cycle" to "App usage cycle".
Under Settings > Data Usage, rename "Billing cycle" to
"Data warning & limit".

In the new "Data warning & limit" screen rename "Billing cycle"
to "App usage cycle".

Bug: 74321150
Test: manual
Change-Id: Ied4fd604fe98f5fc613fd4f7fc3a3bea5908bb7c
2018-03-07 12:19:36 -08:00
Yueming Wang
82edd2006c Merge "Block location accuracy when DISALLOW_CONFIG_LOCATION is set." into pi-dev
am: fd7b78afb0

Change-Id: Ib3f68f2b2372973b300091cbd9640f4cd5a972d0
2018-03-07 20:19:23 +00:00
Fan Zhang
228eaa94cb Merge "Misc fixes to improve search" into pi-dev am: 6b83c2d332
am: 4a9cd8efc5

Change-Id: I27416a28efaf24fdfd7ff5b90fc53ccfddc774db
2018-03-07 20:19:23 +00:00
Yueming Wang
fd7b78afb0 Merge "Block location accuracy when DISALLOW_CONFIG_LOCATION is set." into pi-dev 2018-03-07 20:10:10 +00:00
Fan Zhang
4a9cd8efc5 Merge "Misc fixes to improve search" into pi-dev
am: 6b83c2d332

Change-Id: Ifd491df275c7e74bf52901b2a919e1f6043efe00
2018-03-07 20:07:50 +00:00
TreeHugger Robot
6b83c2d332 Merge "Misc fixes to improve search" into pi-dev 2018-03-07 19:59:11 +00:00
jackqdyulei
a65404f0b3 Merge "Add dump log for BatteryTip." into pi-dev am: 26b5b5b5db
am: 7f5e5e0522

Change-Id: Iabe15152c4d62a06ff5b4cd2e32f5bf86a157360
2018-03-07 19:42:10 +00:00
jackqdyulei
7f5e5e0522 Merge "Add dump log for BatteryTip." into pi-dev
am: 26b5b5b5db

Change-Id: I0738c5dce35fa045b4393a246d4df2c2cba1c986
2018-03-07 19:19:06 +00:00
TreeHugger Robot
26b5b5b5db Merge "Add dump log for BatteryTip." into pi-dev 2018-03-07 18:53:09 +00:00
Salvador Martinez
453db0cdbc Update BatteryInfo to include averageTimeToDischarge
This updates the Estimate data model class as well as the places
it is used to populate the new field when available.

Test: robotests
Bug: 74020365
Change-Id: Ibcecf933819f8b8cd8514205768569e9bd7d1517
2018-03-07 10:26:59 -08:00