OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Add ability to show/hide individual settings in Sounds page."
TreeHugger Robot [Fri, 12 Jan 2018 20:11:30 +0000 (20:11 +0000)]
Merge "Add ability to show/hide individual settings in Sounds page."

6 years agoMerge "Add string variants for "device" products."
TreeHugger Robot [Fri, 12 Jan 2018 19:03:34 +0000 (19:03 +0000)]
Merge "Add string variants for "device" products."

6 years agoMerge "Follow slice refactor"
TreeHugger Robot [Fri, 12 Jan 2018 18:17:26 +0000 (18:17 +0000)]
Merge "Follow slice refactor"

6 years agoMerge "Make a strong reference to LifecycleOwner in tests"
TreeHugger Robot [Fri, 12 Jan 2018 18:01:23 +0000 (18:01 +0000)]
Merge "Make a strong reference to LifecycleOwner in tests"

6 years agoMerge "Add support for early warning query"
Salvador Martinez [Fri, 12 Jan 2018 17:33:00 +0000 (17:33 +0000)]
Merge "Add support for early warning query"

6 years agoMerge "Override switch bar string for wifi/battery saver screen"
Fan Zhang [Fri, 12 Jan 2018 17:15:22 +0000 (17:15 +0000)]
Merge "Override switch bar string for wifi/battery saver screen"

6 years agoMerge "Zen Mode messages + calls are ListPreferences (radio button dialog)"
TreeHugger Robot [Fri, 12 Jan 2018 15:33:14 +0000 (15:33 +0000)]
Merge "Zen Mode messages + calls are ListPreferences (radio button dialog)"

6 years agoZen Mode messages + calls are ListPreferences (radio button dialog)
Beverly [Mon, 8 Jan 2018 21:31:04 +0000 (16:31 -0500)]
Zen Mode messages + calls are ListPreferences (radio button dialog)

Bug: 63077372
Test: ZenModeCallsPreferenceControllerTest
Test: ZenModeMessagesPreferenceControllerTest
Change-Id: I5d2516402b261413c51a1b4eba5153ffadf1459b

6 years agoFollow slice refactor
Jason Monk [Wed, 10 Jan 2018 01:40:41 +0000 (20:40 -0500)]
Follow slice refactor

Test: make
Bug: 68378561
Change-Id: Ifb35d39e54b2c292017b7866d7a52b120b4f6685

6 years agoMerge changes from topic "tz_picker"
Joachim Sauer [Fri, 12 Jan 2018 11:25:32 +0000 (11:25 +0000)]
Merge changes from topic "tz_picker"

* changes:
  New manual time zone picker.
  Data loading component for new time zone picker.

6 years agoMerge "Fix test crash in UniquePreferenceTest"
TreeHugger Robot [Fri, 12 Jan 2018 01:57:37 +0000 (01:57 +0000)]
Merge "Fix test crash in UniquePreferenceTest"

6 years agoFix test crash in UniquePreferenceTest
jackqdyulei [Fri, 12 Jan 2018 00:16:10 +0000 (16:16 -0800)]
Fix test crash in UniquePreferenceTest

Change-Id: I0393018dfe8c12541548d7b3900503a0d78c8e26
Fixes: 71794134
Test: atest UniquePreferenceTest.java

6 years agoMerge "Update screen pinning state whenever it changes."
TreeHugger Robot [Fri, 12 Jan 2018 00:03:44 +0000 (00:03 +0000)]
Merge "Update screen pinning state whenever it changes."

6 years agoMerge "Re-add support string that was being used by wifi"
TreeHugger Robot [Thu, 11 Jan 2018 23:18:30 +0000 (23:18 +0000)]
Merge "Re-add support string that was being used by wifi"

6 years agoOverride switch bar string for wifi/battery saver screen
Fan Zhang [Thu, 11 Jan 2018 21:31:43 +0000 (13:31 -0800)]
Override switch bar string for wifi/battery saver screen

Bug: 69462439
Test: visual
Change-Id: I18d03ee1664f111222d7b9bb7ee893e4ce0e1343

6 years agoMake a strong reference to LifecycleOwner in tests
Fan Zhang [Thu, 11 Jan 2018 22:30:16 +0000 (14:30 -0800)]
Make a strong reference to LifecycleOwner in tests

Change-Id: Id3b26ded6c903b67b9880dbfe1a0656a564c8947
Fixes: 71867776
Test: rerun tests

6 years agoMerge "Misc fixes in device info page"
Fan Zhang [Thu, 11 Jan 2018 22:19:05 +0000 (22:19 +0000)]
Merge "Misc fixes in device info page"

6 years agoMerge "Add developer tiles for layer and window trace"
TreeHugger Robot [Thu, 11 Jan 2018 21:37:53 +0000 (21:37 +0000)]
Merge "Add developer tiles for layer and window trace"

6 years agoMerge "Misc fixes"
TreeHugger Robot [Thu, 11 Jan 2018 21:16:46 +0000 (21:16 +0000)]
Merge "Misc fixes"

6 years agoUpdate screen pinning state whenever it changes.
Fan Zhang [Thu, 11 Jan 2018 20:38:22 +0000 (12:38 -0800)]
Update screen pinning state whenever it changes.

Change-Id: I98f0a7b0afcc76bcf822786e6cf3ea37004db1a8
Fixes: 71845181
Test: robotests

6 years agoMisc fixes in device info page
Fan Zhang [Wed, 10 Jan 2018 23:58:20 +0000 (15:58 -0800)]
Misc fixes in device info page

- Move DeviceInfoSettings to deviceinfo package
- Remove deprecated manifest entries
- Rename a bunch of things
- Add ripple and change text color to accent for security patch

Change-Id: I35c04e53829a67cba553f984ad1a1b9319077873
Fixes: 71775150
Test: robotests

6 years agoMisc fixes
Fan Zhang [Thu, 11 Jan 2018 17:52:40 +0000 (09:52 -0800)]
Misc fixes

- Allow everyone to submit tests.
- Fix SoundPreferenceControllerTest

Fixes: 71860595
Test: rebuild
Change-Id: I36626beb304966d3d453ebe02d37625e6e724d08

6 years agoRe-add support string that was being used by wifi
Salvador Martinez [Thu, 11 Jan 2018 18:55:55 +0000 (10:55 -0800)]
Re-add support string that was being used by wifi

A wifi button was piggybacking on a support string. This CL adds a
new string for the button to use instead.

Test: robotests pass
Bug: 71858657
Change-Id: Ic0da845fb70f33fc4365a4ee4586de685e3ef338

6 years agoAdd support for early warning query
Salvador Martinez [Thu, 11 Jan 2018 18:16:49 +0000 (10:16 -0800)]
Add support for early warning query

This CL adds the necessary code to enable the early warning query
from the provider.

Test: robotests in topic
Bug: 71593245
Bug: 71812931
Change-Id: I32e10d1b9f752af672b5d1c6ccb8ba9f2f9cc387

6 years agoNew manual time zone picker.
Joachim Sauer [Tue, 7 Nov 2017 13:56:16 +0000 (13:56 +0000)]
New manual time zone picker.

This implements a new manual time zone picker that allows selection of a
time zone for a selected country. It also allows selecting a fixed
offset time zone (most importantly Etc/UTC, which is a frequently
requested feature).

The new time zone picker is currently behind a feature flag
(settings_zone_picker_v2), which is disabled by default.

Test: manual
Test: SettingsFunctionalTests
Test: SettingsRobotTests
Bug: 62255208
Change-Id: I89c5a04bcb562b6facf5f31a8aa4ad1cdd51ab10

6 years agoMerge "Add ability to show/hide Color Correction and Color Inversion."
TreeHugger Robot [Thu, 11 Jan 2018 17:49:56 +0000 (17:49 +0000)]
Merge "Add ability to show/hide Color Correction and Color Inversion."

6 years agoData loading component for new time zone picker.
Joachim Sauer [Tue, 7 Nov 2017 13:52:12 +0000 (13:52 +0000)]
Data loading component for new time zone picker.

Add new data loading classes for improved manual time zone picker.

These classes use existing sources mostly from ICU4J to construct the
list of regions and timezones to present to the user.

Test: SettingsRoboTests
Bug: 62255208
Change-Id: I244c391a41b0b53cd3f7857f9c0d1ef766a39b17

6 years agoMerge "Update master switch style"
TreeHugger Robot [Thu, 11 Jan 2018 03:00:28 +0000 (03:00 +0000)]
Merge "Update master switch style"

6 years agoAdd ability to show/hide Color Correction and Color Inversion.
Ben Lin [Mon, 18 Dec 2017 23:46:44 +0000 (15:46 -0800)]
Add ability to show/hide Color Correction and Color Inversion.

This adds two new boolean flags:
config_show_color_inversion_preference
config_show_color_correction_preference

Which whent set to false, will hide the color inversion and color
correction preference items, respectively.

Bug: 62378109
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=AccessibilitySettingsTest

Change-Id: I06eac8e141bd6564495298c6c6544a7b059a4e73

6 years agoAdd metric id for anomaly fragments. am: 2fd1c9839c
jackqdyulei [Thu, 11 Jan 2018 01:56:23 +0000 (01:56 +0000)]
Add metric id for anomaly fragments. am: 2fd1c9839c
am: 9bf0e057c8

Change-Id: I4d5941fb40ed03c6b4ed8563cb58bfc2a888f6be

6 years agoAdd metric id for anomaly fragments.
jackqdyulei [Thu, 11 Jan 2018 01:53:47 +0000 (01:53 +0000)]
Add metric id for anomaly fragments.
am: 2fd1c9839c

Change-Id: Iff6c41c8549cdc102e954d6a429a9ab56d4e10c6

6 years agoMerge "Fix alignment in location requests screen"
TreeHugger Robot [Thu, 11 Jan 2018 01:35:42 +0000 (01:35 +0000)]
Merge "Fix alignment in location requests screen"

6 years agoMerge "Add 50% and 100% to auto battery saver settings"
TreeHugger Robot [Thu, 11 Jan 2018 01:10:30 +0000 (01:10 +0000)]
Merge "Add 50% and 100% to auto battery saver settings"

6 years agoMerge "Propagate extras when switching between choose lock activities"
TreeHugger Robot [Thu, 11 Jan 2018 00:17:27 +0000 (00:17 +0000)]
Merge "Propagate extras when switching between choose lock activities"

6 years agoMerge "Fix NPE in SetupChooseLockpattern screen"
TreeHugger Robot [Thu, 11 Jan 2018 00:15:01 +0000 (00:15 +0000)]
Merge "Fix NPE in SetupChooseLockpattern screen"

6 years agoAdd developer tiles for layer and window trace
Vishnu Nair [Thu, 11 Jan 2018 00:07:23 +0000 (16:07 -0800)]
Add developer tiles for layer and window trace

Bug: 64831661
Test: Toggle layer and window trace from new QS Tile
Test: make RunSettingsRoboTests ROBOTEST_FILTER=LayerTraceTest && make RunSettingsRoboTests ROBOTEST_FILTER=WindowTraceTest
Change-Id: I86b63361821e1bf5dd6a934e7fcb7e810740b74a

6 years agoUpdate master switch style
Fan Zhang [Wed, 10 Jan 2018 20:22:36 +0000 (12:22 -0800)]
Update master switch style

- When off, background grey
- When on, background accent
- Switch toggle always white, only change the slider color during on/off

Change-Id: I0ca49439f4e20e75517d503f28cc3068930591e8
Bug: 69462439
Test: robotests

6 years agoMerge "Introduce boolean flags to show/hide items for Language & input."
Ben Lin [Wed, 10 Jan 2018 22:29:28 +0000 (22:29 +0000)]
Merge "Introduce boolean flags to show/hide items for Language & input."

6 years agoAdd 50% and 100% to auto battery saver settings
Makoto Onuki [Tue, 9 Jan 2018 23:20:20 +0000 (15:20 -0800)]
Add 50% and 100% to auto battery saver settings

The settings UI will be updated for P eventually, but let's add more
options to the settings for dogfooders until the UI update happens.

Also add the current value to the choices, so that if we push a number
that's not in the choices, the settings app will work properly.

Bug: 68769804
Bug: 71762373
Test: Manual test
Change-Id: I22fd14d43f4575885b4b8e068d3df1e65f60c9e1

6 years agoPropagate extras when switching between choose lock activities
Ajay Nadathur [Wed, 10 Jan 2018 19:37:23 +0000 (11:37 -0800)]
Propagate extras when switching between choose lock activities

bug: 71715828
Test: Manually tested, added robolectric test
Change-Id: Ide18c94f52fe896aee0636ef702cd808b7d88638

6 years agoAdd string variants for "device" products.
Ben Lin [Wed, 10 Jan 2018 22:06:28 +0000 (14:06 -0800)]
Add string variants for "device" products.

Bug: 62379606
Test: Strings are showing for device products.
Change-Id: I2ecde371f0a7eaaaca118c3e03b194a6ecc7a5fd

6 years agoFix NPE in SetupChooseLockpattern screen
Ajay Nadathur [Wed, 10 Jan 2018 21:03:44 +0000 (13:03 -0800)]
Fix NPE in SetupChooseLockpattern screen

bug: 71807569
Test: Manually tested and verified no longer crash
Change-Id: I9b6a20377f2cf7ffb9be12de7bfa59f8b1063625

6 years agoAdd ability to show/hide individual settings in Sounds page.
Ben Lin [Fri, 5 Jan 2018 20:30:09 +0000 (12:30 -0800)]
Add ability to show/hide individual settings in Sounds page.

This adds the following 7 new boolean flags:
config_show_alarm_volume
config_show_charging_sounds
config_show_media_volume
config_show_notification_ringtone
config_show_notification_volume
config_show_screen_locking_sounds
config_show_touch_sounds

Which when set to false, will hide the respective preferences in Sounds
page.

Bug: 69813881
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=com.android.settings.notification all pass.

Change-Id: I84a2ce66b07c00d658422ce1a0eacaf9a01fae8a

6 years agoMerge "Build slice from indexed data in SliceProvider"
TreeHugger Robot [Wed, 10 Jan 2018 20:39:06 +0000 (20:39 +0000)]
Merge "Build slice from indexed data in SliceProvider"

6 years agoIntroduce boolean flags to show/hide items for Language & input.
Ben Lin [Thu, 21 Dec 2017 19:09:39 +0000 (11:09 -0800)]
Introduce boolean flags to show/hide items for Language & input.

This adds seven new boolean flags:
config_show_phone_language
config_show_virtual_keyboard_pref
config_show_physical_keyboard_pref
config_show_spellcheckers_settings
config_show_tts_settings_summary
config_show_pointer_speed
config_show_vibrate_input_devices

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

Bug: 62379555
Test: Individual controller tests are all updated.

Change-Id: I9ef1c3037b0bec6ffa5a627006507f4f16e534c4

6 years agoBuild slice from indexed data in SliceProvider
Matthew Fritze [Fri, 15 Dec 2017 18:48:40 +0000 (10:48 -0800)]
Build slice from indexed data in SliceProvider

Connect the SliceIndexing data to the SliceProvider,
such that a query to SliceProvider can build a Slice
via the indexed data from SlicesIndexingManager.

We take the key from the Uri supplied to the SettingSliceProvider
and find a potential matching row in the indexed data. The
matched data is then used to Build a slice for the caller.

Bug: 67996923
Test: robotests
Change-Id: If51bfd1a05c3f3817ae720554f95a98fc7b002e1

6 years agoBlock Settings APP UI when disallow_airplane_mode is set.
yuemingw [Wed, 10 Jan 2018 16:20:43 +0000 (16:20 +0000)]
Block Settings APP UI when disallow_airplane_mode is set.

Test: runtest -x packages/apps/Settings/tests/unit/src/com/android/settings/core/UserRestrictionTest.java
Fix: 67675441

Change-Id: Ice234cecf4de191b797ad4219852cf821720ab78

6 years agoMerge "Settings: Enable laser sensor toggle for user builds"
TreeHugger Robot [Wed, 10 Jan 2018 10:26:42 +0000 (10:26 +0000)]
Merge "Settings: Enable laser sensor toggle for user builds"

6 years agoMerge changes Ie4c98617,I6a7248d9
TreeHugger Robot [Wed, 10 Jan 2018 03:15:27 +0000 (03:15 +0000)]
Merge changes Ie4c98617,I6a7248d9

* changes:
  Add BatteryTipDialogFragment.
  Add high usage battery tip

6 years agoAdd metric id for anomaly fragments.
jackqdyulei [Tue, 24 Oct 2017 01:21:33 +0000 (18:21 -0700)]
Add metric id for anomaly fragments.

1. PowerUsageAnomalyDetails
2. AnomalyDialogFragment

Bug: 37681923
Test: Build

Change-Id: Ia82fde0fa3e61b6284dc18db3018dd223a0e435b
(cherry picked from commit 725562c7484439172dece19c72b5c76943144638)

6 years agoMerge "Hook up smart battery to Settings value."
TreeHugger Robot [Wed, 10 Jan 2018 02:47:17 +0000 (02:47 +0000)]
Merge "Hook up smart battery to Settings value."

6 years agoAdd BatteryTipDialogFragment.
jackqdyulei [Tue, 2 Jan 2018 22:51:01 +0000 (14:51 -0800)]
Add BatteryTipDialogFragment.

This DialogFragment handles all the tip related dialogs. This cl makes:
1. All the tips parcelable.
2. Add dialog for HighUsageTip. It also need adapter to populate app
list in dialog.
3. Add and update tests

Bug: 70570352
Test: RunSettingsRoboTests
Change-Id: Ie4c986172cfc73d8746abc7457d966c8600c6145

6 years agoMerge "Remove redundant assertion from test"
TreeHugger Robot [Wed, 10 Jan 2018 00:57:49 +0000 (00:57 +0000)]
Merge "Remove redundant assertion from test"

6 years agoMerge "DND string fixes"
TreeHugger Robot [Wed, 10 Jan 2018 00:45:24 +0000 (00:45 +0000)]
Merge "DND string fixes"

6 years agoMerge "Rename setDataEnabled to setUserDataEnabled." am: 43b1b97e3e am: 5e90d8ea7a
Malcolm Chen [Wed, 10 Jan 2018 00:19:49 +0000 (00:19 +0000)]
Merge "Rename setDataEnabled to setUserDataEnabled." am: 43b1b97e3e am: 5e90d8ea7a
am: e99f20cd95  -s ours

Change-Id: I941272824a99adbbc86653c02551e2a93440f887

6 years agoMerge "Rename setDataEnabled to setUserDataEnabled." am: 43b1b97e3e
Malcolm Chen [Wed, 10 Jan 2018 00:07:09 +0000 (00:07 +0000)]
Merge "Rename setDataEnabled to setUserDataEnabled." am: 43b1b97e3e
am: 5e90d8ea7a

Change-Id: I62b5c85e1737ef5ca23b2037b221a70e58121fe3

6 years agoMerge "Rename setDataEnabled to setUserDataEnabled."
Malcolm Chen [Tue, 9 Jan 2018 23:56:14 +0000 (23:56 +0000)]
Merge "Rename setDataEnabled to setUserDataEnabled."
am: 43b1b97e3e

Change-Id: Ib11eca12b1331494972c86a18670c348abae3d2c

6 years agoMerge "Rename setDataEnabled to setUserDataEnabled."
Treehugger Robot [Tue, 9 Jan 2018 23:46:55 +0000 (23:46 +0000)]
Merge "Rename setDataEnabled to setUserDataEnabled."

6 years agoMerge "Tweak layouts for action button to match spec"
TreeHugger Robot [Tue, 9 Jan 2018 23:32:43 +0000 (23:32 +0000)]
Merge "Tweak layouts for action button to match spec"

6 years agoRemove redundant assertion from test
Fan Zhang [Tue, 9 Jan 2018 23:22:19 +0000 (15:22 -0800)]
Remove redundant assertion from test

It's already asserted in other tests, and is causing flakes.

Change-Id: I02ea5cf200e535410e7897a51caf1c98d1682068
Fixes: 70530199
Test: robotest

6 years agoFix alignment in location requests screen
Antony Sargent [Tue, 9 Jan 2018 21:32:28 +0000 (13:32 -0800)]
Fix alignment in location requests screen

In Settings->Security & location->Location, the list of apps that have
recently requested location was moved up on the screen, and this made it
clear that the indentation of the app name was misaligned with the title
of Preference items that came after this. It turns out our custom layout
for AppPreference reserved a bit more space for icons than regular
Preference items.

While examining the layout file for location settings I also fixed a
small nit in a comment.

Fixes: 71056360

Test: Visual (go to Settings->Security & location->Location, and the app
names in the list should be indented at the same level as the Preference
items below)

Change-Id: I87e144c83cc2d13e322f65291415af037c405257

6 years agoAdd high usage battery tip
jackqdyulei [Tue, 2 Jan 2018 22:19:06 +0000 (14:19 -0800)]
Add high usage battery tip

1. Add both model and detector
2. Move the screen usage method to BatteryUtils
so we could reuse it.
3. Add and update the tests

Bug: 70570352
Test: RunSettingsRoboTests

Change-Id: I6a7248d9d48ee8cb6fc2c18c8c225210d49b6bc9

6 years agoDND string fixes
Beverly [Mon, 8 Jan 2018 21:28:53 +0000 (16:28 -0500)]
DND string fixes

Bug: 63077372
Test: make ROBOTEST_FILTER=ZenModeRepeatCallersPreferenceControllerTest RunSettingsRoboTests -j40
Change-Id: Ib2002c75fe86e829bfbbca947affc28dc801cedd

6 years agoMerge "Add wifi metered controls in wifi settings."
TreeHugger Robot [Tue, 9 Jan 2018 22:16:10 +0000 (22:16 +0000)]
Merge "Add wifi metered controls in wifi settings."

6 years agoMerge "Add smart battery page for battery settings"
TreeHugger Robot [Tue, 9 Jan 2018 22:03:17 +0000 (22:03 +0000)]
Merge "Add smart battery page for battery settings"

6 years agoTweak layouts for action button to match spec
Fan Zhang [Tue, 9 Jan 2018 21:44:06 +0000 (13:44 -0800)]
Tweak layouts for action button to match spec

Change-Id: Ic59ee1f15f20dc431bc4a2c6df20b732842a6591
Fixes: 70903732
Test: visual

6 years agoHook up smart battery to Settings value.
jackqdyulei [Tue, 9 Jan 2018 21:00:34 +0000 (13:00 -0800)]
Hook up smart battery to Settings value.

Bug: 71502850
Test: RunSettingsRoboTests
Change-Id: Icbc99af8f681e67af54e3509b3eec40ac9d9668e

6 years agoAdd wifi metered controls in wifi settings.
jackqdyulei [Thu, 4 Jan 2018 22:55:13 +0000 (14:55 -0800)]
Add wifi metered controls in wifi settings.

1. Add it in wifi detail page
2. Add it in wifi dialog
2. Remove it in "Mobile network" page

Bug: 68030417
Test: RunSettingsRoboTests
Change-Id: I2e001c55f3c6c75a660e429732dfbece97b0ca9e

6 years agoAdd smart battery page for battery settings
jackqdyulei [Fri, 5 Jan 2018 22:33:38 +0000 (14:33 -0800)]
Add smart battery page for battery settings

This page contains prefs for smart battery and app restriction.

Bug: 71502850
Test: RunSettingsRoboTests

Change-Id: I194af30cbc7b2496b10098fcb67f1116e0722310

6 years agoMerge "Add reserved disk GID to critical component."
Jeff Sharkey [Tue, 9 Jan 2018 19:27:40 +0000 (19:27 +0000)]
Merge "Add reserved disk GID to critical component."

6 years agoMerge "ZenModeBackend gets newest notification policy"
Beverly Tai [Tue, 9 Jan 2018 19:18:36 +0000 (19:18 +0000)]
Merge "ZenModeBackend gets newest notification policy"

6 years agoSettings: Enable laser sensor toggle for user builds
Emilian Peev [Mon, 8 Jan 2018 18:21:53 +0000 (18:21 +0000)]
Settings: Enable laser sensor toggle for user builds

User builds should also have the camera lensor enable/disable
developer option.

Bug: 71702869
Test: Manual,
make ROBOTEST_FILTER=CameraLaserSensorPreferenceControllerTest
RunSettingsRoboTests -j40
Change-Id: Iaa1aadfee0351b9e5fcaa8282e4dcd7b16e9ebf4

6 years agoMerge "Improve messaging for enhanced notifications"
TreeHugger Robot [Tue, 9 Jan 2018 03:16:26 +0000 (03:16 +0000)]
Merge "Improve messaging for enhanced notifications"

6 years agoRename setDataEnabled to setUserDataEnabled.
Malcolm Chen [Thu, 30 Nov 2017 02:01:25 +0000 (18:01 -0800)]
Rename setDataEnabled to setUserDataEnabled.

Test: unittest
Bug: 69814555
Change-Id: I1d43dc1d2f720383a2f0be18560fc0fd4ff349fd
Merged-In: I1d43dc1d2f720383a2f0be18560fc0fd4ff349fd

6 years agoImprove messaging for enhanced notifications
Salvador Martinez [Fri, 5 Jan 2018 00:50:02 +0000 (16:50 -0800)]
Improve messaging for enhanced notifications

The message displayed in battery settings will now more accurately
reflect when an estimate is enhanced based on our updated
definition of what that means.

Test: robotests
Bug: 64833846
Change-Id: Id635d78d8f56d10253e22df2705af93f2693db70

6 years agoMerge "Change title for advanced connected device page"
TreeHugger Robot [Mon, 8 Jan 2018 23:02:13 +0000 (23:02 +0000)]
Merge "Change title for advanced connected device page"

6 years agoMerge "Running services: Hide actionbar buttons in overflow menu"
TreeHugger Robot [Mon, 8 Jan 2018 22:40:21 +0000 (22:40 +0000)]
Merge "Running services: Hide actionbar buttons in overflow menu"

6 years agoMerge "Whitelist security settings activity v2 for secondary users"
TreeHugger Robot [Mon, 8 Jan 2018 21:51:27 +0000 (21:51 +0000)]
Merge "Whitelist security settings activity v2 for secondary users"

6 years agoChange title for advanced connected device page
jackqdyulei [Mon, 8 Jan 2018 21:02:42 +0000 (13:02 -0800)]
Change title for advanced connected device page

Fixes: 70959154
Test: Screenshot
Change-Id: I8868d0c36f02ea7f4696854ab3371785d7bd64ec

6 years agoRunning services: Hide actionbar buttons in overflow menu
Fan Zhang [Mon, 8 Jan 2018 20:55:50 +0000 (12:55 -0800)]
Running services: Hide actionbar buttons in overflow menu

Change-Id: Ia3fe67c438613ef7df5bb4c1e44854666131d0bb
Fixes: 70972973
Test: visual

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 agoWhitelist security settings activity v2 for secondary users
Fan Zhang [Mon, 8 Jan 2018 20:16:27 +0000 (12:16 -0800)]
Whitelist security settings activity v2 for secondary users

Change-Id: Ifb555d83d4815eaff7096d9bd368b09f03845b0d
Fixes: 71708028
Test: robotest

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 agoAdd reserved disk GID to critical component.
Jeff Sharkey [Sat, 6 Jan 2018 00:14:37 +0000 (17:14 -0700)]
Add reserved disk GID to critical component.

We recently created a new GID that can be granted to critical system
processes, so that the system is usable enough for the user to free
up disk space used by abusive apps.

Test: builds, boots
Bug: 62024591
Change-Id: I4aff50c26878fceace5692252cac66e56a3aea6d

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