Commit Graph

43198 Commits

Author SHA1 Message Date
Lei Yu
6079093af3 Merge "Change anomalyType to ArraySet in AppInfo" into pi-dev
am: 7208905cb9

Change-Id: I45adf9ac403dc1d9ad4522184ba6eab0a7420c47
2018-03-09 22:35:55 +00:00
Doris Ling
d95e1752f6 Bypass failing test for SuggestionAdapterTest.
- other changes might have caused this test to start failing. Need more
time to investigate or properly fix the tests. Since they are blocking
presubmit right now, will ignore the tests first and provide fix
later.

Bug: 74444815
Test: make RunSettingsRoboTests
Change-Id: I985abe74c64a562fb117b91056a23895181897bd
2018-03-09 14:21:05 -08:00
Ajay Panicker
ff6a90994f Bluetooth: Enable AVDTP Delay reports by default.
Bug: 32755225
Test: See that delay reports are enabled when connecting to device
Change-Id: Icba9be6fc8ba455d37df39d283e36129f6acb536
(cherry picked from commit a8cf0b9371)
2018-03-09 21:21:45 +00:00
Treehugger Robot
f8ad32823c Merge "Bluetooth: Enable AVDTP Delay reports by default." 2018-03-09 20:56:50 +00:00
Beverly
aa31b9cb4a Updated dnd secondary text in sound settings
Test: manual
Bug: 74441398
Change-Id: I4dafd9082e03bc9fa8f5e3f9505a8a1bb2fcc4da
2018-03-09 15:14:07 -05:00
Victor Chang
ca529d9e89 Fix UX problems in time zone pickers
- Remove emoji region flag in the region picker.
  It's more consistent with locale picker which shows no flag in region
  picker
- Remove redundant information in the summary field
  e.g. same GMT offset in primary and secondary field in fixed offset
  picker
- Better mode switching flow. Switch region/fixed offset mode
only when the user confirms their selection in the picker.

Bug: 73952488
Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime.timezone
Change-Id: Id5da8a2516acd10c9a3d71181e94bc617d797d20
2018-03-09 19:48:14 +00:00
Victor Chang
ab775e1b0f Add tron metric logging
- one tracking id for every picker type

Bug: 73952488
Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime.timezone
Change-Id: Ia487f1657d6ed1f0fb40b61f39f4a47c38bd6179
2018-03-09 19:48:05 +00:00
Lei Yu
bb5fc6a54f Make battery seekbar update continuous
After this cl, when user slides the slider, the text will be
updated continuously.

Bug: 73763634
Test: Manual
Change-Id: Ief9278d39426f6ec9ce9bbcc0be911d083673684
2018-03-09 11:18:42 -08:00
Matthew Fritze
a4a3dfffa2 Declare official platform slice
Create the notion of an official platform slice.
This includes:
- Adding a second authority to the provider
- tagging slices in xml with a platform slice flag
- Including authority in the getUri method

Bug:73359139
Test: robotests
Change-Id: I5382be138a262dbc5a8324c34aab131c5d0d5516
Merged-In: I581ee6dfcdf935f452a15e89e5d055e375ff1877
2018-03-09 18:04:06 +00:00
Lei Yu
7208905cb9 Merge "Change anomalyType to ArraySet in AppInfo" into pi-dev 2018-03-09 17:38:53 +00:00
Julia Reynolds
45e8898f7e Merge "Show new visual effects options in dnd settings" into pi-dev
am: e056b2ebc9

Change-Id: I0d3721c70f30e41099702642bd279924c89f35dc
2018-03-09 15:20:20 +00:00
Julia Reynolds
e056b2ebc9 Merge "Show new visual effects options in dnd settings" into pi-dev 2018-03-09 13:38:06 +00:00
Makoto Onuki
5042f95d16 Merge "Get auto-battery saver threshold max from global setting" into pi-dev
am: d29926c5a1

Change-Id: I6e1636fc05696d410eb82b851c6b9072a9520b46
2018-03-09 06:46:27 +00:00
TreeHugger Robot
d29926c5a1 Merge "Get auto-battery saver threshold max from global setting" into pi-dev 2018-03-09 03:51:41 +00:00
Yohei Yukawa
7129b374bb Reenable pre-N style hard keyboard layout settings
This CL logically reverts Settings app changes for Bug 25752812, which
aimed to improve UX by tightly integrating physical keyboard layout
with input method subtype.

What went wrong is that the concept of input method subtype is not
widely accepted by the ecosystem actually.  Until we figoure out any
other better way here, let's revert back to the good old way that
enables users to specify multiple keyboard layouts per physical
keyboard device, not one layout per one input method subtype.

Note that we cannot simply revert the CL that originally introduced
the new flow [1] because it was indeed a huge CL that also touched IME
settings, which we want to continue using.  In that sense, this CL is
a kind of re-implementation of the previous style on top of the recent
language settings flow.

Note also that a fix [2] fox Bug 25062009 was also ported from
previous InputMethodAndLanguageSetting to
KeyboardLayoutPickerFragment.

 [1]: I728d7ee185827ed328c16cb7abce244557a26518
      976bb3f459
 [2]: I4483dfc89afc8d148b2cfa7c6a5f66d2a02f712a
      17b6319884

Fix: 66498367
Test: make -j RunSettingsRoboTests
Test: Manually done with two Bluetooth keyboards
Change-Id: I7a2ed6dd39dcd8207d3d94e12cd01d5d67ba4bb5
2018-03-09 01:54:55 +00:00
Julia Reynolds
d640a97ce8 Show new visual effects options in dnd settings
Bug: 74075050
Test: make -j20 RunSettingsRoboTests
Change-Id: Ia629007d1c80b657aaf756d0f6d2edfd89a7f6b4
2018-03-08 16:42:35 -05:00
Lei Yu
7caecd36f7 Change anomalyType to ArraySet in AppInfo
After this cl, in AppInfo we could store mutilple anomalyTypes, so
AppInfo list will only contain one instance for each uid(however
still keep all the anomaly data)

In this way we could remove the duplicate items in app dialog.

Bug: 74335346
Test: RunSettingsRoboTests
Change-Id: I2ef7c218df2a956eea66aa6bdf03f5ddd19948e3
2018-03-08 12:40:18 -08:00
Antony Sargent
024d1dca46 [automerger skipped] Import translations. DO NOT MERGE skipped: 0a7ae11c49 skipped: d923718d10 skipped: 59ab695e25 skipped: eb76bf9861 skipped: 5755ec9bff skipped: ddd9cb6be9 skipped: 6827142bd1 skipped: ca801490c1 skipped: fb6a179745 am: 5943908af4 -s ours am: f224aa6af9 -s ours am: 086df75f9a -s ours
am: 9a9b8cad39  -s ours

Change-Id: I3dfd1cf3e9bb94825aaec93c881b327cc65e1149
2018-03-08 20:22:22 +00:00
Antony Sargent
9a9b8cad39 [automerger skipped] Import translations. DO NOT MERGE skipped: 0a7ae11c49 skipped: d923718d10 skipped: 59ab695e25 skipped: eb76bf9861 skipped: 5755ec9bff skipped: ddd9cb6be9 skipped: 6827142bd1 skipped: ca801490c1 skipped: fb6a179745 am: 5943908af4 -s ours am: f224aa6af9 -s ours
am: 086df75f9a  -s ours

Change-Id: I5d48e96b63dc79dbe89adde6eb83ceaad288efe7
2018-03-08 19:59:36 +00:00
Antony Sargent
086df75f9a [automerger skipped] Import translations. DO NOT MERGE skipped: 0a7ae11c49 skipped: d923718d10 skipped: 59ab695e25 skipped: eb76bf9861 skipped: 5755ec9bff skipped: ddd9cb6be9 skipped: 6827142bd1 skipped: ca801490c1 skipped: fb6a179745 am: 5943908af4 -s ours
am: f224aa6af9  -s ours

Change-Id: I0441b99e9f7b945d41303fdc8d0e412426a081e3
2018-03-08 19:48:36 +00:00
Maurice Lam
a9a48d83d4 Hide options button when user starts entering pattern
am: 4723abfe26

Change-Id: I3223a1a40b08c0dcef90ec117ac08b1888e6174e
2018-03-08 19:43:21 +00:00
Antony Sargent
f224aa6af9 [automerger skipped] Import translations. DO NOT MERGE skipped: 0a7ae11c49 skipped: d923718d10 skipped: 59ab695e25 skipped: eb76bf9861 skipped: 5755ec9bff skipped: ddd9cb6be9 skipped: 6827142bd1 skipped: ca801490c1 skipped: fb6a179745
am: 5943908af4  -s ours

Change-Id: I26672d57ced63374a8b03ae3e8e0647c6a4bd150
2018-03-08 19:42:30 +00:00
Brad Ebinger
be581fd7ef Merge "Donot disable Wi-Fi Calling when getting "registration error" intent." am: 4ec0e8e865
am: 9b282e231f

Change-Id: I95a108f4e6090b61e4584a64bed58c024e120fd0
2018-03-08 19:18:08 +00:00
Brad Ebinger
9b282e231f Merge "Donot disable Wi-Fi Calling when getting "registration error" intent."
am: 4ec0e8e865

Change-Id: I04c42bb5786b37f6d9aa124a663eef6d69b930a2
2018-03-08 19:13:20 +00:00
Maurice Lam
4723abfe26 Hide options button when user starts entering pattern
Test: cd tests/robotests && mma
Bug: 72409245
Change-Id: I82ab8822f13bc8bf8b74bc67f6d4d3a9fd2cc0c8
(cherry picked from commit ad554244b6)
2018-03-08 18:59:29 +00:00
Victor Chang
894f5521ab Merge "Show time zone standard name in FixedOffsetPreferenceController" into pi-dev
am: 4f5a113d8f

Change-Id: Icadc36b185da4f26c81985895569b18d9234f639
2018-03-08 18:58:32 +00:00
TreeHugger Robot
4f5a113d8f Merge "Show time zone standard name in FixedOffsetPreferenceController" into pi-dev 2018-03-08 18:45:30 +00:00
Brad Ebinger
4ec0e8e865 Merge "Donot disable Wi-Fi Calling when getting "registration error" intent." 2018-03-08 18:32:56 +00:00
Makoto Onuki
113e3d5cc0 Get auto-battery saver threshold max from global setting
Bug: 74351418
Test: Manual test with "settings put global low_power_trigger_level_max 100"
Test: m ROBOTEST_FILTER=AutoBatterySeekBarPreferenceControllerTest RunSettingsRoboTests
Change-Id: Ice25835f36e7855e3ed665cd780d7eb1a26acd27
2018-03-08 08:19:37 -08:00
Victor Chang
d251a10cd6 Show time zone standard name in FixedOffsetPreferenceController
- Among all fixed offset time zone, only Etc/UTC has a time zone
standard name. The name should be shown in both picker and preference's
secondary text (summary).

Bug: 74338688
Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime.timezone
Change-Id: I10c140f6054ab9acf6e0fb44528adef8b28fa23c
2018-03-08 15:13:15 +00:00
Doris Ling
7eef8156ea Merge "Fix layout height for suggestion tile." into pi-dev
am: ec9606addb

Change-Id: I518af49e44a386ef6fcc7381f11ad0b635ba3ea7
2018-03-08 05:40:11 +00:00
TreeHugger Robot
ec9606addb Merge "Fix layout height for suggestion tile." into pi-dev 2018-03-08 05:32:25 +00:00
Bill Yi
663ad81f07 Merge "Import translations. DO NOT MERGE" into pi-dev
am: 7c2713cb2d  -s ours

Change-Id: I8eabcb331f4eb0809c644e724fe5a6a07802210b
2018-03-08 05:22:18 +00:00
TreeHugger Robot
7c2713cb2d Merge "Import translations. DO NOT MERGE" into pi-dev 2018-03-08 05:12:11 +00:00
jackqdyulei
6217b5cd7e Merge "Update fuelguage to use uid in AppInfo" into pi-dev
am: 6949175423

Change-Id: I31a6b9eeaba39e3678945796b729ddede797a28e
2018-03-08 03:32:00 +00:00
TreeHugger Robot
6949175423 Merge "Update fuelguage to use uid in AppInfo" into pi-dev 2018-03-08 03:22:40 +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
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
Lei Yu
13eb2f18b4 Merge "Add whitelist for anomaly detection." into pi-dev 2018-03-08 01:14:51 +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
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