OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Remove duplicate test"
TreeHugger Robot [Wed, 28 Feb 2018 18:03:14 +0000 (18:03 +0000)]
Merge "Remove duplicate test"

6 years agoMerge "Fixed failing launch of Data usage activty from data saver suggestion."
Jan Nordqvist [Wed, 28 Feb 2018 17:21:16 +0000 (17:21 +0000)]
Merge "Fixed failing launch of Data usage activty from data saver suggestion."

6 years agoMerge "Fix not delivering result to fragment using SubSettingLauncher"
Victor Chang [Wed, 28 Feb 2018 10:59:36 +0000 (10:59 +0000)]
Merge "Fix not delivering result to fragment using SubSettingLauncher"

6 years agoMerge "Change PreferenceController#getSummary return type."
TreeHugger Robot [Wed, 28 Feb 2018 08:40:29 +0000 (08:40 +0000)]
Merge "Change PreferenceController#getSummary return type."

6 years agoChange PreferenceController#getSummary return type.
Fan Zhang [Tue, 27 Feb 2018 18:30:11 +0000 (10:30 -0800)]
Change PreferenceController#getSummary return type.

Return CharSequence instead of String.

All user visible string should be modeled as CharSequence.

Bug: 73950519
Test: robotest
Change-Id: I30befef0c33f94351d4a2774e283bd1ed804aa8b

6 years agoMerge changes I06df032d,Ib923de28 am: 59a548b940 am: 34f43b50ce
Andreas Gampe [Wed, 28 Feb 2018 05:16:29 +0000 (05:16 +0000)]
Merge changes I06df032d,Ib923de28 am: 59a548b940 am: 34f43b50ce
am: fd99b8b009  -s ours

Change-Id: I0eab3f2bdcbacb8a4fc3bc4d171299c74c806c56

6 years agoMerge changes I06df032d,Ib923de28 am: 59a548b940
Andreas Gampe [Wed, 28 Feb 2018 04:51:14 +0000 (04:51 +0000)]
Merge changes I06df032d,Ib923de28 am: 59a548b940
am: 34f43b50ce

Change-Id: I0bb87911c11685bcc8caa58d5a3ce9cf044e4ee1

6 years agoMerge changes I06df032d,Ib923de28
Andreas Gampe [Wed, 28 Feb 2018 04:37:06 +0000 (04:37 +0000)]
Merge changes I06df032d,Ib923de28
am: 59a548b940

Change-Id: I4d1314379ba77c07b64c3ca5c77a61f9a54d4c1d

6 years agoMerge changes I06df032d,Ib923de28
Treehugger Robot [Wed, 28 Feb 2018 03:34:13 +0000 (03:34 +0000)]
Merge changes I06df032d,Ib923de28

* changes:
  Settings: Disable failing tests.
  Settings: Fix assertThat in tests

6 years agoMerge "rename emergency tone settings" am: 2054a4d6d4 am: eb664426c5
Chen Xu [Wed, 28 Feb 2018 02:49:11 +0000 (02:49 +0000)]
Merge "rename emergency tone settings" am: 2054a4d6d4 am: eb664426c5
am: 648d302ba7

Change-Id: I5edb5cf7b20b022b2a2514ec96bf99e38cf2c007

6 years agoMerge "rename emergency tone settings" am: 2054a4d6d4
Chen Xu [Wed, 28 Feb 2018 02:43:59 +0000 (02:43 +0000)]
Merge "rename emergency tone settings" am: 2054a4d6d4
am: eb664426c5

Change-Id: I9c4bd1ae9ac8c13732686949ce316c7abf8e5c75

6 years agoMerge "rename emergency tone settings"
Chen Xu [Wed, 28 Feb 2018 02:38:23 +0000 (02:38 +0000)]
Merge "rename emergency tone settings"
am: 2054a4d6d4

Change-Id: I106fc98ae0dab79e5e8bc9b5ec10c3810a440aaa

6 years agoSettings: Disable failing tests.
Andreas Gampe [Mon, 26 Feb 2018 20:22:29 +0000 (12:22 -0800)]
Settings: Disable failing tests.

Temporarily disable.

(cherry picked from commit b506fb9b1918fe4b2144339567862ff03b3942cc)

Bug: 73892008
Test: m RunSettingsRoboTests
Exempt-From-Owner-Approval: Cherrypick
Merged-In: I06df032d4a4de84c2f9f46e5086d97f688b0c989
Change-Id: I06df032d4a4de84c2f9f46e5086d97f688b0c989

6 years agoMerge "rename emergency tone settings"
Chen Xu [Wed, 28 Feb 2018 02:17:26 +0000 (02:17 +0000)]
Merge "rename emergency tone settings"

6 years agoSettings: Fix assertThat in tests
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.

(cherry picked from commit 22bad556a1863bff80c4ec517ada315f7b01890e)

Bug: 73513670
Test: m RunSettingsRoboTests
Test: m javac-check RUN_ERROR_PRONE=true
Exempt-From-Owner-Approval: Cherrypick
Merged-In: Ib923de28ce5dcf79b9dec718306877e31e58e024
Change-Id: Ib923de28ce5dcf79b9dec718306877e31e58e024

6 years agoMerge "Fix search non-indexable update"
TreeHugger Robot [Wed, 28 Feb 2018 02:09:21 +0000 (02:09 +0000)]
Merge "Fix search non-indexable update"

6 years agoRemove duplicate test
Salvador Martinez [Wed, 28 Feb 2018 01:43:12 +0000 (17:43 -0800)]
Remove duplicate test

PowerUsageSummary was duplicated to have the old version exist
in developer options. This test is for a debug feature which will
not be released so there is no point in having a duplicate of it
as well. This CL removes that test.

Test: Is a test CL
Bug: 73513677
Change-Id: Ia3ed704018cfaa0b05c4bf0f2799ff8151ba4b85

6 years agoMerge "Remove unused classes and tests."
TreeHugger Robot [Wed, 28 Feb 2018 00:42:28 +0000 (00:42 +0000)]
Merge "Remove unused classes and tests."

6 years agoFix search non-indexable update
Fan Zhang [Wed, 28 Feb 2018 00:05:02 +0000 (16:05 -0800)]
Fix search non-indexable update

- When creating preference conotrollers, if one fail, skip that one
  instead of giving up entire operation.
- Fix BatterySaverController by providing a existing looper.

Change-Id: Iefe443b7fa91e51515c5c247fab4d9588867baef
Fixes: 73903739
Test: robotest

6 years agoMerge "Fix the AnomalyCleanUpJobService"
Lei Yu [Wed, 28 Feb 2018 00:13:37 +0000 (00:13 +0000)]
Merge "Fix the AnomalyCleanUpJobService"

6 years agoMerge "Add logging for battery tip"
TreeHugger Robot [Tue, 27 Feb 2018 23:39:33 +0000 (23:39 +0000)]
Merge "Add logging for battery tip"

6 years agoMerge "Add metric for BatteryTipDialogFragmnt"
TreeHugger Robot [Tue, 27 Feb 2018 23:39:33 +0000 (23:39 +0000)]
Merge "Add metric for BatteryTipDialogFragmnt"

6 years agorename emergency tone settings
fionaxu [Tue, 27 Feb 2018 23:14:57 +0000 (15:14 -0800)]
rename emergency tone settings

Bug: 67470733
Test: Manual
Change-Id: I67e223c2db662f518fa306221190d4646668c4d3

6 years agoMerge "Revert "Update to match now slice APIs""
Alan Viverette [Tue, 27 Feb 2018 22:08:31 +0000 (22:08 +0000)]
Merge "Revert "Update to match now slice APIs""

6 years agoRevert "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

6 years agoRemove unused classes and tests.
Jerry Zhang [Fri, 23 Feb 2018 22:43:58 +0000 (14:43 -0800)]
Remove unused classes and tests.

Old usb pages have been replaced by UsbDetailsFragment
and UsbDefaultFragment. Old connected devices has
been replaced by new connected devices.

Bug: 70848054
Test: Passes
Change-Id: I538cbb88d4f878449a83da9a4a0381e74e840c6a

6 years agoMerge "Delete unused layout: preference_importance_slider."
TreeHugger Robot [Tue, 27 Feb 2018 20:28:43 +0000 (20:28 +0000)]
Merge "Delete unused layout: preference_importance_slider."

6 years agoFix the AnomalyCleanUpJobService
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

6 years agoRevert "Change Settings to use URL_FILTERED and blocks menu options when DPC Apns...
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

6 years agoMerge "Revert "Fix the crash when editing or deleting APN.""
Alex Chau [Tue, 27 Feb 2018 12:02:19 +0000 (12:02 +0000)]
Merge "Revert "Fix the crash when editing or deleting APN.""

6 years agoMerge "Remove controller definitions from code"
TreeHugger Robot [Tue, 27 Feb 2018 03:03:27 +0000 (03:03 +0000)]
Merge "Remove controller definitions from code"

6 years agoAdd logging for battery tip
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

6 years agoFixed failing launch of Data usage activty from data saver suggestion.
Jan Nordqvist [Mon, 26 Feb 2018 21:55:00 +0000 (13:55 -0800)]
Fixed failing launch of Data usage activty from data saver suggestion.

After introducing the new data usage UI behind a feature flag a bug was
introduced that causes the data saver suggestion to throw an exception
from a missing class reference in "legacy" mode.

Bug: 73648306
Test: manual
Change-Id: I4fcd2bd0f55931f40738266dca94a55fea5087b3

6 years agoRemove controller definitions from code
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

6 years agoMerge "Search highlight polish"
TreeHugger Robot [Tue, 27 Feb 2018 00:28:07 +0000 (00:28 +0000)]
Merge "Search highlight polish"

6 years agoMerge "Fix PictureInPictureSettingsTest."
TreeHugger Robot [Tue, 27 Feb 2018 00:08:16 +0000 (00:08 +0000)]
Merge "Fix PictureInPictureSettingsTest."

6 years agoMerge "Report High usage even in a short period"
TreeHugger Robot [Mon, 26 Feb 2018 23:00:22 +0000 (23:00 +0000)]
Merge "Report High usage even in a short period"

6 years agoAdd metric for BatteryTipDialogFragmnt
jackqdyulei [Mon, 26 Feb 2018 22:46:49 +0000 (14:46 -0800)]
Add metric for BatteryTipDialogFragmnt

Bug: 73888115
Test: Build
Change-Id: I234865f31658d3a44df4aa9521b6b2ea0f26f287

6 years agoSearch highlight polish
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

6 years agoFix PictureInPictureSettingsTest.
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

6 years agoMerge changes I8dcc30b0,I85292ad2,Ie0ab3534 am: ffec1a0c68 am: 8d0a8ed985
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

6 years agoMerge changes I67dbf04a,I032f6741 am: 727ec42d8d am: 6b24cc5769
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

6 years agoMerge changes I8dcc30b0,I85292ad2,Ie0ab3534 am: ffec1a0c68
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

6 years agoMerge changes I8dcc30b0,I85292ad2,Ie0ab3534
Andreas Gampe [Mon, 26 Feb 2018 22:08:50 +0000 (22:08 +0000)]
Merge changes I8dcc30b0,I85292ad2,Ie0ab3534
am: ffec1a0c68

Change-Id: Ibac8d021d8d65fdab91f682b9fbfc0231a61a93f

6 years agoMerge changes I67dbf04a,I032f6741 am: 727ec42d8d
Andreas Gampe [Mon, 26 Feb 2018 22:08:42 +0000 (22:08 +0000)]
Merge changes I67dbf04a,I032f6741 am: 727ec42d8d
am: 6b24cc5769

Change-Id: Ib649c224f4496785ae1eba0bce3a411eca8aa1bd

6 years agoMerge changes I67dbf04a,I032f6741
Andreas Gampe [Mon, 26 Feb 2018 22:01:25 +0000 (22:01 +0000)]
Merge changes I67dbf04a,I032f6741
am: 727ec42d8d

Change-Id: I4c8ce0fa68ae3fbf2a3e835d165a766b6e6aad5c

6 years agoMerge changes I8dcc30b0,I85292ad2,Ie0ab3534
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

6 years agoMerge changes I06df032d,Ib923de28
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

6 years agoMerge changes I67dbf04a,I032f6741
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

6 years agoSettings: Disable failing assert
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

6 years agoSettings: Disable failing test
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

6 years agoSettings: Disable failing test
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

6 years agoSettings: Fix assertThat in tests
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

6 years agoSettings: Disable failing tests.
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

6 years agoSettings: Fix assertThat in tests
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

6 years agoSettings: Fix assertThat in test
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

6 years agoImport translations. DO NOT MERGE
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

6 years agoMerge "Move IconCache to SettingsLib(II)."
Zhizhi Liu [Mon, 26 Feb 2018 19:22:04 +0000 (19:22 +0000)]
Merge "Move IconCache to SettingsLib(II)."

6 years agoRevert "Fix the crash when editing or deleting APN."
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

6 years agoMerge "Update visual disturbances text"
TreeHugger Robot [Mon, 26 Feb 2018 18:42:32 +0000 (18:42 +0000)]
Merge "Update visual disturbances text"

6 years agoNotifications should not be in 'advanced'
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

6 years agoFix not delivering result to fragment using SubSettingLauncher
Victor Chang [Fri, 23 Feb 2018 17:54:44 +0000 (17:54 +0000)]
Fix not delivering result to fragment using SubSettingLauncher

- Call Fragment.startActivityForResult instead of Activity's one

Test: make RunSettingsRoboTests
Test: App info page is closed instantly after uninstalling the package
Change-Id: If29c097c988101f89dcd9d0a5c1c68deed04eaa9

6 years agoUpdate visual disturbances text
Julia Reynolds [Tue, 20 Feb 2018 14:03:07 +0000 (09:03 -0500)]
Update visual disturbances text

Bug: 73455127
Test: manual
Change-Id: I8420d2493e9f10cf164dad7e1bb1a870d3b7055f

6 years agoMerge "Fix bug causing the Overlay Settings page to be hidden behind overlays."
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."

6 years agoFix 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

6 years agoDelete unused layout: preference_importance_slider.
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

6 years agoMerge "Add SettingsMultiSelectListPreference style DO NOT MERGE" am: 8378efc6af ...
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

6 years agoMerge "Add SettingsMultiSelectListPreference style DO NOT MERGE" am: 8378efc6af ...
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

6 years agoMerge "Add SettingsMultiSelectListPreference style DO NOT MERGE"
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

6 years agoMerge "Add SettingsMultiSelectListPreference style DO NOT MERGE"
Treehugger Robot [Sat, 24 Feb 2018 23:28:45 +0000 (23:28 +0000)]
Merge "Add SettingsMultiSelectListPreference style DO NOT MERGE"

6 years agoAdd 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

6 years agoMerge "More renaming in DashboardFragment"
TreeHugger Robot [Sat, 24 Feb 2018 02:58:32 +0000 (02:58 +0000)]
Merge "More renaming in DashboardFragment"

6 years agoMerge "Update location and accessibility summary."
TreeHugger Robot [Sat, 24 Feb 2018 02:29:25 +0000 (02:29 +0000)]
Merge "Update location and accessibility summary."

6 years agoMerge "Rename Indexable::getAllPreferenceControllers."
TreeHugger Robot [Sat, 24 Feb 2018 02:05:25 +0000 (02:05 +0000)]
Merge "Rename Indexable::getAllPreferenceControllers."

6 years agoMerge "Update the Bluetooth Active Device state in the Device Manager"
TreeHugger Robot [Sat, 24 Feb 2018 01:07:45 +0000 (01:07 +0000)]
Merge "Update the Bluetooth Active Device state in the Device Manager"

6 years agoMore renaming in DashboardFragment
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

6 years agoMerge "Add divider in About phone screen."
TreeHugger Robot [Sat, 24 Feb 2018 00:53:34 +0000 (00:53 +0000)]
Merge "Add divider in About phone screen."

6 years agoRename Indexable::getAllPreferenceControllers.
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

6 years agoMerge "Add developer menu entry to enable Bluetooth AVDTP delay reports" am: ad84c955...
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

6 years agoMerge "Add developer menu entry to enable Bluetooth AVDTP delay reports" am: ad84c955...
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

6 years agoMerge "Add developer menu entry to enable Bluetooth AVDTP delay reports"
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

6 years agoMerge "Instantiate pref controllers from xml if it's defined."
TreeHugger Robot [Sat, 24 Feb 2018 00:13:45 +0000 (00:13 +0000)]
Merge "Instantiate pref controllers from xml if it's defined."

6 years agoUpdate location and accessibility summary.
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

6 years agoMerge "Settings: Move DefaultAppInfo CandidateInfo to SettingsLib"
TreeHugger Robot [Fri, 23 Feb 2018 23:31:47 +0000 (23:31 +0000)]
Merge "Settings: Move DefaultAppInfo CandidateInfo to SettingsLib"

6 years agoMerge "Add developer menu entry to enable Bluetooth AVDTP delay reports"
Treehugger Robot [Fri, 23 Feb 2018 23:07:26 +0000 (23:07 +0000)]
Merge "Add developer menu entry to enable Bluetooth AVDTP delay reports"

6 years agoMerge changes from topic "ww_5_auto_restrict"
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

6 years agoInstantiate pref controllers from xml if it's defined.
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

6 years agoSettings: Move DefaultAppInfo CandidateInfo to SettingsLib
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

6 years agoMerge "Actually test for truth."
TreeHugger Robot [Fri, 23 Feb 2018 20:53:16 +0000 (20:53 +0000)]
Merge "Actually test for truth."

6 years agoMerge "Fix reset button being disabled."
TreeHugger Robot [Fri, 23 Feb 2018 20:51:28 +0000 (20:51 +0000)]
Merge "Fix reset button being disabled."

6 years agoUpdate the Bluetooth Active Device state in the Device Manager
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

6 years agoMerge "Improve pattern layout for tiiiny screens"
Maurice Lam [Fri, 23 Feb 2018 19:00:43 +0000 (19:00 +0000)]
Merge "Improve pattern layout for tiiiny screens"

6 years agoMerge "Simplify Window/Surface trace by using one QS Tile"
Vishnu Nair [Fri, 23 Feb 2018 18:25:04 +0000 (18:25 +0000)]
Merge "Simplify Window/Surface trace by using one QS Tile"

6 years agoMerge "Add search keyword on fingerprint settings."
TreeHugger Robot [Fri, 23 Feb 2018 18:20:28 +0000 (18:20 +0000)]
Merge "Add search keyword on fingerprint settings."

6 years agoAdd special check for excessive bg anomaly
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

6 years agoAdd auto restriction for excessive background
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

6 years agoMerge "AnomalyTester: Remove dependency on bouncycastle."
Narayan Kamath [Fri, 23 Feb 2018 17:36:59 +0000 (17:36 +0000)]
Merge "AnomalyTester: Remove dependency on bouncycastle."

6 years agoAdd search keyword on fingerprint settings.
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

6 years agoMerge "Settings: Change an assert in test"
TreeHugger Robot [Fri, 23 Feb 2018 12:54:22 +0000 (12:54 +0000)]
Merge "Settings: Change an assert in test"

6 years agoMerge "packages/apps/Settings: Set LOCAL_SDK_VERSION where possible." am: f5b75dd74d...
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