OSDN Git Service
TreeHugger Robot [Tue, 16 Jan 2018 20:16:16 +0000 (20:16 +0000)]
Merge "Add ability to show/hide airplane toggle."
TreeHugger Robot [Tue, 16 Jan 2018 19:21:32 +0000 (19:21 +0000)]
Merge "Fix plus position in about phone"
TreeHugger Robot [Tue, 16 Jan 2018 19:14:58 +0000 (19:14 +0000)]
Merge "Initial screens for Storage Access."
Hansong Zhang [Tue, 16 Jan 2018 18:47:13 +0000 (18:47 +0000)]
Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices" am:
ea5243e28d -s ours am:
b4ed2b2005
am:
43c58ddfe6 -s ours
Change-Id: I1e0b733fcc666c1f34232fbab5fb97d3c9f6e0ad
Ben Lin [Wed, 10 Jan 2018 23:55:40 +0000 (15:55 -0800)]
Add ability to show/hide airplane toggle.
This introduces a new boolean flag:
config_show_toggle_airplane
Which when set to false, will hide the airplane mode toggle in network &
internet.
Bug:
69813881
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=AirplaneModePreferenceControllerTest
Change-Id: I2cf682bf78231040eba5573fbcb55a65be2a13df
Hansong Zhang [Tue, 16 Jan 2018 18:13:44 +0000 (18:13 +0000)]
Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices" am:
ea5243e28d -s ours
am:
b4ed2b2005
Change-Id: I0b80d8c673b680ab530f34420bb330665ab904b8
Hansong Zhang [Tue, 16 Jan 2018 18:04:48 +0000 (18:04 +0000)]
Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices"
am:
ea5243e28d -s ours
Change-Id: I57c326c97f19597bd2865c328e024de4da889e77
Wu Qiang [Fri, 7 Jul 2017 10:18:16 +0000 (18:18 +0800)]
Fix plus position in about phone
Settings has phone number in about phone, "+"
is shown with incorrect position in Bidi layout.
Then it needs to use BidiFormatter
Fixes:
70700094
Test: manual
Change-Id: I1d63f773926136c38ce1ac811869476dc6a89eac
Treehugger Robot [Tue, 16 Jan 2018 17:48:53 +0000 (17:48 +0000)]
Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices"
TreeHugger Robot [Sat, 13 Jan 2018 11:32:30 +0000 (11:32 +0000)]
Merge "Adopt robolectric 3.6.1"
TreeHugger Robot [Sat, 13 Jan 2018 02:48:37 +0000 (02:48 +0000)]
Merge "Tweak app notification page title and expand button cutoff"
Felipe Leme [Fri, 12 Jan 2018 21:00:24 +0000 (13:00 -0800)]
Initial screens for Storage Access.
This new settings will be accessed through Apps -> Special Apps and it will let
users change the status of granted (or denied) Scoped Access Permissions.
This initial CL implements the landing activity that shows all packages and an
initial version of the detailed activity for a specific page, althouth the
detailed activity is not ready yet.
Test: manual verification
Test: export ROBOTEST_FILTER=com.android.settings.core.codeinspection.CodeInspectionTest && make RunSettingsRoboTests -j40
Bug:
63720392
Change-Id: Id0419c2c4aaaec365803218d6947e230e4776f13
TreeHugger Robot [Sat, 13 Jan 2018 01:01:48 +0000 (01:01 +0000)]
Merge "Block settings when DISALLOW_CONFIG_BRIGHTNESS."
TreeHugger Robot [Fri, 12 Jan 2018 23:11:23 +0000 (23:11 +0000)]
Merge "Add smart battery tip."
yuemingw [Wed, 10 Jan 2018 20:59:43 +0000 (20:59 +0000)]
Block settings when DISALLOW_CONFIG_BRIGHTNESS.
Test: m -j RunSettingsRoboTests
Change-Id: I667c76dfef20158ab2a72178fb82b8183b448976
Fix:
67675654
Change-Id: I83f2e0086e16cd2a0dbc4cbcc31d4e2d454934cd
Fan Zhang [Fri, 12 Jan 2018 23:00:09 +0000 (15:00 -0800)]
Tweak app notification page title and expand button cutoff
Change-Id: If9b93023ac9ab946b7c2b0dd65852948029da896
Fixes:
71813209
Test: visual
TreeHugger Robot [Fri, 12 Jan 2018 22:26:02 +0000 (22:26 +0000)]
Merge "Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ... the feedback from API council"
TreeHugger Robot [Fri, 12 Jan 2018 21:53:12 +0000 (21:53 +0000)]
Merge "Introduce boolean flag to show/hide Location Scanning preference."
James Lemieux [Fri, 12 Jan 2018 02:07:54 +0000 (18:07 -0800)]
Adopt robolectric 3.6.1
Bug:
71596155
Test: make RunSettingsRoboTests
Change-Id: I46362bae1e3ddd3ce19ade1c93250d272f3366e6
TreeHugger Robot [Fri, 12 Jan 2018 20:11:30 +0000 (20:11 +0000)]
Merge "Add ability to show/hide individual settings in Sounds page."
Ben Lin [Thu, 11 Jan 2018 23:32:36 +0000 (15:32 -0800)]
Introduce boolean flag to show/hide Location Scanning preference.
This introduce one new flag:
config_show_location_scanning
Which when set to false, will hide "Scanning" in Location preference.
Some OEMs may control Bluetooth/Wi-Fi scanning themselves, so they may
want to hide the page from users.
Bug:
62418710
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=LocationScanningPreferenceControllerTest
Change-Id: I19f0020a2c94f70b3b7956529f57af098ccc79fd
TreeHugger Robot [Fri, 12 Jan 2018 19:03:34 +0000 (19:03 +0000)]
Merge "Add string variants for "device" products."
jackqdyulei [Wed, 10 Jan 2018 17:51:52 +0000 (09:51 -0800)]
Add smart battery tip.
Also move the action method from BatteryTip to TipAction. Since it
need extra data that we don't want to store it in parcel.
Bug:
71502850
Test: RunSettingsRoboTests
Change-Id: Ib658426725158d26fcdd437fa8bf6bf24e9a8c14
TreeHugger Robot [Fri, 12 Jan 2018 18:17:26 +0000 (18:17 +0000)]
Merge "Follow slice refactor"
TreeHugger Robot [Fri, 12 Jan 2018 18:01:23 +0000 (18:01 +0000)]
Merge "Make a strong reference to LifecycleOwner in tests"
Salvador Martinez [Fri, 12 Jan 2018 17:33:00 +0000 (17:33 +0000)]
Merge "Add support for early warning query"
Fan Zhang [Fri, 12 Jan 2018 17:15:22 +0000 (17:15 +0000)]
Merge "Override switch bar string for wifi/battery saver screen"
TreeHugger Robot [Fri, 12 Jan 2018 15:33:14 +0000 (15:33 +0000)]
Merge "Zen 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
Jason Monk [Wed, 10 Jan 2018 01:40:41 +0000 (20:40 -0500)]
Follow slice refactor
Test: make
Bug:
68378561
Change-Id: Ifb35d39e54b2c292017b7866d7a52b120b4f6685
Tony Mak [Fri, 12 Jan 2018 12:12:15 +0000 (12:12 +0000)]
Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ...
the feedback from API council
Fix:
71818127
Test: Build
Change-Id: Iab976fefcf00e0d5abada123b7c19344241b928a
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.
TreeHugger Robot [Fri, 12 Jan 2018 01:57:37 +0000 (01:57 +0000)]
Merge "Fix 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
TreeHugger Robot [Fri, 12 Jan 2018 00:03:44 +0000 (00:03 +0000)]
Merge "Update screen pinning state whenever it changes."
TreeHugger Robot [Thu, 11 Jan 2018 23:18:30 +0000 (23:18 +0000)]
Merge "Re-add support string that was being used by wifi"
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
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
Fan Zhang [Thu, 11 Jan 2018 22:19:05 +0000 (22:19 +0000)]
Merge "Misc fixes in device info page"
TreeHugger Robot [Thu, 11 Jan 2018 21:37:53 +0000 (21:37 +0000)]
Merge "Add developer tiles for layer and window trace"
TreeHugger Robot [Thu, 11 Jan 2018 21:16:46 +0000 (21:16 +0000)]
Merge "Misc fixes"
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
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
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
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
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
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
TreeHugger Robot [Thu, 11 Jan 2018 17:49:56 +0000 (17:49 +0000)]
Merge "Add ability to show/hide Color Correction and Color Inversion."
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
TreeHugger Robot [Thu, 11 Jan 2018 03:00:28 +0000 (03:00 +0000)]
Merge "Update master switch style"
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
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
jackqdyulei [Thu, 11 Jan 2018 01:53:47 +0000 (01:53 +0000)]
Add metric id for anomaly fragments.
am:
2fd1c9839c
Change-Id: Iff6c41c8549cdc102e954d6a429a9ab56d4e10c6
TreeHugger Robot [Thu, 11 Jan 2018 01:35:42 +0000 (01:35 +0000)]
Merge "Fix alignment in location requests screen"
TreeHugger Robot [Thu, 11 Jan 2018 01:10:30 +0000 (01:10 +0000)]
Merge "Add 50% and 100% to auto battery saver settings"
TreeHugger Robot [Thu, 11 Jan 2018 00:17:27 +0000 (00:17 +0000)]
Merge "Propagate extras when switching between choose lock activities"
TreeHugger Robot [Thu, 11 Jan 2018 00:15:01 +0000 (00:15 +0000)]
Merge "Fix NPE in SetupChooseLockpattern screen"
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
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
Hansong Zhang [Wed, 10 Jan 2018 23:42:56 +0000 (15:42 -0800)]
DO NOT MERGE 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: If8c2c26ad4c9a2b7458a2d16a0c29d5f9b4df5c7
Ben Lin [Wed, 10 Jan 2018 22:29:28 +0000 (22:29 +0000)]
Merge "Introduce boolean flags to show/hide items for Language & input."
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
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
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
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
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
TreeHugger Robot [Wed, 10 Jan 2018 20:39:06 +0000 (20:39 +0000)]
Merge "Build slice from indexed data in SliceProvider"
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
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
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
TreeHugger Robot [Wed, 10 Jan 2018 10:26:42 +0000 (10:26 +0000)]
Merge "Settings: Enable laser sensor toggle for user builds"
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
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)
TreeHugger Robot [Wed, 10 Jan 2018 02:47:17 +0000 (02:47 +0000)]
Merge "Hook up smart battery to Settings value."
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
TreeHugger Robot [Wed, 10 Jan 2018 00:57:49 +0000 (00:57 +0000)]
Merge "Remove redundant assertion from test"
TreeHugger Robot [Wed, 10 Jan 2018 00:45:24 +0000 (00:45 +0000)]
Merge "DND string fixes"
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
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
Malcolm Chen [Tue, 9 Jan 2018 23:56:14 +0000 (23:56 +0000)]
Merge "Rename setDataEnabled to setUserDataEnabled."
am:
43b1b97e3e
Change-Id: Ib11eca12b1331494972c86a18670c348abae3d2c
Treehugger Robot [Tue, 9 Jan 2018 23:46:55 +0000 (23:46 +0000)]
Merge "Rename setDataEnabled to setUserDataEnabled."
TreeHugger Robot [Tue, 9 Jan 2018 23:32:43 +0000 (23:32 +0000)]
Merge "Tweak layouts for action button to match spec"
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
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
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
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
TreeHugger Robot [Tue, 9 Jan 2018 22:16:10 +0000 (22:16 +0000)]
Merge "Add wifi metered controls in wifi settings."
TreeHugger Robot [Tue, 9 Jan 2018 22:03:17 +0000 (22:03 +0000)]
Merge "Add smart battery page for battery settings"
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
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
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
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
Jeff Sharkey [Tue, 9 Jan 2018 19:27:40 +0000 (19:27 +0000)]
Merge "Add reserved disk GID to critical component."
Beverly Tai [Tue, 9 Jan 2018 19:18:36 +0000 (19:18 +0000)]
Merge "ZenModeBackend gets newest notification policy"
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
TreeHugger Robot [Tue, 9 Jan 2018 03:16:26 +0000 (03:16 +0000)]
Merge "Improve messaging for enhanced notifications"
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
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
TreeHugger Robot [Mon, 8 Jan 2018 23:02:13 +0000 (23:02 +0000)]
Merge "Change title for advanced connected device page"
TreeHugger Robot [Mon, 8 Jan 2018 22:40:21 +0000 (22:40 +0000)]
Merge "Running services: Hide actionbar buttons in overflow menu"