OSDN Git Service
Lei Yu [Wed, 28 Feb 2018 00:13:37 +0000 (00:13 +0000)]
Merge "Fix the AnomalyCleanUpJobService"
TreeHugger Robot [Tue, 27 Feb 2018 23:39:33 +0000 (23:39 +0000)]
Merge "Add logging for battery tip"
TreeHugger Robot [Tue, 27 Feb 2018 23:39:33 +0000 (23:39 +0000)]
Merge "Add metric for BatteryTipDialogFragmnt"
Alan Viverette [Tue, 27 Feb 2018 22:08:31 +0000 (22:08 +0000)]
Merge "Revert "Update to match now slice APIs""
Alan Viverette [Tue, 27 Feb 2018 20:12:57 +0000 (20:12 +0000)]
Revert "Update to match now slice APIs"
This reverts commit
2d96005aba3a509fc801f9a05d61786d8ad78218.
Reason for revert: prebuilt revert
Bug:
73903252
Bug:
73876473
Bug:
73875529
Bug:
73866916
Change-Id: I5d47a7c5ddebc16c1c508f5bb48ace809cbaf273
TreeHugger Robot [Tue, 27 Feb 2018 20:28:43 +0000 (20:28 +0000)]
Merge "Delete unused layout: preference_importance_slider."
jackqdyulei [Fri, 23 Feb 2018 18:59:27 +0000 (10:59 -0800)]
Fix the AnomalyCleanUpJobService
1. Invoke it in BOOT_COMPLETED
2. Set it periodic
3. Change the anomaly history from 3 days to 30 days
Bug:
72385333
Test: RunSettingsRoboTests
Change-Id: Ib59a85f3dffd6c094ff400a75bec44d4c65bce44
Yueming Wang [Mon, 26 Feb 2018 14:46:21 +0000 (14:46 +0000)]
Revert "Change Settings to use URL_FILTERED and blocks menu options when DPC Apns are enforced."
This reverts commit
ab1f251defe8ee327917b1788f5702ae2c231a47.
Reason for revert: As per discussion in b/
72484718, we are going to
block Access Point Name entry point in Network&Settings, so we no longer
need the change in ApnSettings fragment itself.
Bug:
72484718
Change-Id: I337a03e8baebaedb9e9ab83ccc4f7cf2f9c562c8
Alex Chau [Tue, 27 Feb 2018 12:02:19 +0000 (12:02 +0000)]
Merge "Revert "Fix the crash when editing or deleting APN.""
TreeHugger Robot [Tue, 27 Feb 2018 03:03:27 +0000 (03:03 +0000)]
Merge "Remove controller definitions from code"
jackqdyulei [Tue, 27 Feb 2018 01:20:19 +0000 (17:20 -0800)]
Add logging for battery tip
When it is triggered, we log the type of battery tip.
Bug:
3662211
Test: RunSettingsRoboTests
Change-Id: Iab1034008796b6b21eee53297b2e574199693f7e
Fan Zhang [Tue, 27 Feb 2018 01:00:45 +0000 (17:00 -0800)]
Remove controller definitions from code
- With recent changes in DashboardFragment, if a controller is
implemented using BasePreferenceController AND it's defined in xml, it
should "just work (tm)".
Change-Id: I05ec175e3c3df706df1a59c4bd9c2db3bf7e19d2
Fixes:
73668763
Test: rerun robotest
TreeHugger Robot [Tue, 27 Feb 2018 00:28:07 +0000 (00:28 +0000)]
Merge "Search highlight polish"
TreeHugger Robot [Tue, 27 Feb 2018 00:08:16 +0000 (00:08 +0000)]
Merge "Fix PictureInPictureSettingsTest."
TreeHugger Robot [Mon, 26 Feb 2018 23:00:22 +0000 (23:00 +0000)]
Merge "Report High usage even in a short period"
jackqdyulei [Mon, 26 Feb 2018 22:46:49 +0000 (14:46 -0800)]
Add metric for BatteryTipDialogFragmnt
Bug:
73888115
Test: Build
Change-Id: I234865f31658d3a44df4aa9521b6b2ea0f26f287
Fan Zhang [Fri, 23 Feb 2018 18:36:04 +0000 (10:36 -0800)]
Search highlight polish
- Blink when starting highlight
- Extend highlight to 15 seconds
- Fade out when stopping highlight
Bug:
73313161
Test: visual
Change-Id: Ie6c3d640566f2eecc501d4c4f96df512171ff4b6
Tracy Zhou [Mon, 26 Feb 2018 22:13:53 +0000 (14:13 -0800)]
Fix PictureInPictureSettingsTest.
Bug:
73892555
Bug:
73892683
Test: m RunSettingsRoboTests
Change-Id: Id4145600240f12c2cc2f5aed978a1fe65fd1fd74
Andreas Gampe [Mon, 26 Feb 2018 22:24:23 +0000 (22:24 +0000)]
Merge changes I8dcc30b0,I85292ad2,Ie0ab3534 am:
ffec1a0c68 am:
8d0a8ed985
am:
2658f2059c
Change-Id: Id4b3c85c9bf4bf7b76910e895b57d21e66c0e85f
Andreas Gampe [Mon, 26 Feb 2018 22:16:49 +0000 (22:16 +0000)]
Merge changes I67dbf04a,I032f6741 am:
727ec42d8d am:
6b24cc5769
am:
257f42fd9d
Change-Id: I8bb1a61f255a1c80242ac264f061f15153df12aa
Andreas Gampe [Mon, 26 Feb 2018 22:16:43 +0000 (22:16 +0000)]
Merge changes I8dcc30b0,I85292ad2,Ie0ab3534 am:
ffec1a0c68
am:
8d0a8ed985
Change-Id: I0eb99bc2c2d1ec67c23ad020627a2cf43cfbb71d
Andreas Gampe [Mon, 26 Feb 2018 22:08:50 +0000 (22:08 +0000)]
Merge changes I8dcc30b0,I85292ad2,Ie0ab3534
am:
ffec1a0c68
Change-Id: Ibac8d021d8d65fdab91f682b9fbfc0231a61a93f
Andreas Gampe [Mon, 26 Feb 2018 22:08:42 +0000 (22:08 +0000)]
Merge changes I67dbf04a,I032f6741 am:
727ec42d8d
am:
6b24cc5769
Change-Id: Ib649c224f4496785ae1eba0bce3a411eca8aa1bd
Andreas Gampe [Mon, 26 Feb 2018 22:01:25 +0000 (22:01 +0000)]
Merge changes I67dbf04a,I032f6741
am:
727ec42d8d
Change-Id: I4c8ce0fa68ae3fbf2a3e835d165a766b6e6aad5c
Treehugger Robot [Mon, 26 Feb 2018 22:00:19 +0000 (22:00 +0000)]
Merge changes I8dcc30b0,I85292ad2,Ie0ab3534
* changes:
Settings: Disable failing test
Settings: Disable failing test
Settings: Fix assertThat in tests
TreeHugger Robot [Mon, 26 Feb 2018 21:51:01 +0000 (21:51 +0000)]
Merge changes I06df032d,Ib923de28
* changes:
Settings: Disable failing tests.
Settings: Fix assertThat in tests
Treehugger Robot [Mon, 26 Feb 2018 21:36:15 +0000 (21:36 +0000)]
Merge changes I67dbf04a,I032f6741
* changes:
Settings: Disable failing assert
Settings: Fix assertThat in test
Andreas Gampe [Mon, 26 Feb 2018 20:14:05 +0000 (12:14 -0800)]
Settings: Disable failing assert
Temporarily disable.
Bug:
73892004
Test: m RunSettingsRoboTests
Change-Id: I67dbf04ae59e54632155c3eda67c70335147fd19
Andreas Gampe [Mon, 26 Feb 2018 20:28:42 +0000 (12:28 -0800)]
Settings: Disable failing test
Disable temporarily.
Bug:
73892683
Test: m RunSettingsRoboTests
Change-Id: I8dcc30b0b090fef1f2fd8fa3c6de7bf69e8b97a9
Andreas Gampe [Mon, 26 Feb 2018 20:27:56 +0000 (12:27 -0800)]
Settings: Disable failing test
Disable temporarily.
Bug:
73892555
Test: m RunSettingsRoboTests
Change-Id: I85292ad20de2cb169825eccb19dff1eb82e6fbe1
Andreas Gampe [Mon, 26 Feb 2018 19:28:21 +0000 (11:28 -0800)]
Settings: Fix assertThat in tests
Truth.assertThat is a fluent-style API. Fix the tests to actually
do something.
Found by errorprone.
Bug:
73513670
Test: m RunSettingsRoboTests
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Ie0ab35348fa56c73e6257477a50ff130450e74e7
Andreas Gampe [Mon, 26 Feb 2018 20:22:29 +0000 (12:22 -0800)]
Settings: Disable failing tests.
Temporarily disable.
Bug:
73892008
Test: m RunSettingsRoboTests
Change-Id: I06df032d4a4de84c2f9f46e5086d97f688b0c989
Andreas Gampe [Mon, 26 Feb 2018 19:28:21 +0000 (11:28 -0800)]
Settings: Fix assertThat in tests
Truth.assertThat is a fluent-style API. Fix the tests to actually
do something.
Found by errorprone.
Bug:
73513670
Test: m RunSettingsRoboTests
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Ib923de28ce5dcf79b9dec718306877e31e58e024
Andreas Gampe [Mon, 26 Feb 2018 19:28:21 +0000 (11:28 -0800)]
Settings: Fix assertThat in test
Truth.assertThat is a fluent-style API. Fix the tests to actually
do something.
Found by errorprone.
Bug:
73513670
Test: m RunSettingsRoboTests
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: I032f6741ac0c728781a9d22ab6158e7b74a30167
Bill Yi [Mon, 26 Feb 2018 20:02:29 +0000 (12:02 -0800)]
Import translations. DO NOT MERGE
Change-Id: I15e875c8272a3d3beba7f0dbd89872f70df1be4f
Auto-generated-cl: translation import
Zhizhi Liu [Mon, 26 Feb 2018 19:22:04 +0000 (19:22 +0000)]
Merge "Move IconCache to SettingsLib(II)."
Yueming Wang [Mon, 26 Feb 2018 14:58:41 +0000 (14:58 +0000)]
Revert "Fix the crash when editing or deleting APN."
This reverts commit
db9a9bb0b0438816909e002156cb7322c66a0d28.
Reason for revert: As per discussion in b/
72484718, we are going to
block Access Point Name entry point in Network&Settings, so we no longer
need the change in ApnSettings fragment itself.
Bug:
72484718
Change-Id: Ia84f129b86fe72b3b2dc9699d5893ced7c65e1c3
TreeHugger Robot [Mon, 26 Feb 2018 18:42:32 +0000 (18:42 +0000)]
Merge "Update visual disturbances text"
Julia Reynolds [Mon, 26 Feb 2018 14:45:00 +0000 (09:45 -0500)]
Notifications should not be in 'advanced'
Change-Id: I23f9707d9dbee5a13011bd0f2df0d837348f72cf
Fixes:
73553854
Test: RunSettingsRoboTests
Julia Reynolds [Tue, 20 Feb 2018 14:03:07 +0000 (09:03 -0500)]
Update visual disturbances text
Bug:
73455127
Test: manual
Change-Id: I8420d2493e9f10cf164dad7e1bb1a870d3b7055f
TreeHugger Robot [Mon, 26 Feb 2018 13:38:47 +0000 (13:38 +0000)]
Merge "Fix bug causing the Overlay Settings page to be hidden behind overlays."
Peter Visontay [Mon, 12 Feb 2018 14:46:06 +0000 (14:46 +0000)]
Fix bug causing the Overlay Settings page to be hidden behind overlays.
Test: Manually using an app that displays a full-screen overlay.
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=DrawOverlayDetailsTest
Bug:
72734249
Change-Id: I84b61fea2a793bebfac025ca3a209286ceeef963
Andrew Sapperstein [Mon, 26 Feb 2018 01:02:38 +0000 (17:02 -0800)]
Delete unused layout: preference_importance_slider.
And its associated colors.
Test: builds
Change-Id: Ibe3f4399b15d97f976a598553b04d92296067a74
Yoshinori Hirano [Sat, 24 Feb 2018 23:59:56 +0000 (23:59 +0000)]
Merge "Add SettingsMultiSelectListPreference style DO NOT MERGE" am:
8378efc6af -s ours am:
942249a2dd -s ours
am:
e847fbe6a0 -s ours
Change-Id: Ia61630b201a283198113d0cc5751ab5892768543
Yoshinori Hirano [Sat, 24 Feb 2018 23:54:26 +0000 (23:54 +0000)]
Merge "Add SettingsMultiSelectListPreference style DO NOT MERGE" am:
8378efc6af -s ours
am:
942249a2dd -s ours
Change-Id: I23af2770255199348eaa8c69d990ff2907ff90de
Yoshinori Hirano [Sat, 24 Feb 2018 23:48:50 +0000 (23:48 +0000)]
Merge "Add SettingsMultiSelectListPreference style DO NOT MERGE"
am:
8378efc6af -s ours
Change-Id: Ic3274cd389282ac819d41830fa907d7fcf9ddb61
Treehugger Robot [Sat, 24 Feb 2018 23:28:45 +0000 (23:28 +0000)]
Merge "Add SettingsMultiSelectListPreference style DO NOT MERGE"
Yoshinori Hirano [Mon, 30 Oct 2017 05:38:57 +0000 (14:38 +0900)]
Add SettingsMultiSelectListPreference style DO NOT MERGE
There is no OK and CANCEL button when changing APN Bearer.
To fix this issue, OK and CANCEL button should be added to
SettingsMultiSelectListPreference style.
Fixes:
66928311
Test: manual - Add a new APN and tap Bearer
Change-Id: I2b5719a7c1fdb721b15308e0eef7db3e6398e097
TreeHugger Robot [Sat, 24 Feb 2018 02:58:32 +0000 (02:58 +0000)]
Merge "More renaming in DashboardFragment"
TreeHugger Robot [Sat, 24 Feb 2018 02:29:25 +0000 (02:29 +0000)]
Merge "Update location and accessibility summary."
TreeHugger Robot [Sat, 24 Feb 2018 02:05:25 +0000 (02:05 +0000)]
Merge "Rename Indexable::getAllPreferenceControllers."
TreeHugger Robot [Sat, 24 Feb 2018 01:07:45 +0000 (01:07 +0000)]
Merge "Update the Bluetooth Active Device state in the Device Manager"
Fan Zhang [Thu, 22 Feb 2018 21:51:41 +0000 (13:51 -0800)]
More renaming in DashboardFragment
getPreferenceControllers() -> createPreferenceControllers() for the same
reason as in ag/
3647936
Bug:
73668763
Test: robotests
Change-Id: I97670a91a2a38d1c844d1b9d37f4222c5e6f45a0
TreeHugger Robot [Sat, 24 Feb 2018 00:53:34 +0000 (00:53 +0000)]
Merge "Add divider in About phone screen."
Fan Zhang [Thu, 22 Feb 2018 21:32:32 +0000 (13:32 -0800)]
Rename Indexable::getAllPreferenceControllers.
To getPreferenceControllers. "all" is redundant. Then internally, the
old getPreferenceControllers() is renamed to
createPreferenceControllers() to emphasize the controllers are created
from code (versus the ones created from xml).
Bug:
73668763
Test: robotest
Change-Id: Ifec46aefdc2a418031c8e152028b30bdcd396fc7
Hansong Zhang [Sat, 24 Feb 2018 00:32:41 +0000 (00:32 +0000)]
Merge "Add developer menu entry to enable Bluetooth AVDTP delay reports" am:
ad84c9552d -s ours am:
d2040309ca
am:
c9f1e73dc7 -s ours
Change-Id: I53faa69e09a06948e6ff47ee1d8a0848ccbca592
Hansong Zhang [Sat, 24 Feb 2018 00:26:09 +0000 (00:26 +0000)]
Merge "Add developer menu entry to enable Bluetooth AVDTP delay reports" am:
ad84c9552d -s ours
am:
d2040309ca
Change-Id: I93238df1e9d889817f0d025203ac437c12cfa2d8
Hansong Zhang [Sat, 24 Feb 2018 00:19:01 +0000 (00:19 +0000)]
Merge "Add developer menu entry to enable Bluetooth AVDTP delay reports"
am:
ad84c9552d -s ours
Change-Id: Icb23ebb9baaf02ac0f9469e9d4601c67d22ba5ad
TreeHugger Robot [Sat, 24 Feb 2018 00:13:45 +0000 (00:13 +0000)]
Merge "Instantiate pref controllers from xml if it's defined."
Doris Ling [Fri, 23 Feb 2018 23:23:02 +0000 (15:23 -0800)]
Update location and accessibility summary.
- change ON/OFF to On/Off.
Change-Id: I5c9536aaa231befe55d002be33e47a4e43779863
Fixes:
73774291
Test: visual
TreeHugger Robot [Fri, 23 Feb 2018 23:31:47 +0000 (23:31 +0000)]
Merge "Settings: Move DefaultAppInfo CandidateInfo to SettingsLib"
Treehugger Robot [Fri, 23 Feb 2018 23:07:26 +0000 (23:07 +0000)]
Merge "Add developer menu entry to enable Bluetooth AVDTP delay reports"
TreeHugger Robot [Fri, 23 Feb 2018 22:56:48 +0000 (22:56 +0000)]
Merge changes from topic "ww_5_auto_restrict"
* changes:
Add special check for excessive bg anomaly
Add auto restriction for excessive background
Fan Zhang [Wed, 21 Feb 2018 23:22:25 +0000 (15:22 -0800)]
Instantiate pref controllers from xml if it's defined.
- If a <preference> tag also defines a controller, we will try to
instantiate it before displaying the UI. The same logic is shared by
BaseSearchIndexProvider so it also drives search suppression.
- If user also defines a list of controllers programatically, the
programatically created ones takes precedence.
Bug:
73668763
Test: WIP
Change-Id: I7aecec270bcd3af261e012ef1f6995d2a523cfa1
Dake Gu [Wed, 21 Feb 2018 01:02:12 +0000 (17:02 -0800)]
Settings: Move DefaultAppInfo CandidateInfo to SettingsLib
Bug:
3600711
Test: Moved DefaultAppInfoTest to SettingsLib
m RunSettingsRoboTests
Change-Id: If9e2288009277f1940b9769790b78bb0a58b626a
TreeHugger Robot [Fri, 23 Feb 2018 20:53:16 +0000 (20:53 +0000)]
Merge "Actually test for truth."
TreeHugger Robot [Fri, 23 Feb 2018 20:51:28 +0000 (20:51 +0000)]
Merge "Fix reset button being disabled."
Pavlin Radoslavov [Tue, 6 Feb 2018 21:58:20 +0000 (13:58 -0800)]
Update the Bluetooth Active Device state in the Device Manager
The Bluetooth Active Device state should be updated for all
CachedBluetoothDevice entries.
This should be done inside CachedBluetoothDeviceManager in SettingsLib
instead of BluetoothDeviceUpdater in the Settings app.
Bug:
72316092
Test: Manual - two headsets and switching the active device
Change-Id: If379bb0853dcd78385430cf14192e9adfae4ecd0
Maurice Lam [Fri, 23 Feb 2018 19:00:43 +0000 (19:00 +0000)]
Merge "Improve pattern layout for tiiiny screens"
Vishnu Nair [Fri, 23 Feb 2018 18:25:04 +0000 (18:25 +0000)]
Merge "Simplify Window/Surface trace by using one QS Tile"
TreeHugger Robot [Fri, 23 Feb 2018 18:20:28 +0000 (18:20 +0000)]
Merge "Add search keyword on fingerprint settings."
jackqdyulei [Thu, 22 Feb 2018 18:22:08 +0000 (10:22 -0800)]
Add special check for excessive bg anomaly
To check whether this app has battery usage more than x%
Bug:
72385333
Test: RunSettingsRoboTests
Change-Id: I87e6b01c866a053658f84ce3486120ae82963fd9
jackqdyulei [Tue, 20 Feb 2018 23:07:26 +0000 (15:07 -0800)]
Add auto restriction for excessive background
If it is excessive bg anomaly and auto restriction is on, then
restrict the anomaly in receiver and store it in database.
Also in this cl we move the anomaly logic to a JobService, so all
works are done in a background thread and won't interfere the main
thread.
Bug:
72385333
Test: RunSettingsRoboTests &&
Will add auto restriction test once robo framework is updated(b/
73172999)
Change-Id: Id0ec5fb449ce26bf19a292bcbe63838d621cfd8e
Narayan Kamath [Fri, 23 Feb 2018 17:36:59 +0000 (17:36 +0000)]
Merge "AnomalyTester: Remove dependency on bouncycastle."
Fan Zhang [Fri, 23 Feb 2018 02:22:16 +0000 (18:22 -0800)]
Add search keyword on fingerprint settings.
Change-Id: Id4e581a4cc6473908fd85876c506b7b1cda10dd6
Fixes:
73739267
Test: reindex search
TreeHugger Robot [Fri, 23 Feb 2018 12:54:22 +0000 (12:54 +0000)]
Merge "Settings: Change an assert in test"
hansson [Fri, 23 Feb 2018 07:35:31 +0000 (07:35 +0000)]
Merge "packages/apps/Settings: Set LOCAL_SDK_VERSION where possible." am:
f5b75dd74d am:
aa0812f42b
am:
685b923a1b
Change-Id: I39a6aad6f8bf21741de4feb838694ab43dc5d074
hansson [Fri, 23 Feb 2018 07:30:14 +0000 (07:30 +0000)]
Merge "packages/apps/Settings: Set LOCAL_SDK_VERSION where possible." am:
f5b75dd74d
am:
aa0812f42b
Change-Id: I6ef97b4506cf656194090bcf9b0df543190f1e79
hansson [Fri, 23 Feb 2018 07:24:45 +0000 (07:24 +0000)]
Merge "packages/apps/Settings: Set LOCAL_SDK_VERSION where possible."
am:
f5b75dd74d
Change-Id: Ie9aa31d9a2d89a330b682c8602320ad58cbc8ae1
hansson [Fri, 23 Feb 2018 07:15:36 +0000 (07:15 +0000)]
Merge "packages/apps/Settings: Set LOCAL_SDK_VERSION where possible."
TreeHugger Robot [Fri, 23 Feb 2018 06:53:32 +0000 (06:53 +0000)]
Merge "Fix NPE in InstantAppButtonsPreferenceController"
TreeHugger Robot [Fri, 23 Feb 2018 06:51:31 +0000 (06:51 +0000)]
Merge "Update to match now slice APIs"
TreeHugger Robot [Fri, 23 Feb 2018 06:43:23 +0000 (06:43 +0000)]
Merge "Revert "[Settings] Add focus for SSIDtext to show IME""
TreeHugger Robot [Fri, 23 Feb 2018 06:35:13 +0000 (06:35 +0000)]
Merge "Add divider in Location settings"
TreeHugger Robot [Fri, 23 Feb 2018 06:19:08 +0000 (06:19 +0000)]
Merge "Settings: Annotate JUnit4 test with @Test"
Andreas Gampe [Fri, 23 Feb 2018 05:54:07 +0000 (21:54 -0800)]
Settings: Change an assert in test
Avoid isEqualsTo for a self-equality test.
Bug:
73797873
Test: m javac-check RUN_ERROR_PRONE=true
Test: m RunSettingsRoboTests
Change-Id: I6f0398b4518d6c967c8cfea38b5c075304b5f368
TreeHugger Robot [Fri, 23 Feb 2018 05:39:03 +0000 (05:39 +0000)]
Merge "Import translations. DO NOT MERGE"
Andreas Gampe [Fri, 23 Feb 2018 04:25:34 +0000 (20:25 -0800)]
Settings: Annotate JUnit4 test with @Test
Mollify Errorprone.
Bug:
72076216
Bug:
73796195
Test: m javac-check RUN_ERROR_PRONE=true
Test: m RunSettingsRoboTests
Test: atest WifiSettingsUiTest
Change-Id: I9bc950f0ecf8d6de89b9401ea4cf1c50fd3acbcd
TreeHugger Robot [Fri, 23 Feb 2018 04:24:54 +0000 (04:24 +0000)]
Merge "Setting to control UI mode"
Yuchen Chang [Fri, 23 Feb 2018 01:06:37 +0000 (01:06 +0000)]
Revert "[Settings] Add focus for SSIDtext to show IME"
This reverts commit
c6233057ca482af8571a93de675d1983f5b3138b.
Reason for revert: cause side effect for other cursor focus missing
Change-Id: I9c788a2726bdd6bc7c663e9115bbc24538f871de
Bug:
73702700
Bug:
72882629
Tracy Zhou [Fri, 23 Feb 2018 03:13:00 +0000 (03:13 +0000)]
Merge "Correct picture-in-picture setting behavior for managed profile."
Hansong Zhang [Thu, 4 Jan 2018 00:26:19 +0000 (16:26 -0800)]
Add developer menu entry to enable Bluetooth AVDTP delay reports
Bug:
32755225
Test: Manual test with a device that supports delay reporting
Change-Id: Ib84eb6a67c15634818efd98f6e454b323e16a8ff
Merged-In: I8f121dd7f94bce3a07deb9cb23c698829cbecd96
Doris Ling [Fri, 23 Feb 2018 00:33:07 +0000 (16:33 -0800)]
Fix reset button being disabled.
- When doing factory reset, we will launch the account credential
confirmation. If this fails, the settings page is re-initialized.
This steps might trigger multiple layout changes for the scrollview
before it is finalized. However, we are removing the global layout
listener once we receive the first update, which could result in the
reset button being disabled incorrectly, as the scroll state is
calculated based on wrong view heights. Remove the call that remove
the layout listener, so that we can still receive further updates.
- also remove the scroll listener once we enable the reset button
from scroll, as no more action is really needed on suceeding scroll.
Change-Id: I6ec1f592991629c15e5ad2bcb29fdd679d598f70
Fixes:
73298075
Test: make RunSettingsRoboTests
Tracy Zhou [Wed, 21 Feb 2018 22:22:21 +0000 (14:22 -0800)]
Correct picture-in-picture setting behavior for managed profile.
- Show picture-in-picture setting in the app info page for managed
profile.
- Navigate to work app setting instead of non-work app setting on
tapping setting icon from picture-in-picture window. This requires
correctly processing passed-in UserHandle to fetch the right package
info.
Bug:
71592457
Test: make RunSettingsRoboTests
Change-Id: Id3dd04e88a57ae3d8c319c17615992637128589b
Hansong Zhang [Thu, 4 Jan 2018 02:27:56 +0000 (18:27 -0800)]
Add developer menu entry to enable Bluetooth AVDTP delay reports
Bug:
32755225
Test: Manual test with a device that supports delay reporting;
Robolectric tests
Change-Id: I8f121dd7f94bce3a07deb9cb23c698829cbecd96
Jason Monk [Thu, 22 Feb 2018 21:33:51 +0000 (16:33 -0500)]
Update to match now slice APIs
Test: make
Change-Id: Ie74e1b179f80e1d0faf259bd22b3ae4e953a0726
Lei Yu [Thu, 22 Feb 2018 20:55:46 +0000 (20:55 +0000)]
Merge "Add action to open the anomaly detail page"
Lei Yu [Thu, 22 Feb 2018 20:27:53 +0000 (20:27 +0000)]
Merge "Fix the update error in EarlyWarningTip"
Lei Yu [Thu, 22 Feb 2018 20:27:00 +0000 (20:27 +0000)]
Merge changes from topics "ww_4_delete_data", "ww_3_checkconfig", "ww_2_uploadIntent", "ww_1_receiver"
* changes:
Add JobService to delete obsolete anomaly data
Add code to handle anomaly config update
Add AnomalyConfigReceiver
Add AnomalyDetectionReceiver
Zhizhi Liu [Thu, 22 Feb 2018 19:44:51 +0000 (11:44 -0800)]
Move IconCache to SettingsLib(II).
Remove IconCache from Settings.
Test: Setting tests passed.
Change-Id: If4d256c5baec2fae8a1cba3cc3a62d4612a2d417