OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoAdding zen dialog in zen settings
Beverly [Mon, 22 Jan 2018 15:30:06 +0000 (10:30 -0500)]
Adding zen dialog in zen settings

Test: make ROBOTEST_FILTER=EnableZenModeDialogTest RunSettingsRoboTests -j40
Bug: 63077372
Change-Id: Ib3193788bb0a31e20683d3191eb1238d6a63f1e7

6 years agoMerge "Display recent apps in notification settings"
TreeHugger Robot [Tue, 23 Jan 2018 13:56:24 +0000 (13:56 +0000)]
Merge "Display recent apps in notification settings"

6 years agoDisplay recent apps in notification settings
Julia Reynolds [Mon, 22 Jan 2018 21:20:47 +0000 (16:20 -0500)]
Display recent apps in notification settings

The last 5 non-system apps that have sent notifications
will be displayed at the top level of notification settings for
easy access.

Test: make -j20 RunSettingsRoboTests
Change-Id: Ifaae36f977beb0438a740f61ff0ac9c97f3acc80
Fixes: 63927402

6 years agoMerge "Add a new About Phone page."
TreeHugger Robot [Tue, 23 Jan 2018 07:04:29 +0000 (07:04 +0000)]
Merge "Add a new About Phone page."

6 years agoMerge "Wifi MAC Randomization: Developer Options"
Jong Wook Kim [Tue, 23 Jan 2018 06:40:51 +0000 (06:40 +0000)]
Merge "Wifi MAC Randomization: Developer Options"

6 years agoMerge "Policy transparency for mandatory backups."
TreeHugger Robot [Tue, 23 Jan 2018 05:21:41 +0000 (05:21 +0000)]
Merge "Policy transparency for mandatory backups."

6 years agoMerge "Finished initial implementation of StorageAccessDetails."
TreeHugger Robot [Tue, 23 Jan 2018 04:16:49 +0000 (04:16 +0000)]
Merge "Finished initial implementation of StorageAccessDetails."

6 years agoMerge "Add checkbox to let user wipe eSIM data together with FDR"
TreeHugger Robot [Tue, 23 Jan 2018 03:41:43 +0000 (03:41 +0000)]
Merge "Add checkbox to let user wipe eSIM data together with FDR"

6 years agoMerge "Revert "Migrate to use instrumentation classes from settingslib.""
TreeHugger Robot [Tue, 23 Jan 2018 01:58:18 +0000 (01:58 +0000)]
Merge "Revert "Migrate to use instrumentation classes from settingslib.""

6 years agoMerge "Revamp the battery detail page for each app"
Lei Yu [Tue, 23 Jan 2018 01:21:27 +0000 (01:21 +0000)]
Merge "Revamp the battery detail page for each app"

6 years agoAdd a new About Phone page.
Daniel Nishi [Tue, 19 Dec 2017 18:15:14 +0000 (10:15 -0800)]
Add a new About Phone page.

This adds the "Me Card" page. The current functionality is to show
information based upon the first account added to the system. The page
shows the user's avatar, name, primary account, and phone number.

Bug: 63819909
Test: Robotest

Change-Id: I64bfae922e828994b2b87009d0647e67dab0da42

6 years agoAdd checkbox to let user wipe eSIM data together with FDR
Qingxi Li [Thu, 11 Jan 2018 19:35:07 +0000 (11:35 -0800)]
Add checkbox to let user wipe eSIM data together with FDR

This CL add a check box for eSIM enabled devices to reset eSIM data
during factory reset of the phone.

Bug: 67500470
Test: make RunSettingsRoboTests
Change-Id: I5a81d43f23ae55f8549a5b807fdf41f36c9d3acd

6 years agoMerge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"
TreeHugger Robot [Mon, 22 Jan 2018 23:59:32 +0000 (23:59 +0000)]
Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"

6 years agoMerge "Use SoftAp API to get number of connected device"
TreeHugger Robot [Mon, 22 Jan 2018 23:49:34 +0000 (23:49 +0000)]
Merge "Use SoftAp API to get number of connected device"

6 years agoMerge "AR/FR: Tests using stubbed values."
TreeHugger Robot [Mon, 22 Jan 2018 23:30:34 +0000 (23:30 +0000)]
Merge "AR/FR: Tests using stubbed values."

6 years agoRevamp the battery detail page for each app
jackqdyulei [Sat, 20 Jan 2018 01:32:23 +0000 (17:32 -0800)]
Revamp the battery detail page for each app

1. Move preferences to new postion
2. Change background activity pref from SwitchPreference to
Preference and update the controller

Bug: 72227981
Test: RunSettingsRoboTests
Change-Id: Ib18ac7523c24d19754c37ab8ac527095d9ced49c

6 years agoMerge "conditionally add FLAG_ACTIVITY_NEW_TASK when starting page"
Fan Zhang [Mon, 22 Jan 2018 23:13:47 +0000 (23:13 +0000)]
Merge "conditionally add FLAG_ACTIVITY_NEW_TASK when starting page"

6 years agoconditionally add FLAG_ACTIVITY_NEW_TASK when starting page
Fan Zhang [Mon, 22 Jan 2018 22:07:52 +0000 (14:07 -0800)]
conditionally add FLAG_ACTIVITY_NEW_TASK when starting page

Subsettings must be started from Activity context, apparently.

Add a flag when it's not started from Activity context. This might not
be catching all cases but should at lesat cover most of them.

Change-Id: I8157ec0cb3d032bb44a0e7dec36637906fc8f1a0
Fixes: 72314527
Test: monkey

6 years agoUse SoftAp API to get number of connected device
jackqdyulei [Fri, 19 Jan 2018 17:41:58 +0000 (09:41 -0800)]
Use SoftAp API to get number of connected device

Create unit test because robolectric doesn't have the new API

Bug: 68058038
Test: SettingsUnitTest

Change-Id: I9fa27d51c4d270b2fb92db7dfc3955e33d4a3f4a

6 years agoAR/FR: Tests using stubbed values.
Carlos Valdivia [Mon, 22 Jan 2018 02:57:28 +0000 (18:57 -0800)]
AR/FR: Tests using stubbed values.

Also a simplifying change to MasterClear.

Test: Standard robotests
Bug: 63937032
Change-Id: I54fe60c2e38d938148f89d043bf8a7f7698edc42

6 years agoMerge "Fix crash in new time zone picker."
Joachim Sauer [Mon, 22 Jan 2018 21:15:08 +0000 (21:15 +0000)]
Merge "Fix crash in new time zone picker."

6 years agoAdd Settings support for Bluetooth Multi-A2DP and Multi-HFP
Pavlin Radoslavov [Sun, 21 Jan 2018 10:04:45 +0000 (02:04 -0800)]
Add Settings support for Bluetooth Multi-A2DP and Multi-HFP

When there are multiple connected A2DP/HFP devices, if a connected
device's name is clicked on, that device will be chosen as
Active - i.e., it will be the device chosen for audio out / phone call.

Test: Manual: multiple connected A2DP devices, and selecting each as
      the Active Device.
Bug: 64767509

Change-Id: Iee76286110ed87703d6a968f50273c22cd7c7086

6 years agoRevert "Migrate to use instrumentation classes from settingslib."
Leif Wilden [Mon, 22 Jan 2018 20:22:02 +0000 (20:22 +0000)]
Revert "Migrate to use instrumentation classes from settingslib."

This reverts commit 1546cca529bf56430332e15b05ceb6efb37e57bf.

Reason for revert: Broke fingerprint setup flow. b/72267201

Change-Id: I8321265ae64732c526325882ddea51080decddf5

6 years agoMerge "Change high usage detector logic"
Lei Yu [Mon, 22 Jan 2018 20:21:51 +0000 (20:21 +0000)]
Merge "Change high usage detector logic"

6 years agoMerge "Remove reference to missing string."
TreeHugger Robot [Mon, 22 Jan 2018 20:21:48 +0000 (20:21 +0000)]
Merge "Remove reference to missing string."

6 years agoFinished initial implementation of StorageAccessDetails.
Felipe Leme [Sat, 20 Jan 2018 01:34:23 +0000 (17:34 -0800)]
Finished initial implementation of StorageAccessDetails.

It still needs some polishing and unit tests, which will be added later.

Test: manual verification

Bug: 63720392

Change-Id: I8da1094aaaf4ebbe5d388021e859265091fd429c

6 years agoFix crash in new time zone picker.
Joachim Sauer [Mon, 22 Jan 2018 15:47:24 +0000 (15:47 +0000)]
Fix crash in new time zone picker.

When entering the new time zone picker with a fixed offset time zone
(such as UTC) selected, it would crash with a NullPointerException.

This fixes the crash.

Bug: 72143165
Bug: 62255208
Test: manual
Change-Id: I1f54d3276edb98ab7bd6a092be4497386a69d6be

6 years agoMerge "Add an intent for the advanced connected devices."
Daniel Nishi [Mon, 22 Jan 2018 19:09:29 +0000 (19:09 +0000)]
Merge "Add an intent for the advanced connected devices."

6 years agoRemove reference to missing string.
Salvador Martinez [Mon, 22 Jan 2018 18:09:09 +0000 (10:09 -0800)]
Remove reference to missing string.

A support string was being used by non-support xml. These references
have been replaced with new ones so that things don't break.

Test: Robotests still pass
Change-Id: I5574aedca110b9795a68c2947be0a866bb21cb63
Fixes: 71858657

6 years agoWifi MAC Randomization: Developer Options
Jong Wook Kim [Sat, 6 Jan 2018 02:42:36 +0000 (18:42 -0800)]
Wifi MAC Randomization: Developer Options

Add a toggle in developers options to turn on/off connected MAC
randomization for devices that support the feature. This toggle will be
only available on devices that support dynamic MAC address change and
indicated as so in config_wifi_support_connected_mac_randomization.

The toggle changes Settings Global value WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED, which the Wifi Framework will listen for to start/stop randomizing MAC addresses.

Bug: 67908229
Bug: 71548421
Test: RunSettingsRoboTests, manual testing checking that the toggle comes up and changes global settings value.
Change-Id: Ia4749cd0a1e7466333bd8a93088d6340f6567e25

6 years agoPolicy transparency for mandatory backups.
Lenka Trochtova [Wed, 17 Jan 2018 10:05:30 +0000 (11:05 +0100)]
Policy transparency for mandatory backups.

Bug: 64012357
Test: manual

Change-Id: I6f3dd294cca26fc0572ce6b8723a616902b1752f

6 years agoMerge "Add checkbox for erase esim under network reset screen"
Qingxi Li [Sat, 20 Jan 2018 06:20:02 +0000 (06:20 +0000)]
Merge "Add checkbox for erase esim under network reset screen"

6 years agoChange high usage detector logic
jackqdyulei [Fri, 19 Jan 2018 00:04:42 +0000 (16:04 -0800)]
Change high usage detector logic

Based on the requirement, change it to detect:
"whether battery draining is larger than x in the last y hours"

Bug: 70570352
Test: RunSettingsRoboTests
Change-Id: I9fb1a9f2fe38d5d64681dafe26311aeab7f3fe9c

6 years agoAdd an intent for the advanced connected devices.
Daniel Nishi [Fri, 19 Jan 2018 22:11:20 +0000 (14:11 -0800)]
Add an intent for the advanced connected devices.

This allows us to intent into it for setting specific advanced settings.

Bug: 66679618
Test: BT notification punts to correct screen

Change-Id: I6ff4fbcea2ebf563d634419eac0713365061f88d

6 years agoAdd checkbox for erase esim under network reset screen
Qingxi Li [Fri, 5 Jan 2018 18:52:42 +0000 (10:52 -0800)]
Add checkbox for erase esim under network reset screen

This CL add a checkbox letting user decide when they reset the network
configurations under System > Reset options > Reset Wi-Fi, mobile &
Bluetooth, whether they want to reset eSIM together or not. If the user
choose to reset eSIM togather, EuiccManager#eraseSubscriptions will be
called and all the eSIM profiles will be removed.

Bug: 62961867
Test: E2E & make RunSettingsRoboTests
Change-Id: I533756b12c0474e8e58cc6fe60a38c119365cee2

6 years agoMerge "Block sleep options in Settings app when DISALLOW_CONFIG_SCREEN_TIMEOUT is...
TreeHugger Robot [Fri, 19 Jan 2018 22:25:23 +0000 (22:25 +0000)]
Merge "Block sleep options in Settings app when DISALLOW_CONFIG_SCREEN_TIMEOUT is set."

6 years agoMerge "Unregister hotspot receiver in TetherService."
TreeHugger Robot [Fri, 19 Jan 2018 22:01:18 +0000 (22:01 +0000)]
Merge "Unregister hotspot receiver in TetherService."

6 years agoMerge "Add capability for OEMs to supply their own SearchIndexableResources."
TreeHugger Robot [Fri, 19 Jan 2018 21:50:28 +0000 (21:50 +0000)]
Merge "Add capability for OEMs to supply their own SearchIndexableResources."

6 years agoMerge "Add restrict app detail page"
Lei Yu [Fri, 19 Jan 2018 20:47:52 +0000 (20:47 +0000)]
Merge "Add restrict app detail page"

6 years agoMerge "Include instant apps in Recently opened apps list"
TreeHugger Robot [Fri, 19 Jan 2018 20:42:50 +0000 (20:42 +0000)]
Merge "Include instant apps in Recently opened apps list"

6 years agoMerge "Fix FakeUid implementation"
TreeHugger Robot [Fri, 19 Jan 2018 20:41:45 +0000 (20:41 +0000)]
Merge "Fix FakeUid implementation"

6 years agoUnregister hotspot receiver in TetherService.
Doris Ling [Thu, 18 Jan 2018 23:04:59 +0000 (15:04 -0800)]
Unregister hotspot receiver in TetherService.

- when the service exits, also unregister the hotspot receiver.
- move TetherService and HotspotOffReceiver to wifi.tether package.

Change-Id: I0044a52bf80a5530a58b5186ab056de55e83532b
Fixes: 69844871
Test: make RunSettingsRoboTests

6 years agoBlock sleep options in Settings app when DISALLOW_CONFIG_SCREEN_TIMEOUT is set.
yuemingw [Thu, 18 Jan 2018 21:05:12 +0000 (21:05 +0000)]
Block sleep options in Settings app when DISALLOW_CONFIG_SCREEN_TIMEOUT is set.

Test: m -j RunSettingsRoboTests
Bug: 67675734
Change-Id: Icdcadd03caa2884338d4300fb41f0036b8b9eb51

6 years agoAdd capability for OEMs to supply their own SearchIndexableResources.
Ben Lin [Thu, 18 Jan 2018 01:53:20 +0000 (17:53 -0800)]
Add capability for OEMs to supply their own SearchIndexableResources.

This moves SearchIndexableResources to be supplied by FeatureFactory
rather than its own singleton, which in effect allows OEMs to supply their
own, in the case where they have their own classes they want to be
indexed (or, remove certain classes that used to be indexed).

Bug: 72179744
Test: All tests pass.

Change-Id: Ia06b2026df7eca4c53b44a5a589c4aaa0b69d96c

6 years agoMerge "Zen automatic rule page ui changes"
TreeHugger Robot [Fri, 19 Jan 2018 19:09:12 +0000 (19:09 +0000)]
Merge "Zen automatic rule page ui changes"

6 years agoInclude instant apps in Recently opened apps list
Antony Sargent [Fri, 19 Jan 2018 19:04:22 +0000 (11:04 -0800)]
Include instant apps in Recently opened apps list

We were accidentally excluding instant apps from the recently opened
apps list in Settings->Apps and notifications.

Test: make RunSettingsRoboTests
Change-Id: I9cac956ceacbfba74a79b38cb01afa2de74ee6fe
Fixes: 71591298

6 years agoMerge "Only show app action button if it is not instant app."
TreeHugger Robot [Fri, 19 Jan 2018 18:48:23 +0000 (18:48 +0000)]
Merge "Only show app action button if it is not instant app."

6 years agoAdd restrict app detail page
jackqdyulei [Mon, 8 Jan 2018 23:46:55 +0000 (15:46 -0800)]
Add restrict app detail page

1. Move force standby action to BatteryUtils
2. Add click action for restricted preference(go to detail page)
3. Build app list in detail page using packageOps list

Bug: 71502850
Test: RunSettingsRoboTests
Change-Id: I1e6733e5402e7a854b07a8bbb43a86255276bfaa

6 years agoMerge "Migrate to use instrumentation classes from settingslib."
Leif Wilden [Fri, 19 Jan 2018 17:58:00 +0000 (17:58 +0000)]
Merge "Migrate to use instrumentation classes from settingslib."

6 years agoMerge "Renamed Storage Access to Directory Access."
TreeHugger Robot [Fri, 19 Jan 2018 15:33:44 +0000 (15:33 +0000)]
Merge "Renamed Storage Access to Directory Access."

6 years agoMerge "Add new no-op interface method." am: 78bfc6f55f am: 6f918104aa
Jeff Sharkey [Fri, 19 Jan 2018 05:26:03 +0000 (05:26 +0000)]
Merge "Add new no-op interface method." am: 78bfc6f55f am: 6f918104aa
am: cd08de069a

Change-Id: Iae7e87a1965a549923875c13f142df09a2557672

6 years agoMerge "AR/FR: Settings changes."
TreeHugger Robot [Fri, 19 Jan 2018 03:54:32 +0000 (03:54 +0000)]
Merge "AR/FR: Settings changes."

6 years agoMerge "Fix the time format error in high usage dialog"
TreeHugger Robot [Fri, 19 Jan 2018 03:49:34 +0000 (03:49 +0000)]
Merge "Fix the time format error in high usage dialog"

6 years agoMerge "Remove more things from search v1"
TreeHugger Robot [Fri, 19 Jan 2018 02:50:24 +0000 (02:50 +0000)]
Merge "Remove more things from search v1"

6 years agoAR/FR: Settings changes.
Carlos Valdivia [Tue, 16 Jan 2018 21:59:31 +0000 (13:59 -0800)]
AR/FR: Settings changes.

The basic AOSP settings infrastrucutre. Will add the Google specific
resources and tests to GoogleSettings in the next AR/FR change.

Test: make DEBUG_ROBOLECTRIC=1 RunSettingsRoboTests -j40
ROBOTEST_FILTER=com.android.settings.MasterClearTest.java

Change-Id: I7278b5c6d2a72e71d81c7fa5f937a2313d6c322c

6 years agoFix the time format error in high usage dialog
jackqdyulei [Tue, 16 Jan 2018 22:21:42 +0000 (14:21 -0800)]
Fix the time format error in high usage dialog

It should show time string rather than milli seconds.

Fixes: 71960199
Test: RunSettingsRoboTests
Change-Id: I35acbad53069c06379b4b7884ff9bd8aa24c5697

6 years agoMerge "Add database to store anomaly data"
Lei Yu [Fri, 19 Jan 2018 01:35:53 +0000 (01:35 +0000)]
Merge "Add database to store anomaly data"

6 years agoMerge "Add new no-op interface method." am: 78bfc6f55f
Jeff Sharkey [Fri, 19 Jan 2018 01:12:04 +0000 (01:12 +0000)]
Merge "Add new no-op interface method." am: 78bfc6f55f
am: 6f918104aa

Change-Id: I4c6643c124838a6dd3d69d58be358f824461a632

6 years agoMerge "Add new no-op interface method."
Jeff Sharkey [Fri, 19 Jan 2018 01:04:49 +0000 (01:04 +0000)]
Merge "Add new no-op interface method."
am: 78bfc6f55f

Change-Id: I9dd3e64ad11886d852ed0db15830aa93f4f63dfc

6 years agoMerge "Add new no-op interface method."
Jeff Sharkey [Thu, 18 Jan 2018 23:58:30 +0000 (23:58 +0000)]
Merge "Add new no-op interface method."

6 years agoRemove more things from search v1
Fan Zhang [Thu, 18 Jan 2018 21:07:49 +0000 (13:07 -0800)]
Remove more things from search v1

Test: robotests
Change-Id: Ide54d1cec69ae3a6782a979d3eeb7f3fc44f09b3

6 years agoZen automatic rule page ui changes
Beverly [Fri, 12 Jan 2018 21:50:44 +0000 (16:50 -0500)]
Zen automatic rule page ui changes

- Can change rule name from header
- Text for turning on/off rule is now "Use rule" instead of on/off

Test: make ROBOTEST_FILTER=EntityHeaderControllerTest RunSettingsRoboTests -j40
Test: manual (Settings > Sound > Do Not Disturb > Turn On Automatically)
Bug: 63077372
Change-Id: Id55b02de0509f168c2470a4f875e84140eb840fa

6 years agoMerge "Remove apps with usage access from security page"
TreeHugger Robot [Thu, 18 Jan 2018 22:23:18 +0000 (22:23 +0000)]
Merge "Remove apps with usage access from security page"

6 years agoOnly show app action button if it is not instant app.
Doris Ling [Thu, 18 Jan 2018 22:16:27 +0000 (14:16 -0800)]
Only show app action button if it is not instant app.

- for instant app, we are showing another set of buttons, and hence the
regular app action buttons should be not be available.

Change-Id: I53f2a10921451c281166e123671c088ab87b2b0d
Fixes: 71919219
Test: make RunSettingsRoboTests

6 years agoAdd database to store anomaly data
jackqdyulei [Tue, 16 Jan 2018 18:12:40 +0000 (10:12 -0800)]
Add database to store anomaly data

1. Refactor HighUsageApp to AppInfo so it could be
reused both in dialog and app restriction
2. Add BatteryDatabaseHelper to store the anomaly log

Bug: 70570352
Test: RunSettingsRoboTests

Change-Id: I900cd9746ff7f1e19bd6f3948463588b7cf72b85

6 years agoMerge "Update suggestion card layout"
TreeHugger Robot [Thu, 18 Jan 2018 22:02:13 +0000 (22:02 +0000)]
Merge "Update suggestion card layout"

6 years agoRenamed Storage Access to Directory Access.
Felipe Leme [Thu, 18 Jan 2018 21:01:14 +0000 (13:01 -0800)]
Renamed Storage Access to Directory Access.

Test: manual verification
Test: make RunSettingsRoboTests -j40

Bug: 63720392
Bug: 72135562

Change-Id: I31e63456994d7a9cd2a83a260930835a1052e793

6 years agoAdd new no-op interface method.
Jeff Sharkey [Thu, 18 Jan 2018 21:51:21 +0000 (14:51 -0700)]
Add new no-op interface method.

Test: bit FrameworksNetTests:android.net.,com.android.server.net.
Test: bit FrameworksTelephonyTests:com.android.internal.telephony.dataconnection.DataConnectionTest
Change-Id: I46ab8fab705a6467f72b13b7dbc7f8af5f76fecf
Exempt-From-Owner-Approval: trivial no-op overload
Bug: 64133169

6 years agoMerge "Remove roam scan developer settings"
Ningyuan Wang [Thu, 18 Jan 2018 21:20:51 +0000 (21:20 +0000)]
Merge "Remove roam scan developer settings"

6 years agoMerge "Add dynamic summaries to Slices"
TreeHugger Robot [Thu, 18 Jan 2018 20:37:42 +0000 (20:37 +0000)]
Merge "Add dynamic summaries to Slices"

6 years agoRemove apps with usage access from security page
Fan Zhang [Thu, 18 Jan 2018 20:17:11 +0000 (12:17 -0800)]
Remove apps with usage access from security page

Change-Id: I6791de77caa5d88a26bd2cddd8d5dcdee189a319
Fixes: 72164705
Test: robotests

6 years agoMerge changes Ic95d219b,I58d82cbc
TreeHugger Robot [Thu, 18 Jan 2018 19:54:09 +0000 (19:54 +0000)]
Merge changes Ic95d219b,I58d82cbc

* changes:
  Don't add any trust agents if the controller is not available.
  Introduce boolean flags to show/hide items in Security & location.

6 years agoUpdate suggestion card layout
Doris Ling [Thu, 18 Jan 2018 19:36:21 +0000 (11:36 -0800)]
Update suggestion card layout

- set card corner radius
- update card margin according to number of card and card position
- update text alignment for title and summary

Bug: 70573674
Test: visual
Change-Id: Icfceed5614ded97ce2a7767667ae97f92b89b2fa

6 years agoMigrate to use instrumentation classes from settingslib.
Leif Hendrik Wilden [Thu, 11 Jan 2018 18:15:36 +0000 (10:15 -0800)]
Migrate to use instrumentation classes from settingslib.

Test: Compiles. Manually tested.
Change-Id: Ie5515bb0fe3e621fc7723a9b04ba23e4bfa9c401

6 years agoFix build breakage dependency.
Michael Rosenfeld [Thu, 18 Jan 2018 19:11:39 +0000 (11:11 -0800)]
Fix build breakage dependency.

Test: manual, builds
Change-Id: I43bd8dedc48a268bdf6cfaaf1f4c524ef6d3b646

6 years agoRemove roam scan developer settings
Ningyuan Wang [Wed, 17 Jan 2018 22:23:42 +0000 (14:23 -0800)]
Remove roam scan developer settings

Bug: 72116071
Test: compile
Test: m RunSettingsRoboTests -j40
Test: Manually check developer options, make sure roam scan is
gone

Change-Id: Ibe9fb31551962ecbb2979d0d2ec6885838b919b7

6 years agoMerge "Change Settings to use URL_FILTERED and blocks menu options when DPC Apns...
TreeHugger Robot [Thu, 18 Jan 2018 18:01:40 +0000 (18:01 +0000)]
Merge "Change Settings to use URL_FILTERED and blocks menu options when DPC Apns are enforced."

6 years agoMerge "Ignore first crash dialog."
Andrew Sapperstein [Thu, 18 Jan 2018 17:49:33 +0000 (17:49 +0000)]
Merge "Ignore first crash dialog."

6 years agoMerge "DisplayCutout: Add emulation option to DeveloperSettings"
Adrian Roos [Thu, 18 Jan 2018 17:31:59 +0000 (17:31 +0000)]
Merge "DisplayCutout: Add emulation option to DeveloperSettings"

6 years agoMerge "Show Toast with location of trace when trace is disabled"
TreeHugger Robot [Thu, 18 Jan 2018 17:12:42 +0000 (17:12 +0000)]
Merge "Show Toast with location of trace when trace is disabled"

6 years agoMerge "Moving Settings tests closer to the settings code"
Ashita Sriraman [Thu, 18 Jan 2018 17:02:17 +0000 (17:02 +0000)]
Merge "Moving Settings tests closer to the settings code"

6 years agoChange Settings to use URL_FILTERED and blocks menu options when DPC Apns are enforced.
yuemingw [Wed, 10 Jan 2018 21:22:09 +0000 (21:22 +0000)]
Change Settings to use URL_FILTERED and blocks menu options when DPC Apns are enforced.

Change-Id: I64f55d9a625097baa17c0fa05250d944dea09896
Fix: 68208277
Test: manual

6 years agoMerge "Remove aggressive handover developer setting"
TreeHugger Robot [Thu, 18 Jan 2018 10:59:21 +0000 (10:59 +0000)]
Merge "Remove aggressive handover developer setting"

6 years agoMerge "Disable UI in Settings app when DISALLOW_CONFIG_LOCATION_MODE is set."
Yueming Wang [Thu, 18 Jan 2018 10:26:57 +0000 (10:26 +0000)]
Merge "Disable UI in Settings app when DISALLOW_CONFIG_LOCATION_MODE is set."

6 years agoMerge "Asynchronously load SliceData from SliceProvider"
TreeHugger Robot [Thu, 18 Jan 2018 05:00:59 +0000 (05:00 +0000)]
Merge "Asynchronously load SliceData from SliceProvider"

6 years agoMerge "Specify package name when launching search UI"
TreeHugger Robot [Thu, 18 Jan 2018 04:14:24 +0000 (04:14 +0000)]
Merge "Specify package name when launching search UI"

6 years agoMerge "Move styleActionBar to onStart()"
TreeHugger Robot [Thu, 18 Jan 2018 03:03:02 +0000 (03:03 +0000)]
Merge "Move styleActionBar to onStart()"

6 years agoMerge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3...
Bolun Shan [Thu, 18 Jan 2018 03:01:29 +0000 (03:01 +0000)]
Merge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3c  -s ours am: bc00e361d5
am: b50162415a  -s ours

Change-Id: I9f7850dfd0836b6e3e6c40bca8295e515a476bef

6 years agoMerge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3...
Bolun Shan [Thu, 18 Jan 2018 02:59:45 +0000 (02:59 +0000)]
Merge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3c  -s ours
am: bc00e361d5

Change-Id: Ie4be52fa2e0d304aa268a4610ba03cb52997dd5d

6 years agoMerge "DO NOT MERGE: Keep access point list updated once in short time"
Bolun Shan [Thu, 18 Jan 2018 02:57:28 +0000 (02:57 +0000)]
Merge "DO NOT MERGE: Keep access point list updated once in short time"
am: d7682e6d3c  -s ours

Change-Id: I134755ec0ec77dea80649440b969f9bcee8eab17

6 years agoMerge "DO NOT MERGE: Keep access point list updated once in short time"
Treehugger Robot [Thu, 18 Jan 2018 02:48:31 +0000 (02:48 +0000)]
Merge "DO NOT MERGE: Keep access point list updated once in short time"

6 years agoMerge "Fix NPE crash in AppInfoBase" am: e49cc3d659 am: abcb069d95
tiansiming [Thu, 18 Jan 2018 02:34:11 +0000 (02:34 +0000)]
Merge "Fix NPE crash in AppInfoBase" am: e49cc3d659 am: abcb069d95
am: b5697b2d45

Change-Id: I5e40dde6e0f98a8ba046df78f9b9e3ddcc3f2ce9

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 18 Jan 2018 02:30:25 +0000 (02:30 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Fix NPE crash in AppInfoBase" am: e49cc3d659
tiansiming [Thu, 18 Jan 2018 02:25:19 +0000 (02:25 +0000)]
Merge "Fix NPE crash in AppInfoBase" am: e49cc3d659
am: abcb069d95

Change-Id: Id60245ba109dc977ee1078e8d3f50288e5bdbcc7

6 years agoMerge "Fix NPE crash in AppInfoBase"
tiansiming [Thu, 18 Jan 2018 02:15:29 +0000 (02:15 +0000)]
Merge "Fix NPE crash in AppInfoBase"
am: e49cc3d659

Change-Id: I719b50356e890e57a8d6574aae23a2d5d0fd989b

6 years agoDon't add any trust agents if the controller is not available.
Ben Lin [Wed, 17 Jan 2018 19:40:15 +0000 (11:40 -0800)]
Don't add any trust agents if the controller is not available.

TrustAgentListPreferenceController gets a list of trust agents and add
them to the security_category preference category at runtime. However,
this update process is always ran - even if the controller is explicitly
disabled/not available. This fixes this.

Bug: None
Test: Updated TrustAgentListPreferenceControllerTest.
Change-Id: Ic95d219bc1d0c7cfa0c4eed0d3dd12dec0e14df6

6 years agoIntroduce boolean flags to show/hide items in Security & location.
Ben Lin [Tue, 16 Jan 2018 23:51:57 +0000 (15:51 -0800)]
Introduce boolean flags to show/hide items in Security & location.

This adds 6 new boolean flags:
config_show_manage_device_admin
config_show_unlock_set_or_change
config_show_screen_pinning_settings
config_show_manage_trust_agents
config_show_show_password
config_show_trust_agent_click_intent

Which when individually set to false, will hide the item from "Security
& location". It will also hide them from surfacing in search results.

Bug:62379222
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=com.android.settings.security
Change-Id: I58d82cbc7f366a9666cdb0f7cd1b90ebbaf418f4

6 years agoMove styleActionBar to onStart()
Fan Zhang [Thu, 18 Jan 2018 00:52:30 +0000 (16:52 -0800)]
Move styleActionBar to onStart()

Change-Id: I002c266acc0e1095269e92eb7988b1ab505e48ff
Fixes: 72097389
Test: robotest

6 years agoDO NOT MERGE: Keep access point list updated once in short time
Bolun Shan [Thu, 12 Oct 2017 07:17:08 +0000 (15:17 +0800)]
DO NOT MERGE: Keep access point list updated once in short time

The function onAccessPointsChanged will be called many times
and access points will be updated many times in 300ms. So check
if the same event exists before calling postDelayed.

Bug: 68230819
Test: Manual test
Change-Id: Id098e1b77c28b62a5495c3369ed950531e59dba2

6 years agoAsynchronously load SliceData from SliceProvider
Matthew Fritze [Wed, 10 Jan 2018 19:40:28 +0000 (11:40 -0800)]
Asynchronously load SliceData from SliceProvider

The slices paradigm is to return a slice as soon as possible
whith whatever information is currently available. Then, load the
longer information in the background and broadcast on the Uri when
the changes are ready.

This CL incorprates a cache system for SettingsSliceProvider to
load that data in the background to solve the issues of multiple
simultaneous callers.

Bug: 67996923
Test: robotests
Change-Id: I0e3f9984181e1c989fed139707cdb27956cf6de6