OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Bluetooth: Use "Disable" in-band ringing instead of "Enable"" am: 80c0656ca6...
Jack He [Mon, 8 Jan 2018 20:34:53 +0000 (20:34 +0000)]
Merge "Bluetooth: Use "Disable" in-band ringing instead of "Enable"" am: 80c0656ca6 am: e34375b88c
am: dc9b879ef9  -s ours

Change-Id: I7faaf5fb7e1647e13e0c9539c4bfd9580497c9f5

6 years agoMerge "Bluetooth: Use "Disable" in-band ringing instead of "Enable"" am: 80c0656ca6
Jack He [Mon, 8 Jan 2018 20:20:47 +0000 (20:20 +0000)]
Merge "Bluetooth: Use "Disable" in-band ringing instead of "Enable"" am: 80c0656ca6
am: e34375b88c

Change-Id: Ie9a167aa6310643465238510831eee8cfab34965

6 years agoMerge "Remove support v1"
TreeHugger Robot [Mon, 8 Jan 2018 18:29:18 +0000 (18:29 +0000)]
Merge "Remove support v1"

6 years agoMerge "Revert "Don't use framework strings for formatting file sizes""
Victor Chang [Mon, 8 Jan 2018 11:24:09 +0000 (11:24 +0000)]
Merge "Revert "Don't use framework strings for formatting file sizes""

6 years agoMerge "Bluetooth: Use "Disable" in-band ringing instead of "Enable""
Jack He [Sat, 6 Jan 2018 17:33:02 +0000 (17:33 +0000)]
Merge "Bluetooth: Use "Disable" in-band ringing instead of "Enable""
am: 80c0656ca6

Change-Id: Ifab1cde7af9421ce140c298df295c75e5e9055ed

6 years agoMerge "Bluetooth MaxConnectedAudioDevices show correct number"
TreeHugger Robot [Sat, 6 Jan 2018 05:57:23 +0000 (05:57 +0000)]
Merge "Bluetooth MaxConnectedAudioDevices show correct number"

6 years agoMerge "Add tests for some security setting controllers"
TreeHugger Robot [Sat, 6 Jan 2018 03:31:24 +0000 (03:31 +0000)]
Merge "Add tests for some security setting controllers"

6 years agoRemove support v1
Salvador Martinez [Fri, 5 Jan 2018 18:39:49 +0000 (10:39 -0800)]
Remove support v1

Support v1 is no longer used and we want to keep the codebase clean.

Test: robotests still pass
Bug: 70620533
Change-Id: Ic8af0f34aab510a533bd7a7ec5c059834395baf5

6 years agoMerge "Add help info at the bottom of the dialog"
TreeHugger Robot [Sat, 6 Jan 2018 00:15:43 +0000 (00:15 +0000)]
Merge "Add help info at the bottom of the dialog"

6 years agoBluetooth MaxConnectedAudioDevices show correct number
Hansong Zhang [Fri, 5 Jan 2018 22:47:26 +0000 (14:47 -0800)]
Bluetooth MaxConnectedAudioDevices show correct number

* When the preference is changed by the user, it will update the UI
* When the Developer options is enabled, it will set the system property
to default number
* Change string "Maximum number of connected Bluetooth audio devices" to
"Maximum connected Bluetooth audio devices" per discussion with Lindsay

Bug: 71603731
Test: m
ROBOTEST_FILTER="BluetoothMaxConnectedAudioDevicesPreferenceControllerTest"
RunSettingsRoboTests -j40
Change-Id: I3e59534585065c84530da73ffded21894c845ce9

6 years agoAdd tests for some security setting controllers
Fan Zhang [Fri, 5 Jan 2018 19:18:44 +0000 (11:18 -0800)]
Add tests for some security setting controllers

Bug: 32953042
Test: robotests
Change-Id: Ieab4e6434bbb80313f6d1b25ff1cdea5713038f0

6 years agoMerge "Remove toggles in battery settings."
TreeHugger Robot [Fri, 5 Jan 2018 22:47:31 +0000 (22:47 +0000)]
Merge "Remove toggles in battery settings."

6 years agoAdd help info at the bottom of the dialog
jackqdyulei [Thu, 9 Nov 2017 21:09:28 +0000 (13:09 -0800)]
Add help info at the bottom of the dialog

It contains a link to help center

Bug: 68030013
Test: RunSettingsRoboTest
Change-Id: I79260eff35e604fa97cf21c62f58c02f3bbe5cfb

6 years agoMerge "Add developer menu to select max number of connected audio devices"
TreeHugger Robot [Fri, 5 Jan 2018 22:11:56 +0000 (22:11 +0000)]
Merge "Add developer menu to select max number of connected audio devices"

6 years agoMerge "Show 'screen lock options' on all lock screen types"
Ajay Nadathur [Fri, 5 Jan 2018 21:19:14 +0000 (21:19 +0000)]
Merge "Show 'screen lock options' on all lock screen types"

6 years agoMerge "Use proper DashboardFragment APIs for SecuritySettingsV2"
TreeHugger Robot [Fri, 5 Jan 2018 21:18:17 +0000 (21:18 +0000)]
Merge "Use proper DashboardFragment APIs for SecuritySettingsV2"

6 years agoMerge "Bluetooth: Use "Disable" in-band ringing instead of "Enable""
Treehugger Robot [Fri, 5 Jan 2018 20:41:01 +0000 (20:41 +0000)]
Merge "Bluetooth: Use "Disable" in-band ringing instead of "Enable""

6 years agoAdd developer menu to select max number of connected audio devices
Hansong Zhang [Fri, 5 Jan 2018 00:38:15 +0000 (16:38 -0800)]
Add developer menu to select max number of connected audio devices

The new developer option modifies the system property
"persist.bluetooth.maxconnectedaudiodevices"; it allows testing
multiple connected devices for A2DP, AVRCP, HFP.

Bug: 71603731
Test: Robolectric test
Change-Id: Ie7887065f98193f4f34e0ff4a29959694e417124

6 years agoUse proper DashboardFragment APIs for SecuritySettingsV2
Fan Zhang [Wed, 3 Jan 2018 23:02:02 +0000 (15:02 -0800)]
Use proper DashboardFragment APIs for SecuritySettingsV2

Next CL will add tests.

Bug: 32953042
Test: TODO
Change-Id: I0cb0e4eb216d3e9408675486f1cd73ba82d8ca36

6 years agoShow 'screen lock options' on all lock screen types
Ajay Nadathur [Thu, 4 Jan 2018 21:06:46 +0000 (13:06 -0800)]
Show 'screen lock options' on all lock screen types

bug: 66239135
Test: Manually tested and verified, robo tests updated
Change-Id: I42ae63661b5d5061fea848e2c1e8a0c8943864e4

6 years agoAdd ability to show/hide assist_and_voice_input preference.
Ben Lin [Tue, 19 Dec 2017 22:56:52 +0000 (14:56 -0800)]
Add ability to show/hide assist_and_voice_input preference.

This adds a new boolean flag, config_show_assist_and_voice_input, which
when set to false will hide the assist_and_voice_input preference item.

Bug: 62379282
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=DefaultAssistPreferenceControllerTest
Change-Id: I3bfc84f0fba07cd52679269daadbdcfccd205ff1

6 years agoRevert "Don't use framework strings for formatting file sizes"
Victor Chang [Fri, 5 Jan 2018 11:58:46 +0000 (11:58 +0000)]
Revert "Don't use framework strings for formatting file sizes"

The previous revert ag/3403198/ is incomplete.

I just learned that "git revert" has memory.
"git revert" re-applied my previous incorrect merge conflict resolution
when I reverted the same change again.

Test: adb shell am instrument -w -e class
com.android.settings.utils.FileSizeFormatterTest
com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
Test: make -j RunSettingsRoboTests
Test: manual. GB is shown in Settings > Network > data usage > tap at top
Bug: 70050030
Bug: 70005649
Bug: 36994779
Change-Id: Ia56f8aaf9b5048c102b4e480da0e84e90ee51360

6 years agoRemove toggles in battery settings.
jackqdyulei [Tue, 2 Jan 2018 18:44:48 +0000 (10:44 -0800)]
Remove toggles in battery settings.

In Android P, we only show "Battery saver" and "Power management"
in battery settings. So we need to remove other preferences.

Keep "Battery percentage" toggle for now because it is not
cross-listed in other places.

Bug: 71502850
Test: Screenshot
Change-Id: Ia3c919f61239ff71f9343f2bce961aa4b89533c0

6 years agoMerge "Add a new widget MasterCheckBoxPreference."
TreeHugger Robot [Fri, 5 Jan 2018 02:11:09 +0000 (02:11 +0000)]
Merge "Add a new widget MasterCheckBoxPreference."

6 years agoMerge "Bluetooth: Use "Disable" in-band ringing instead of "Enable""
TreeHugger Robot [Fri, 5 Jan 2018 01:45:14 +0000 (01:45 +0000)]
Merge "Bluetooth: Use "Disable" in-band ringing instead of "Enable""

6 years agoBluetooth: Use "Disable" in-band ringing instead of "Enable"
Jack He [Thu, 7 Dec 2017 23:09:07 +0000 (15:09 -0800)]
Bluetooth: Use "Disable" in-band ringing instead of "Enable"

* Given that in-band ringing is enabled by default on supported devices,
  the corresponding development settings should be rephrased from
  "Enable in-band ringing" to "Disable in-band ringing" to hint that it
  is enabled by default
* This also gets rid of special logic to check that option in
  initialization
* Add strings to reflect this change as well

Bug: 65383086
Test: make, try toggling the preference and verify whether in-band
ringing works or not

Change-Id: I29f91c7d12c725b12452ec163b75051ff28f500d
Merged-In: I29f91c7d12c725b12452ec163b75051ff28f500d

6 years agoMerge "Merge sub pages for lock/unlock into 1 xml."
TreeHugger Robot [Fri, 5 Jan 2018 00:36:17 +0000 (00:36 +0000)]
Merge "Merge sub pages for lock/unlock into 1 xml."

6 years agoAdd a new widget MasterCheckBoxPreference.
Doris Ling [Fri, 5 Jan 2018 00:31:07 +0000 (16:31 -0800)]
Add a new widget MasterCheckBoxPreference.

This is similar to the master switch preference, but instead of the
toggle button, it provides a checkbox as the preference widget.

Change-Id: Ic2392f6a828298ab85494e7dd127fd2d787ce121
Fixes: 71603100
Test: make RunSettingsRoboTests

6 years agoMerge "Support getDynamicSummary in BasePreferenceController"
TreeHugger Robot [Fri, 5 Jan 2018 00:02:48 +0000 (00:02 +0000)]
Merge "Support getDynamicSummary in BasePreferenceController"

6 years agoBluetooth: Use "Disable" in-band ringing instead of "Enable"
Jack He [Thu, 7 Dec 2017 23:09:07 +0000 (15:09 -0800)]
Bluetooth: Use "Disable" in-band ringing instead of "Enable"

* Given that in-band ringing is enabled by default on supported devices,
  the corresponding development settings should be rephrased from
  "Enable in-band ringing" to "Disable in-band ringing" to hint that it
  is enabled by default
* This also gets rid of special logic to check that option in
  initialization
* Add strings to reflect this update
* Modify BluetoothInbandRingingPreferenceControllerTest to reflect this
  change

Bug: 65383086
Test: make, try toggling the preference and verify whether in-band
ringing works or not, RunSettingsRoboTests
Change-Id: I29f91c7d12c725b12452ec163b75051ff28f500d

6 years agoMerge sub pages for lock/unlock into 1 xml.
Fan Zhang [Wed, 3 Jan 2018 23:02:02 +0000 (15:02 -0800)]
Merge sub pages for lock/unlock into 1 xml.

And create PreferenceControllers for each setting

The page is still pretty janky and controllers are invoked manually.
Next CL will clean these up.

Bug: 32953042
Test: TODO
Change-Id: I1d7478324f5de4fdb464d79f89086f7e79c0ee67

6 years agoMerge "Add ability to show/hide accessibility_shortcut_preference."
TreeHugger Robot [Thu, 4 Jan 2018 22:57:35 +0000 (22:57 +0000)]
Merge "Add ability to show/hide accessibility_shortcut_preference."

6 years agoMerge "Disable animation when adjusting font size."
TreeHugger Robot [Thu, 4 Jan 2018 22:45:54 +0000 (22:45 +0000)]
Merge "Disable animation when adjusting font size."

6 years agoMerge "Unlock all users before moving or migrating."
Jeff Sharkey [Thu, 4 Jan 2018 22:25:01 +0000 (22:25 +0000)]
Merge "Unlock all users before moving or migrating."

6 years agoSupport getDynamicSummary in BasePreferenceController
Matthew Fritze [Wed, 3 Jan 2018 00:39:39 +0000 (16:39 -0800)]
Support getDynamicSummary in BasePreferenceController

Adds dynamic summary getter in relevant BasePreferenceControllers.
Preferece controllers that don't have dynamic summaries or which
are not yet BasePreferenceControllers are not changed right now.

Change-Id: I435ccab7758d90515583fd8ca10a9b1ef0c858b9
Fixes: 71514936
Test: robotests

6 years agoMerge "Add ability to show/hide items for Special Access."
TreeHugger Robot [Thu, 4 Jan 2018 21:53:21 +0000 (21:53 +0000)]
Merge "Add ability to show/hide items for Special Access."

6 years agoDisable animation when adjusting font size.
Doris Ling [Thu, 4 Jan 2018 21:05:46 +0000 (13:05 -0800)]
Disable animation when adjusting font size.

- The fade-in and fade-out animation for transitioning between
different frames in the text preview is very janky. Disable the
animation to get a smoother transition while dragging along the seek
bar.

Change-Id: I201faf8229961ea5fa5fe42efd312290a4af0f30
Fixes: 71569578
Test: visual

6 years agoMerge "Revert "Don't use framework strings for formatting file sizes""
Victor Chang [Thu, 4 Jan 2018 17:35:19 +0000 (17:35 +0000)]
Merge "Revert "Don't use framework strings for formatting file sizes""

6 years agoMerge "Change underlying preferenceControllers to an ArrayMap of Lists."
TreeHugger Robot [Thu, 4 Jan 2018 02:45:27 +0000 (02:45 +0000)]
Merge "Change underlying preferenceControllers to an ArrayMap of Lists."

6 years agoMerge "Convert trust agent pref list logic to PreferenceController"
TreeHugger Robot [Thu, 4 Jan 2018 01:49:38 +0000 (01:49 +0000)]
Merge "Convert trust agent pref list logic to PreferenceController"

6 years agoChange underlying preferenceControllers to an ArrayMap of Lists.
Ben Lin [Fri, 22 Dec 2017 01:32:34 +0000 (17:32 -0800)]
Change underlying preferenceControllers to an ArrayMap of Lists.

Previously, DashboardFragment stores preference controllers in an
ArrayMap of <Class, AbstractPreferenceController>. Thus when there are
multiple controllers of same class (ie. multiple
PreferenceCategoryControllers), they cannot be stored simultaneously.
This changes the value to a List so we can store multiple controllers of
the same Class without extraneous sub-classing.

Bug: 70949662
Test: All existing tests still pass.
Added
DashboardFragmentTest#testPreferenceControllerSetter_shouldAddAndNotReplace
and DashboardFragmentTest#updateState_doesNotSkipControllersOfSameClass.
Change-Id: I397e8c91977ea1180d48a3af75dd4058bf1175c0

6 years agoAdd ability to show/hide items for Special Access.
Ben Lin [Thu, 21 Dec 2017 02:22:49 +0000 (18:22 -0800)]
Add ability to show/hide items for Special Access.

This adds five new boolean flags:
config_show_high_power_apps
config_show_device_administrators
config_show_premium_sms
config_show_data_saver
config_show_enabled_vr_listeners

Which when individually set to false, will hide the respectively item
from "Special Access" in Apps & notifications. It will also hide them
from surfacing in search results.

Bug: 70907131
Test: Updated SpecialAccessSettingsTest, and created:
HighPowerAppsControllerTest
DeviceAdministratorsControllerTest
PremiumSmsControllerTest
DataSaverControllerTest
EnabledVrListenersControllerTest

Change-Id: I5ad58755643e71d4fb71774404ad96c127440ae4

6 years agoMerge "Update EncryptionStatusPrefController to BasePrefController"
TreeHugger Robot [Wed, 3 Jan 2018 22:35:18 +0000 (22:35 +0000)]
Merge "Update EncryptionStatusPrefController to BasePrefController"

6 years agoConvert trust agent pref list logic to PreferenceController
Fan Zhang [Wed, 3 Jan 2018 19:30:14 +0000 (11:30 -0800)]
Convert trust agent pref list logic to PreferenceController

Bug: 32953042
Test: robotests
Change-Id: I1420e90d4910a11fc5837ef2e150c822635b74a5

6 years agoMerge "Add ability to show/hide Wi-Fi settings, and all related sub-settings."
TreeHugger Robot [Wed, 3 Jan 2018 21:56:32 +0000 (21:56 +0000)]
Merge "Add ability to show/hide Wi-Fi settings, and all related sub-settings."

6 years agoAdd ability to show/hide Wi-Fi settings, and all related sub-settings.
Ben Lin [Wed, 20 Dec 2017 20:37:10 +0000 (12:37 -0800)]
Add ability to show/hide Wi-Fi settings, and all related sub-settings.

This adds a new boolean flag, config_show_wifi_settings, which when set
to false will hide the "Wi-Fi" page in network & internet (there is no
key value associated with this preference page). It will also hide
nested pages from search results, such as Wi-Fi preferences.

Bug: 62379554
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=ConfigureWifiSettingsTest
and
make RunSettingsRoboTests
ROBOTEST_FILTER=WifiSettingsTest
and
make RunSettingsRoboTests
ROBOTEST_FILTER=WifiMasterSwitchPreferenceControllerTest
all pass.

Change-Id: Iedc6bc272e0cb2b561c6bf25968e70f355aaaa8e

6 years agoMerge "Remove Suggestion v1 code."
TreeHugger Robot [Wed, 3 Jan 2018 19:31:34 +0000 (19:31 +0000)]
Merge "Remove Suggestion v1 code."

6 years agoMerge "Convert some security setting logic to PreferenceController"
TreeHugger Robot [Wed, 3 Jan 2018 18:46:32 +0000 (18:46 +0000)]
Merge "Convert some security setting logic to PreferenceController"

6 years agoUpdate EncryptionStatusPrefController to BasePrefController
Fan Zhang [Wed, 3 Jan 2018 18:34:12 +0000 (10:34 -0800)]
Update EncryptionStatusPrefController to BasePrefController

Bug: 32953042
Test: robotests
Change-Id: I273d299c433e9886cb09a8527cdb6cdd0d755d0e

6 years agoAdd ability to show/hide accessibility_shortcut_preference.
Ben Lin [Fri, 15 Dec 2017 22:40:44 +0000 (14:40 -0800)]
Add ability to show/hide accessibility_shortcut_preference.

This adds a new boolean flag,
config_show_accessibility_shortcut_preference, which when set to false
will hide the accessibility shortcut preference item.

Bug: 62387367
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=AccessibilitySettingsTest
Change-Id: I3fd941695df1ad89f717f464d2383be909839a3b

6 years agoMerge "Notification settings updates"
TreeHugger Robot [Wed, 3 Jan 2018 16:41:26 +0000 (16:41 +0000)]
Merge "Notification settings updates"

6 years agoRevert "Don't use framework strings for formatting file sizes"
Victor Chang [Wed, 27 Dec 2017 11:41:30 +0000 (11:41 +0000)]
Revert "Don't use framework strings for formatting file sizes"

This reverts commit ded99003c45545d739a013caf7ca0c6bf7896785.

- Add java import in order to build successfully
- Fix RunSettingsRoboTests

Test: adb shell am instrument -w -e class
com.android.settings.utils.FileSizeFormatterTest
com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
Test: make -j RunSettingsRoboTests
Bug: 70005649
Bug: 36994779
Change-Id: I1c0ff48c749e9fbb82fd670c27243bd3922ed373

6 years agoMerge "Fork SecuritySettings page and hide behind a feature flag."
TreeHugger Robot [Wed, 3 Jan 2018 02:02:58 +0000 (02:02 +0000)]
Merge "Fork SecuritySettings page and hide behind a feature flag."

6 years agoConvert some security setting logic to PreferenceController
Fan Zhang [Tue, 2 Jan 2018 22:17:40 +0000 (14:17 -0800)]
Convert some security setting logic to PreferenceController

- Manage trust agent
- Show password
- Sim lock
- Screen pinning

Bug: 32953042
Test: robotests
Change-Id: I0c781a505238cae7a6643b701b750ca63a87a8a5

6 years agoRemove Suggestion v1 code.
Fan Zhang [Tue, 2 Jan 2018 19:22:36 +0000 (11:22 -0800)]
Remove Suggestion v1 code.

Change-Id: Ie6e9c8f2b1b5b609d44e287accb9fbbef9054d34
Fixes: 68719093
Test: robotests

6 years agoFork SecuritySettings page and hide behind a feature flag.
Fan Zhang [Fri, 22 Dec 2017 17:59:37 +0000 (09:59 -0800)]
Fork SecuritySettings page and hide behind a feature flag.

Bug: 32953042
Test: robotests
Change-Id: Ibbb4221eef87f09ccd024146517707680180a100

6 years agoNotification settings updates
Julia Reynolds [Thu, 21 Dec 2017 18:28:20 +0000 (13:28 -0500)]
Notification settings updates

- Text changes
- Show channels on the app settings screen (again)
- Hide most of the channel settings under 'advanced' (note: this hides
  the footer preference(s) also, at the moment. the functionality
  to exclude those is coming in a later cl)
  - Add a 'show notifications' toggle for each app created group

Bug: 63927402
Test: make RunSettingsRoboTests

Change-Id: I9906ef943d05e1915061b59294a25d81c4e6cbb5

6 years agoAllow switchbars to have alternate text
Julia Reynolds [Thu, 21 Dec 2017 18:26:39 +0000 (13:26 -0500)]
Allow switchbars to have alternate text

For when On and Off aren't descriptive enough.

Bug: 63927402
Test: make -j20 RunSettingsRoboTests
Change-Id: I1e12d8d92dbe2f0a4c5202667cf1a76f0428e048

6 years agoMerge "Fix bug in SummaryLoader"
TreeHugger Robot [Wed, 27 Dec 2017 23:06:22 +0000 (23:06 +0000)]
Merge "Fix bug in SummaryLoader"

6 years agoMerge "Fix the format of wifi_carrier_content string" am: 985b432fc0 am: 47ba3b400c
Akiya Utsumi [Wed, 27 Dec 2017 21:52:05 +0000 (21:52 +0000)]
Merge "Fix the format of wifi_carrier_content string" am: 985b432fc0 am: 47ba3b400c
am: 9dffb28afd

Change-Id: I90004b044b4217ad0c102e9afde1f491826d6a4f

6 years agoMerge "Fix the format of wifi_carrier_content string" am: 985b432fc0
Akiya Utsumi [Wed, 27 Dec 2017 21:45:58 +0000 (21:45 +0000)]
Merge "Fix the format of wifi_carrier_content string" am: 985b432fc0
am: 47ba3b400c

Change-Id: I39a694ec83185fa6eb5d13cffa6d0390fe7d568a

6 years agoMerge "Fix the format of wifi_carrier_content string"
Akiya Utsumi [Wed, 27 Dec 2017 21:43:20 +0000 (21:43 +0000)]
Merge "Fix the format of wifi_carrier_content string"
am: 985b432fc0

Change-Id: Ic77ff6da5081cae7a3b7fba31bc4902645188763

6 years agoMerge "Fix the format of wifi_carrier_content string"
Treehugger Robot [Wed, 27 Dec 2017 21:36:40 +0000 (21:36 +0000)]
Merge "Fix the format of wifi_carrier_content string"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 23 Dec 2017 00:47:11 +0000 (00:47 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 22 Dec 2017 23:05:08 +0000 (15:05 -0800)]
Import translations. DO NOT MERGE

Change-Id: I7e2bf66b896c6fab42a643a7c74535b354b0d94c
Auto-generated-cl: translation import

6 years agoMerge "Add summary placeholder for bt preference"
Lei Yu [Fri, 22 Dec 2017 22:17:28 +0000 (22:17 +0000)]
Merge "Add summary placeholder for bt preference"

6 years agoAdd summary placeholder for bt preference
jackqdyulei [Fri, 22 Dec 2017 18:25:04 +0000 (10:25 -0800)]
Add summary placeholder for bt preference

Then UI won't be janky(as everything slide down a little bit)

Bug: 63910184
Test: RunSettingsRoboTests
Change-Id: Ie4074694f54af92da52f09d2caaab5490fa73647

6 years agoFix the format of wifi_carrier_content string
Akiya Utsumi [Tue, 31 Oct 2017 02:11:15 +0000 (11:11 +0900)]
Fix the format of wifi_carrier_content string

Carrier name is not displayed on the dialog due to the
incorrect format "%1%s". This should be "%1$s".

Test: String change, manually verified
Bug: 70814622
Change-Id: Ie30b8d1eb85d390e4023e0a251e1f1c7fa6deec0

6 years agoMerge "Relax char length limits and add clarifications"
TreeHugger Robot [Fri, 22 Dec 2017 03:31:30 +0000 (03:31 +0000)]
Merge "Relax char length limits and add clarifications"

6 years agoMerge changes from topic "battery_tip_constants"
TreeHugger Robot [Fri, 22 Dec 2017 02:18:30 +0000 (02:18 +0000)]
Merge changes from topic "battery_tip_constants"

* changes:
  Add BatteryTipDetector and LowBatteryTip stuffs.
  Add BatteryTipPolicy

6 years agoMerge "DO NOT MERGE: Fix test failure in CodeInspectionTest" am: 7c46a79a00 -s ours...
Fan Zhang [Fri, 22 Dec 2017 01:33:06 +0000 (01:33 +0000)]
Merge "DO NOT MERGE: Fix test failure in CodeInspectionTest" am: 7c46a79a00  -s ours am: 7e3fdede58
am: c1ecf35052  -s ours

Change-Id: I670d004d2eb368b613f7cf2e7605a2c39e67293c

6 years agoMerge "DO NOT MERGE: Fix test failure in CodeInspectionTest" am: 7c46a79a00 -s ours
Fan Zhang [Fri, 22 Dec 2017 01:22:59 +0000 (01:22 +0000)]
Merge "DO NOT MERGE: Fix test failure in CodeInspectionTest" am: 7c46a79a00  -s ours
am: 7e3fdede58

Change-Id: I650211969d19051a5ba69ff86c1c3f087fcaa453

6 years agoRelax char length limits and add clarifications
Lifu Tang [Thu, 21 Dec 2017 03:54:49 +0000 (19:54 -0800)]
Relax char length limits and add clarifications

Bug: 70775976
Test: build, flash, and test manually
Change-Id: Ie278704bf32ce39fcd15509fdce09de2ace17993

6 years agoMerge "DO NOT MERGE: Fix test failure in CodeInspectionTest"
Fan Zhang [Fri, 22 Dec 2017 01:13:32 +0000 (01:13 +0000)]
Merge "DO NOT MERGE: Fix test failure in CodeInspectionTest"
am: 7c46a79a00  -s ours

Change-Id: I83bb99c73fcd2818105b51633ea8c5c42bcd74a0

6 years agoMerge "DO NOT MERGE: Fix test failure in CodeInspectionTest"
Treehugger Robot [Fri, 22 Dec 2017 01:01:41 +0000 (01:01 +0000)]
Merge "DO NOT MERGE: Fix test failure in CodeInspectionTest"

6 years agoDO NOT MERGE: Fix test failure in CodeInspectionTest
Fan Zhang [Fri, 15 Dec 2017 19:58:56 +0000 (11:58 -0800)]
DO NOT MERGE: Fix test failure in CodeInspectionTest

Change-Id: I74fbd30261fa66636c915936270d873e7612cbc6
Fixes: 70496869
Test: robotests

6 years agoMerge "Move ServiceListing to SettingsLib"
TreeHugger Robot [Thu, 21 Dec 2017 19:44:38 +0000 (19:44 +0000)]
Merge "Move ServiceListing to SettingsLib"

6 years agoMerge "Shift storage wizards over to Glif theme."
Jeff Sharkey [Thu, 21 Dec 2017 18:30:49 +0000 (18:30 +0000)]
Merge "Shift storage wizards over to Glif theme."

6 years agoMove ServiceListing to SettingsLib
Tony Mantler [Wed, 20 Dec 2017 23:54:01 +0000 (15:54 -0800)]
Move ServiceListing to SettingsLib

Also tidy things up a bit

Bug: 70902607
Test: RunSettingsRoboTests
Change-Id: Id641beb601513bb4e34a098bf2729eb98954175d

6 years agoMerge "Managed profile lock timeout"
TreeHugger Robot [Thu, 21 Dec 2017 13:37:36 +0000 (13:37 +0000)]
Merge "Managed profile lock timeout"

6 years agoMerge "Set initialExpandedChildrenCount dynamically in location settings"
Maggie Wang [Thu, 21 Dec 2017 04:51:04 +0000 (04:51 +0000)]
Merge "Set initialExpandedChildrenCount dynamically in location settings"

6 years agoMerge "Update FakeUid to match BatteryStats.Uid."
Sudheer Shanka [Thu, 21 Dec 2017 03:51:40 +0000 (03:51 +0000)]
Merge "Update FakeUid to match BatteryStats.Uid."

6 years agoSet initialExpandedChildrenCount dynamically in location settings
Maggie [Wed, 20 Dec 2017 01:02:20 +0000 (17:02 -0800)]
Set initialExpandedChildrenCount dynamically in location settings

In location settings, we want "Advanced" button show up right after "App
level permissions". But with different numbers of "recent location requests" apps,
the Preferences hidden under Advanced could change.

To fix this issue, we fetch the list of apps with "recent location
requests" in LocationSettings.onCreate(), and set
initialExpandedChildrenCount for location PreferenceScreen to the apps
count.

Bug: 70350519
Test: Manual
Change-Id: I4c4b6bdfa916213494a29e8ae8b5f33476411c88

6 years agoMerge "Catch NullPointerException in PreIndexDataCollector."
TreeHugger Robot [Thu, 21 Dec 2017 02:35:48 +0000 (02:35 +0000)]
Merge "Catch NullPointerException in PreIndexDataCollector."

6 years agoMerge "Settings: Add LOCAL_MAC_ADDRESS permission"
TreeHugger Robot [Thu, 21 Dec 2017 01:48:30 +0000 (01:48 +0000)]
Merge "Settings: Add LOCAL_MAC_ADDRESS permission"

6 years agoMerge "Update the usage of quiet mode @hide API"
TreeHugger Robot [Thu, 21 Dec 2017 01:20:28 +0000 (01:20 +0000)]
Merge "Update the usage of quiet mode @hide API"

6 years agoCatch NullPointerException in PreIndexDataCollector.
Doris Ling [Thu, 21 Dec 2017 00:38:45 +0000 (16:38 -0800)]
Catch NullPointerException in PreIndexDataCollector.

Null pointer exception is thrown from ContentProviderNative when we
query the non indexable keys. Added a try-catch block to prevent it from
crashing.

Change-Id: I45c1e34bb81a4739ae2eb5dd19a08781ab7beeb1
Fix: 70900076
Test: manual

6 years agoMerge "Add toggle for enable/disable auto hotspot off"
TreeHugger Robot [Wed, 20 Dec 2017 23:57:28 +0000 (23:57 +0000)]
Merge "Add toggle for enable/disable auto hotspot off"

6 years agoMerge "Display "Recent Location Requests" in order"
Maggie Wang [Wed, 20 Dec 2017 22:31:43 +0000 (22:31 +0000)]
Merge "Display "Recent Location Requests" in order"

6 years agoDisplay "Recent Location Requests" in order
Maggie [Fri, 8 Dec 2017 19:30:02 +0000 (11:30 -0800)]
Display "Recent Location Requests" in order

A list of apps with recent location requests is displayed under Settings -> Security & Location -> Location. The apps were sorted in alphabetical order. This CL changes the behavior and displays the apps in original order from RecentLocationApps.getAppList().

Bug: 70350519
Test: Robolectric
Test: manual
Change-Id: I0fc1ce307b9519f3f324db220b6e2b32ed71cc2f

6 years agoAdd toggle for enable/disable auto hotspot off
jackqdyulei [Wed, 20 Dec 2017 19:22:52 +0000 (11:22 -0800)]
Add toggle for enable/disable auto hotspot off

Bug: 69323125
Test: RunSettingsRoboTests
Change-Id: I18896401240f75bdf2bdf187c2c7a7b623b20c43

6 years agoMerge "Extract method getBatteryInfo() from loader"
Lei Yu [Wed, 20 Dec 2017 21:14:41 +0000 (21:14 +0000)]
Merge "Extract method getBatteryInfo() from loader"

6 years agoMerge "Update settings slice provider to use new API"
Mady Mellor [Wed, 20 Dec 2017 21:14:15 +0000 (21:14 +0000)]
Merge "Update settings slice provider to use new API"

6 years agoShift storage wizards over to Glif theme.
Jeff Sharkey [Wed, 20 Dec 2017 20:20:38 +0000 (13:20 -0700)]
Shift storage wizards over to Glif theme.

This matches new UX best-practices, and allows us to remove some
special one-off hacks.

Test: visual
Bug: 70894690
Change-Id: I2705c731277cae7f19bce78a0a2a023ad0777b83

6 years agoUpdate FakeUid to match BatteryStats.Uid.
Sudheer Shanka [Wed, 25 Oct 2017 23:43:31 +0000 (16:43 -0700)]
Update FakeUid to match BatteryStats.Uid.

Bug: 66953194
Test: N/A
Change-Id: Ibb4c6be68d1ea2c64f7da7bc0b39d7142ac8ce9a

6 years agoMerge "Log search latency in event log"
TreeHugger Robot [Wed, 20 Dec 2017 19:44:40 +0000 (19:44 +0000)]
Merge "Log search latency in event log"

6 years agoMerge "Add rounded corners to wifi connection dialog"
TreeHugger Robot [Wed, 20 Dec 2017 19:05:29 +0000 (19:05 +0000)]
Merge "Add rounded corners to wifi connection dialog"

6 years agoLog search latency in event log
Fan Zhang [Wed, 20 Dec 2017 17:48:31 +0000 (09:48 -0800)]
Log search latency in event log

The latency number (10) is fake and doesn't matter, because the page
is going away soon.

Bug: 68017528
Test: rerun robotest
Change-Id: I0a9aba1f0a101bcd7aa4134c7b72aee6708663a4

6 years agoMerge "Remove wifi calling from Wifi settings"
Lei Yu [Wed, 20 Dec 2017 17:49:47 +0000 (17:49 +0000)]
Merge "Remove wifi calling from Wifi settings"

6 years agoManaged profile lock timeout
Pavel Grafov [Tue, 6 Dec 2016 15:54:50 +0000 (15:54 +0000)]
Managed profile lock timeout

Test: make ROBOTEST_FILTER=TimeoutPreferenceControllerTest RunSettingsRoboTests
Test: make ROBOTEST_FILTER=LockAfterTimeoutPreferenceControllerTest RunSettingsRoboTests
Bug: 63908311
Change-Id: I7236ec4ca37353703145c3e75d508101ecc6ca80