OSDN Git Service
Lei Yu [Thu, 15 Mar 2018 17:06:00 +0000 (17:06 +0000)]
Merge "Update string in battery app info page" into pi-dev
Brad Ebinger [Thu, 15 Mar 2018 16:04:56 +0000 (16:04 +0000)]
Merge "Donot disable Wi-Fi Calling when getting "registration error" intent." into pi-dev
Sundeep Ghuman [Thu, 15 Mar 2018 15:43:17 +0000 (15:43 +0000)]
Merge changes Icf6fafe9,I35eb3f0c,Ieec0c486,I8accb164 into pi-dev
* changes:
Set color of update line to red if update is older than six hours.
In Data Usage screen, Below the data bar, Add “X days left” field.
In Data Usage screen, add over-limit state.
Change text layout of data usage string.
Alan Viverette [Thu, 15 Mar 2018 13:32:16 +0000 (13:32 +0000)]
Merge "Update for 1.0.0-beta1" into pi-dev
Jan Nordqvist [Mon, 12 Mar 2018 22:19:29 +0000 (15:19 -0700)]
Set color of update line to red if update is older than six hours.
In Data Usage screen, out-of-date state
Bug:
70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: Icf6fafe9ab61a2c1ac3fba2bebf3bd4407c0ecfe
Jan Nordqvist [Fri, 9 Mar 2018 23:13:46 +0000 (15:13 -0800)]
In Data Usage screen, Below the data bar, Add “X days left” field.
Bug:
70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I35eb3f0c09c84d609ad54e87400913ec77e19ea0
Sundeep Ghuman [Thu, 15 Mar 2018 06:00:54 +0000 (23:00 -0700)]
In Data Usage screen, add over-limit state.
Bug:
70950124
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=DataUsageSummaryPreferenceTest
Change-Id: Ieec0c486c6a5451cd5983f02e202ddac3413a602
Jan Nordqvist [Wed, 7 Mar 2018 17:59:06 +0000 (09:59 -0800)]
Change text layout of data usage string.
In Data Usage screen, Above the data bar, Change font size of number
In Data Usage screen, Above the data bar, Update text style of “GB used”
In Data Usage screen, Above the data bar, Add “GB left” aligned right of bar (not always shown)
Bug:
70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I8accb16425283cf148ddb6b6646f92ff51a74b7c
Andrew Sapperstein [Thu, 15 Mar 2018 05:09:59 +0000 (05:09 +0000)]
Merge "update the whitelist for anomaly detection" into pi-dev
Sundeep Ghuman [Thu, 15 Mar 2018 05:00:41 +0000 (05:00 +0000)]
Merge "Fix the ProgressBar in DataUsageSummaryV2 page." into pi-dev
Andrew Sapperstein [Thu, 15 Mar 2018 04:58:42 +0000 (04:58 +0000)]
Merge "Rename “Mobile data usage” to “App data usage” & hide summary" into pi-dev
Lei Yu [Thu, 15 Mar 2018 00:02:30 +0000 (17:02 -0700)]
Update string in battery app info page
Change-Id: I78ce7499f10bb65d44865349738bf77300180867
Fixes:
73576591
Bugs:
73018395
Test: Manual
Sundeep Ghuman [Tue, 13 Mar 2018 05:25:23 +0000 (22:25 -0700)]
Fix the ProgressBar in DataUsageSummaryV2 page.
Bug:
70950124
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageSummaryPreferenceTest
Change-Id: I83f268c0824d9e3520899725fa572753e1de0814
Andreas Terzis [Fri, 9 Mar 2018 06:51:47 +0000 (22:51 -0800)]
Rename “Mobile data usage” to “App data usage” & hide summary
In Data usage screen, rename “Mobile data usage” to “App data usage” &
hide summary.
Also, change the title of the new "App data usage" (old "Mobile data
usage") screen to "App data usage".
Test: manual
Test: make RunSettingsRoboTests
Bug:
70950124
Change-Id: Ide9bcb2a4b171edcd088d68275bacda1eb449afe
TreeHugger Robot [Wed, 14 Mar 2018 17:11:37 +0000 (17:11 +0000)]
Merge "Request focus in wifi screen in add network and secure wifi" into pi-dev
Phil Weaver [Wed, 14 Mar 2018 16:45:49 +0000 (16:45 +0000)]
Merge "Show default a11y icon in shortcut menu" into pi-dev
Phil Weaver [Wed, 14 Mar 2018 16:03:28 +0000 (16:03 +0000)]
Merge "Don't pre-scale vector drawables in settings" into pi-dev
Yuchen Chang [Wed, 14 Mar 2018 09:16:05 +0000 (17:16 +0800)]
Request focus in wifi screen in add network and secure wifi
Request focus from parent view in controller. Based on framework
patch, it can be placed in a parent and focus will go to whatever view
is the default focusable in that hierarchy.
Fixes:
68776177
Fixes:
72882629
Test: RunSettingsRobotests and Manual test
Change-Id: I3bcdc4ec814f68079a00e40435f46bdfa53f4425
TreeHugger Robot [Wed, 14 Mar 2018 06:53:12 +0000 (06:53 +0000)]
Merge "Fix the system crash issue when secondary user clicks any 802.1x AP on Wifi Picker." into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 06:00:29 +0000 (06:00 +0000)]
Merge "Fix new DataUsageSummary page line spacing." into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 05:47:12 +0000 (05:47 +0000)]
Merge "Add dialog for summary tip" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 05:47:10 +0000 (05:47 +0000)]
Merge "Change default value for SOFT_AP_TIMEOUT_ENABLED" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 05:44:44 +0000 (05:44 +0000)]
Merge "Add Data warning and limit footer text." into pi-dev
Andreas Terzis [Wed, 14 Mar 2018 03:58:32 +0000 (03:58 +0000)]
Merge "Change the color of the measurement numbers below the data bar." into pi-dev
Dianne Hackborn [Wed, 14 Mar 2018 03:02:20 +0000 (03:02 +0000)]
Merge "Fix issue #
62342672: API Review: OPSTR_ACTIVATE_VPN SystemApi" into pi-dev
Sundeep Ghuman [Tue, 13 Mar 2018 03:28:09 +0000 (20:28 -0700)]
Fix new DataUsageSummary page line spacing.
There are still some unspecified items pending UX. Have left comments on
ag/
3702541 to avoid regressions.
Bug:
70950124
Test: UI change only, no code to test.
Change-Id: I7fa96134af750d71786d031652162aed6bffbeb5
TreeHugger Robot [Wed, 14 Mar 2018 00:28:12 +0000 (00:28 +0000)]
Merge "Fix alignment for the instant app button." into pi-dev
Lei Yu [Wed, 14 Mar 2018 00:20:16 +0000 (17:20 -0700)]
Change default value for SOFT_AP_TIMEOUT_ENABLED
Change the default value to 1.
Change-Id: I78a69d6224ad417537be59ce51357e1093d6bae4
Fixes:
73501186
Test: RunSettingsRoboTests
Ecco Park [Mon, 12 Mar 2018 18:37:51 +0000 (11:37 -0700)]
Fix the system crash issue when secondary user clicks any 802.1x AP on
Wifi Picker.
Catch the exception when keystore failed to list the certs
Bug:
73794111
Test: test it with clicking the Google-A on Wifi Picker.
Test: make ROBOTEST_FILTER="(WifiConfigControllerTest)"
RunSettingsRoboTests -j32
RunSettingsRoboTests: OK (12 tests)
Change-Id: I0db66730261c72ef35d1b299bacd2aed7710d247
Katsiaryna Naliuka [Tue, 13 Mar 2018 23:29:01 +0000 (23:29 +0000)]
Merge "Made ordering in the Sound settings page more sparse to allow injecting tiles in arbitrary positions." into pi-dev
jackqdyulei [Wed, 28 Feb 2018 19:21:39 +0000 (11:21 -0800)]
Add dialog for summary tip
Also change SummaryTip to store the time data, which is used
in the dialog. If "Full last charge" time is available, show
normal message otherwise show message without it.
Bug:
72997971
Test: RunSettingsRoboTests
Change-Id: I4ce94f0935465a18275edb13e3be343313427c3b
Doris Ling [Tue, 13 Mar 2018 21:38:33 +0000 (14:38 -0700)]
Fix alignment for the instant app button.
- wrap the secondary button in the FrameLayout to make it align properly
with the primary button.
Change-Id: I6964bc67773a77eae551521747c19898a2f22210
Fixes:
69562807
Test: visual
Sundeep Ghuman [Tue, 13 Mar 2018 05:26:52 +0000 (22:26 -0700)]
Add Data warning and limit footer text.
Bug:
70550124
Test: XML only change, visual inspection.
Change-Id: Iaea3f100051bb908b13ca6809463db7f01f8d92d
TreeHugger Robot [Tue, 13 Mar 2018 20:18:14 +0000 (20:18 +0000)]
Merge "Fix presubmit test failure." into pi-dev
Jan Nordqvist [Fri, 9 Mar 2018 22:02:54 +0000 (14:02 -0800)]
Change the color of the measurement numbers below the data bar.
Original line item: In Data Usage screen, Below the data bar, Make GB measurement numbers smaller.
Bug:
70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: Id30233e038c664539fd688dcd4eb99af0c41f010
Katsiaryna Naliuka [Tue, 13 Mar 2018 19:48:05 +0000 (20:48 +0100)]
Made ordering in the Sound settings page more sparse to allow injecting
tiles in arbitrary positions.
Also increased a number of settings that are not hidden behind the
overflow to accommodate 1 more line.
Bug:
64065365
Test: manual
Change-Id: I3ac8dfd4802967e02bebc6558a5b96d68cb2ea34
TreeHugger Robot [Tue, 13 Mar 2018 19:58:51 +0000 (19:58 +0000)]
Merge changes from topic "dnd_touch_sounds" into pi-dev
* changes:
Test for string changes in DND Sound Settings
Update seconday text DND Exceptions preference
Lei Yu [Mon, 12 Mar 2018 20:32:59 +0000 (13:32 -0700)]
update the whitelist for anomaly detection
Add "allow-in-power-save-except-idle" to whitelist. Also ignore
all the system uids
Bug:
74241534
Test: RunSettingsRoboTests
Change-Id: I593e558168db339f6f38c7f78ab4fd63f99b16ab
Doris Ling [Tue, 13 Mar 2018 18:25:04 +0000 (11:25 -0700)]
Fix presubmit test failure.
- fix the typo in the manifest that reference the zen mode fragment.
Change-Id: Iae6975d015174fabb98033b917290c954c5483c2
Fixes:
74577539
Test: make SettingsUnitTests
Andreas Terzis [Tue, 13 Mar 2018 17:58:12 +0000 (17:58 +0000)]
Merge "Increase string character limits to 40" into pi-dev
Suresh Koleti [Mon, 20 Nov 2017 12:50:26 +0000 (18:20 +0530)]
Donot disable Wi-Fi Calling when getting "registration error" intent.
Test: Manual
Bug:
69446679
Merged-In: I95a108f4e6090b61e4584a64bed58c024e120fd0
Change-Id: I92869d091f3ad1ece5d3c33457d7601d07797639
Doris Ling [Tue, 13 Mar 2018 00:27:34 +0000 (00:27 +0000)]
Merge "Update suggestion title and summary text." into pi-dev
Alan Viverette [Fri, 9 Mar 2018 23:07:30 +0000 (18:07 -0500)]
Update for 1.0.0-beta1
Bug:
74449147
Test: make
Change-Id: I664b5f29efbb5d6c40420c0d8aaa8629ddfcd31b
Victor Chang [Mon, 12 Mar 2018 22:58:53 +0000 (22:58 +0000)]
Merge "Align the search view with the setting items" into pi-dev
Beverly Tai [Mon, 12 Mar 2018 21:39:18 +0000 (21:39 +0000)]
Merge "Adding zen duration preference" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 21:08:59 +0000 (21:08 +0000)]
Merge "Bluetooth: Enable AVDTP Delay reports by default." into pi-dev
Andreas Terzis [Mon, 12 Mar 2018 19:27:50 +0000 (12:27 -0700)]
Increase string character limits to 40
Increase character limits for the "billing_cycle" and
"app_usage_cycle" strings to 40 characters because the
current limit of 30 characters is not enough for some
translations.
Test: manual
Test: make RunSettingsRoboTests
Bug:
70950124
Change-Id: I2091915ca78786f4b29de211b4635af45cb4946f
Victor Chang [Mon, 12 Mar 2018 15:41:19 +0000 (15:41 +0000)]
Align the search view with the setting items
- Remove the margin and paddings in the search view
Bug:
73952488
Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime.timezone
Change-Id: I67fb420cf77fc427a550449a053f80dcf66d16ff
TreeHugger Robot [Mon, 12 Mar 2018 19:36:32 +0000 (19:36 +0000)]
Merge "Fix failing testcases in SettingsAdapterTest." into pi-dev
Doris Ling [Fri, 9 Mar 2018 19:17:34 +0000 (11:17 -0800)]
Update suggestion title and summary text.
Bug:
73164111
Test: rebuild
Change-Id: I35db24cd78e88091154e5cbcc9fa089181f3edb2
TreeHugger Robot [Mon, 12 Mar 2018 19:22:22 +0000 (19:22 +0000)]
Merge "Fix tests" into pi-dev
Beverly [Mon, 12 Mar 2018 18:35:27 +0000 (14:35 -0400)]
Test for string changes in DND Sound Settings
Test: this
Change-Id: I47ba1d1bad6a5be04d718d2e58eaf5dd6c69f107
Fixes:
74529508
Ben Lin [Mon, 12 Mar 2018 17:52:47 +0000 (17:52 +0000)]
Merge "Introduce boolean flag to show/hide Reset Options." into pi-dev
Ben Lin [Mon, 12 Mar 2018 17:52:37 +0000 (17:52 +0000)]
Merge "Introduce boolean flags to show/hide Encryption status." into pi-dev
Beverly [Mon, 26 Feb 2018 14:19:41 +0000 (09:19 -0500)]
Adding zen duration preference
Test: make ROBOTEST_FILTER=ZenModeDurationPreferenceControllerTest RunSettingsRoboTests -j40
Bug:
73741459
Change-Id: I55a75897045ef059dc872bf6403a62f46cedc417
Beverly [Fri, 9 Mar 2018 20:49:22 +0000 (15:49 -0500)]
Update seconday text DND Exceptions preference
Test: manual
Bug:
74441398
Change-Id: Ibaa459aa368f62c4ef8cdbefef462848e7bc6fe7
TreeHugger Robot [Mon, 12 Mar 2018 15:02:01 +0000 (15:02 +0000)]
Merge "Updated dnd secondary text in sound settings" into pi-dev
Julia Reynolds [Mon, 12 Mar 2018 14:08:19 +0000 (10:08 -0400)]
Fix tests
Test: make -j20 RunSettingsRoboTests
Change-Id: I40fda22b4a9da3df7f4319bc68a78d291c1b943d
Fixes:
74446970
TreeHugger Robot [Mon, 12 Mar 2018 03:17:19 +0000 (03:17 +0000)]
Merge "Declare official platform slice" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 01:58:06 +0000 (01:58 +0000)]
Merge "Reenable pre-N style hard keyboard layout settings" into pi-dev
Victor Chang [Sat, 10 Mar 2018 12:24:38 +0000 (12:24 +0000)]
Merge changes from topic "picker-analytics" into pi-dev
* changes:
Fix UX problems in time zone pickers
Add tron metric logging
TreeHugger Robot [Sat, 10 Mar 2018 01:43:04 +0000 (01:43 +0000)]
Merge "Add extra log for battery tip." into pi-dev
TreeHugger Robot [Sat, 10 Mar 2018 01:21:41 +0000 (01:21 +0000)]
Merge "Disable bluetooth controller if unsupported" into pi-dev
Ben Lin [Wed, 7 Mar 2018 23:24:37 +0000 (15:24 -0800)]
Introduce boolean flag to show/hide Reset Options.
This adds one new flag:
config_show_reset_dashboard
Which when set to false, will hide Reset Options from System settings.
Bug:
74127210
Test: Updated robotests
Change-Id: I42b14a0abde575f5c4e51985125e8543716d206a
(cherry picked from commit
bd180a62ec597dbcc205ff55395851769cdbe730)
Ben Lin [Tue, 6 Mar 2018 00:35:48 +0000 (16:35 -0800)]
Introduce boolean flags to show/hide Encryption status.
This adds one new flag:
config_show_encryption_and_credentials_encryption_status
Which when set to false, will hide Encryption status from Encryption &
credentials. This is when the storage is not being handed by Android,
and so this preference would not be necessarily correct.
Bug:
74127210
Test: Updated robotests
Change-Id: I13665fa369086ef29a4de5f99a78bfbaf96f2f6b
(cherry picked from commit
2d5df469d3a50a1aea6245785e54d0d4ad301d39)
TreeHugger Robot [Sat, 10 Mar 2018 00:22:39 +0000 (00:22 +0000)]
Merge "Make battery seekbar update continuous" into pi-dev
Doris Ling [Fri, 9 Mar 2018 23:22:57 +0000 (15:22 -0800)]
Fix failing testcases in SettingsAdapterTest.
- added the shadow class for CardView to fix the not implemented error.
Change-Id: I17a53f804310ffb3330c1cd3ca11943cf91335a6
Fixes:
74446970
Test: make RunSettingsRoboTests
jackqdyulei [Sat, 3 Mar 2018 00:33:59 +0000 (16:33 -0800)]
Add extra log for battery tip.
For each visible battery tip, logs its type and state. For battery tip
with app list, also log that list:
1. HighUsageTip: apps that used too much battery
2. RestrictAppTip: apps with anomaly, also logs the anomaly type
Bug:
73888115
Test: RunSettingsRoboTests
Change-Id: I1b61eb1d793d979baab4864d2d652e12260b590d
Weilun Du [Tue, 6 Mar 2018 20:05:32 +0000 (12:05 -0800)]
Disable bluetooth controller if unsupported
Only disable the controllers not the whole fragment because
user might need to have entry for other features.
Fixes:
73664409
Merged-In: I98ed248cf33d11715dd523e711cbc68ebf128ef8
Change-Id: I98ed248cf33d11715dd523e711cbc68ebf128ef8
Signed-off-by: Weilun Du <wdu@google.com>
(cherry picked from commit
68a195ae932df264fa0cb6cd457b1655d1cd1420)
Doris Ling [Fri, 9 Mar 2018 22:00:36 +0000 (14:00 -0800)]
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
Ajay Panicker [Wed, 7 Mar 2018 23:55:02 +0000 (15:55 -0800)]
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
a8cf0b9371bf9bcb2b92243ec29b822f1f021098)
Beverly [Fri, 9 Mar 2018 20:14:07 +0000 (15:14 -0500)]
Updated dnd secondary text in sound settings
Test: manual
Bug:
74441398
Change-Id: I4dafd9082e03bc9fa8f5e3f9505a8a1bb2fcc4da
Victor Chang [Fri, 9 Mar 2018 12:03:03 +0000 (12:03 +0000)]
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
Victor Chang [Fri, 9 Mar 2018 17:16:05 +0000 (17:16 +0000)]
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
Lei Yu [Fri, 9 Mar 2018 19:18:42 +0000 (11:18 -0800)]
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
Matthew Fritze [Wed, 28 Feb 2018 16:15:55 +0000 (08:15 -0800)]
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
Lei Yu [Fri, 9 Mar 2018 17:38:53 +0000 (17:38 +0000)]
Merge "Change anomalyType to ArraySet in AppInfo" into pi-dev
Julia Reynolds [Fri, 9 Mar 2018 13:38:06 +0000 (13:38 +0000)]
Merge "Show new visual effects options in dnd settings" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:51:41 +0000 (03:51 +0000)]
Merge "Get auto-battery saver threshold max from global setting" into pi-dev
Yohei Yukawa [Thu, 8 Mar 2018 21:47:56 +0000 (13:47 -0800)]
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
976bb3f45915bdd5165d9a50402d4c1163dae809
[2]: I4483dfc89afc8d148b2cfa7c6a5f66d2a02f712a
17b631988451613393c4656900c1821e23d8434a
Fix:
66498367
Test: make -j RunSettingsRoboTests
Test: Manually done with two Bluetooth keyboards
Change-Id: I7a2ed6dd39dcd8207d3d94e12cd01d5d67ba4bb5
Phil Weaver [Fri, 9 Mar 2018 01:46:49 +0000 (17:46 -0800)]
Show default a11y icon in shortcut menu
Making the shortcut menu icons consistent with those
in the main accessibility settings.
Bug:
74411102
Test: The list of CTS-installed services now have the
same default in both pages of settings.
Change-Id: I0deedb593e7ef8c8ef2b01ab836bb9f1c4bfd91b
Phil Weaver [Fri, 9 Mar 2018 01:38:46 +0000 (17:38 -0800)]
Don't pre-scale vector drawables in settings
The idea of scaling down icons to prevent the system from
dealing with large images seems to be catching some
VectorDrawables and rescaling them. I don't think
VectorDrawables are likely to create a memory issue,
and the protection code seemed to be added to protect
against large pngs, not vector graphics.
Bug:
70562945
Test: Visually verified that all icons in the Accessibility
Shortcut list are now the same size with maximum display
and font sizes.
Change-Id: I9f177d11a614c122d333d4625bf6fa756d1bf4af
Julia Reynolds [Fri, 2 Mar 2018 20:51:14 +0000 (15:51 -0500)]
Show new visual effects options in dnd settings
Bug:
74075050
Test: make -j20 RunSettingsRoboTests
Change-Id: Ia629007d1c80b657aaf756d0f6d2edfd89a7f6b4
Lei Yu [Thu, 8 Mar 2018 01:17:29 +0000 (17:17 -0800)]
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
Antony Sargent [Thu, 8 Mar 2018 19:59:36 +0000 (19:59 +0000)]
[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
Antony Sargent [Thu, 8 Mar 2018 19:48:36 +0000 (19:48 +0000)]
[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
Antony Sargent [Thu, 8 Mar 2018 19:42:30 +0000 (19:42 +0000)]
[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
Maurice Lam [Sat, 3 Mar 2018 03:32:48 +0000 (19:32 -0800)]
Hide options button when user starts entering pattern
Test: cd tests/robotests && mma
Bug:
72409245
Change-Id: I82ab8822f13bc8bf8b74bc67f6d4d3a9fd2cc0c8
(cherry picked from commit
ad554244b69d91e0304e9e5a45642b585c9e1fde)
TreeHugger Robot [Thu, 8 Mar 2018 18:45:30 +0000 (18:45 +0000)]
Merge "Show time zone standard name in FixedOffsetPreferenceController" into pi-dev
Makoto Onuki [Wed, 7 Mar 2018 22:03:55 +0000 (14:03 -0800)]
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
Victor Chang [Thu, 8 Mar 2018 15:05:14 +0000 (15:05 +0000)]
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
TreeHugger Robot [Thu, 8 Mar 2018 05:32:25 +0000 (05:32 +0000)]
Merge "Fix layout height for suggestion tile." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 05:12:11 +0000 (05:12 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 03:22:40 +0000 (03:22 +0000)]
Merge "Update fuelguage to use uid in AppInfo" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 02:58:25 +0000 (02:58 +0000)]
Merge "Make "Add device" as restricted preference." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 02:01:46 +0000 (02:01 +0000)]
Merge "Move Auto sync data prefs from user to account screen" into pi-dev
jackqdyulei [Thu, 1 Mar 2018 01:48:27 +0000 (17:48 -0800)]
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
Lei Yu [Thu, 8 Mar 2018 01:14:51 +0000 (01:14 +0000)]
Merge "Add whitelist for anomaly detection." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 01:07:38 +0000 (01:07 +0000)]
Merge "For vibration settings page, create controllers from xml" into pi-dev
Dianne Hackborn [Thu, 8 Mar 2018 00:42:39 +0000 (16:42 -0800)]
Fix issue #
62342672: API Review: OPSTR_ACTIVATE_VPN SystemApi
Add a new platform-only permission for being able to change
app ops mode, so nothing outside of the platform can do this.
Bug:
62342672
Test: Booted, ran, settings works, shell works, apps install
Change-Id: I2447ce04c3a90e66125ca02bb9dc1d365163c339