OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Unavailable Slices includes DISABLED_DEPENDENT settings" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 19:31:03 +0000 (19:31 +0000)]
Merge "Unavailable Slices includes DISABLED_DEPENDENT settings" into pi-dev

6 years agoMerge "Hide preference when no app restricted" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 18:30:26 +0000 (18:30 +0000)]
Merge "Hide preference when no app restricted" into pi-dev

6 years agoMerge "Hide color mode preference depending on Accessibility settings" into pi-dev
Daniel Solomon [Tue, 10 Apr 2018 17:59:26 +0000 (17:59 +0000)]
Merge "Hide color mode preference depending on Accessibility settings" into pi-dev

6 years agoMerge "Update field for ACTION_ANOMALY_TRIGGERED" into pi-dev
Lei Yu [Tue, 10 Apr 2018 17:39:08 +0000 (17:39 +0000)]
Merge "Update field for ACTION_ANOMALY_TRIGGERED" into pi-dev

6 years agoMerge "Update slice constant reference" into pi-dev
Jason Monk [Tue, 10 Apr 2018 17:10:29 +0000 (17:10 +0000)]
Merge "Update slice constant reference" into pi-dev

6 years agoUpdate slice constant reference
Jason Monk [Tue, 10 Apr 2018 13:04:53 +0000 (09:04 -0400)]
Update slice constant reference

Test: build
Bug: 73123786
Change-Id: I9f38f0298bcaace85256639fd285d38a580c90fe

6 years agoMerge "Add zen onboarding screen" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 14:35:44 +0000 (14:35 +0000)]
Merge "Add zen onboarding screen" into pi-dev

6 years agoMerge "Notification settings updates" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 13:51:22 +0000 (13:51 +0000)]
Merge "Notification settings updates" into pi-dev

6 years agoAdd zen onboarding screen
Julia Reynolds [Mon, 9 Apr 2018 19:24:55 +0000 (15:24 -0400)]
Add zen onboarding screen

Bug: 77658931
Test: make -j RunSettingsRoboTests
Change-Id: Ifc886148ed742d72b5606a9ce7eb19d0da234c9e

6 years agoMerge "Add new string for audio switcher" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 04:24:16 +0000 (04:24 +0000)]
Merge "Add new string for audio switcher" into pi-dev

6 years agoHide color mode preference depending on Accessibility settings
Daniel Solomon [Mon, 9 Apr 2018 22:09:13 +0000 (15:09 -0700)]
Hide color mode preference depending on Accessibility settings

Currently, when certain Accessibility color transforms are enabled, the
color mode preference radio buttons are disabled. To avoid confusing
users, hide the color mode preference entirely. If the color mode
settings screen is already open when the Accessibility transforms are
enabled, return the user back to the previous screen.

Bug: 77695840
Test: make ROBOTEST_FILTER=ColorModePreferenceFragmentTest
RunSettingsRoboTests -j40

Change-Id: I44812713bdc739b843e5806711d25ea950aa6250

6 years agoFix robotest failure for ChartDataUsagePreferenceTest.
Doris Ling [Tue, 10 Apr 2018 01:03:20 +0000 (18:03 -0700)]
Fix robotest failure for ChartDataUsagePreferenceTest.

- the chart usage data is computed using difference between current time
and the timestamp from the usage data. In the test, we are using actual
current time and mock usage data. As the current time varies the test
computating sometimes results in some negative data, and makes the
comparison unpredictable. Change to use a fix "current" time in the test
so that the time difference in computation will be constant.

Fixes: 77824818
Test: make RunSettingsRoboTests
Change-Id: I2d8c166839775469d30015317afdc04eb3d9a2b4

6 years agoUnavailable Slices includes DISABLED_DEPENDENT settings
Matthew Fritze [Fri, 6 Apr 2018 17:20:05 +0000 (10:20 -0700)]
Unavailable Slices includes DISABLED_DEPENDENT settings

In the change to mark disabled_dependent as available,
it did not change the check in SliceBuilderUtils for the
unavailable Slices. In the case of DISABLED_DEPENDENT, the
setting is available but the Slice is not.

Though it is a simple change, we can now properly test the contents
of Slices, so this change includes tests which should have been in
place earlier and would have caught this bug - duh.

Bug: 71640747
Test: Robotests
Change-Id: I8db5bc80edb337cbf907ce3669aa2bfd9c72f74a

6 years agoMerge "Update storage wizard to latest UX mocks." into pi-dev
Jeff Sharkey [Mon, 9 Apr 2018 23:58:34 +0000 (23:58 +0000)]
Merge "Update storage wizard to latest UX mocks." into pi-dev

6 years agoMerge "Make it possible to have open tether network" into pi-dev
Salvador Martinez [Mon, 9 Apr 2018 23:30:35 +0000 (23:30 +0000)]
Merge "Make it possible to have open tether network" into pi-dev

6 years agoUpdate field for ACTION_ANOMALY_TRIGGERED
Lei Yu [Mon, 9 Apr 2018 17:10:15 +0000 (10:10 -0700)]
Update field for ACTION_ANOMALY_TRIGGERED

Use new field FIELD_ANOMALY_TYPE

Bug: 75976625
Test: RunSettingsRoboTests
Change-Id: Ifb67c687d25e1e35afaadb05f2e9883e8dcf8049

6 years agoNotification settings updates
Julia Reynolds [Fri, 30 Mar 2018 18:04:55 +0000 (14:04 -0400)]
Notification settings updates

- smaller icons
- text update
- fx header
- fix category header

Test: make -j RunSettingsRoboTests

Change-Id: If822d6db31a8dccf20ee88182cda1aee34aa7675
Fixes: 77325154
Fixes: 77323406
Fixes: 77324677
Fixes: 74408368

6 years agoMerge "Remove Automatic color mode option" into pi-dev
Christine Franks [Mon, 9 Apr 2018 21:18:28 +0000 (21:18 +0000)]
Merge "Remove Automatic color mode option" into pi-dev

6 years agoMerge changes from topic "am-e8b13d24-dee0-4f84-89d4-8a7d110f6ec1" into oc-dev am...
Hansong Zhang [Mon, 9 Apr 2018 21:10:21 +0000 (14:10 -0700)]
Merge changes from topic "am-e8b13d24-dee0-4f84-89d4-8a7d110f6ec1" into oc-dev am: d59b0eddae am: 3f2dbb7cc9
am: e934ea80a6

Change-Id: I17aa86fa2a02f1a80e9ec8aaa557c3488dd32c21

6 years ago[automerger skipped] [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth...
Hansong Zhang [Mon, 9 Apr 2018 21:08:48 +0000 (14:08 -0700)]
[automerger skipped] [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666 am: 5d27bdb6d2 am: bab8dca667 am: 84061c71d1 am: 41be25548e skipped: 74ff24d1c6 am: c4127072f4 am: 1b7566cd07
am: af077f8d4c  -s ours

Change-Id: I834e60da9920199756dce2206042e4a1ba0c20b9

6 years agoMerge changes from topic "am-e8b13d24-dee0-4f84-89d4-8a7d110f6ec1" into oc-dev am...
Hansong Zhang [Mon, 9 Apr 2018 20:54:58 +0000 (13:54 -0700)]
Merge changes from topic "am-e8b13d24-dee0-4f84-89d4-8a7d110f6ec1" into oc-dev am: d59b0eddae
am: 3f2dbb7cc9

Change-Id: Ica684d7a7fc36439111b7eeb3886761f63a7130f

6 years ago[automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0...
Hansong Zhang [Mon, 9 Apr 2018 20:53:41 +0000 (13:53 -0700)]
[automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666 am: 5d27bdb6d2 am: bab8dca667 am: 84061c71d1 am: 41be25548e skipped: 74ff24d1c6 am: c4127072f4
am: 1b7566cd07

Change-Id: I10c2d233f05ddf566ac38afb7c2cdc5a8e61df25

6 years agoMerge changes from topic "am-e8b13d24-dee0-4f84-89d4-8a7d110f6ec1" into oc-dev
Hansong Zhang [Mon, 9 Apr 2018 20:44:07 +0000 (13:44 -0700)]
Merge changes from topic "am-e8b13d24-dee0-4f84-89d4-8a7d110f6ec1" into oc-dev
am: d59b0eddae

Change-Id: Ia628cc0bd02429ec321d8e80c9d9ad2c097715bd

6 years ago[automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0...
Hansong Zhang [Mon, 9 Apr 2018 20:43:04 +0000 (13:43 -0700)]
[automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666 am: 5d27bdb6d2 am: bab8dca667 am: 84061c71d1 am: 41be25548e skipped: 74ff24d1c6
am: c4127072f4

Change-Id: I559bfa947ae6f7ee89076d05826fd4529d6b0cc2

6 years agoMerge changes from topic "am-e8b13d24-dee0-4f84-89d4-8a7d110f6ec1" into oc-dev
TreeHugger Robot [Mon, 9 Apr 2018 20:29:54 +0000 (20:29 +0000)]
Merge changes from topic "am-e8b13d24-dee0-4f84-89d4-8a7d110f6ec1" into oc-dev

* changes:
  [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa am: e25ebddfdc am: ee220e0238 am: 7b2b84c617 skipped: b1f00ebf9c
  [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa am: e25ebddfdc am: ee220e0238 am: 7b2b84c617
  [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa am: e25ebddfdc am: ee220e0238
  [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa am: e25ebddfdc
  [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa
  DO NOT MERGE Fix unexpected behavior in Bluetooth pairing

6 years agoMerge "Once auto-battery saver is ever set, don't show suggestion" into pi-dev
Makoto Onuki [Mon, 9 Apr 2018 20:29:30 +0000 (20:29 +0000)]
Merge "Once auto-battery saver is ever set, don't show suggestion" into pi-dev

6 years agoMerge "Update DndCondition settings summary" into pi-dev
Beverly Tai [Mon, 9 Apr 2018 19:54:24 +0000 (19:54 +0000)]
Merge "Update DndCondition settings summary" into pi-dev

6 years agoHide preference when no app restricted
Lei Yu [Mon, 9 Apr 2018 18:25:31 +0000 (11:25 -0700)]
Hide preference when no app restricted

Change-Id: I37135bce5354ce7380441f86f94cb79d89cc500c
Fixes: 77799629
Test: RunSettingsRoboTests

6 years agoMerge "Remove gear from usb preference" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 19:08:26 +0000 (19:08 +0000)]
Merge "Remove gear from usb preference" into pi-dev

6 years agoMerge "Use proper icon size for default app prefs." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 19:04:22 +0000 (19:04 +0000)]
Merge "Use proper icon size for default app prefs." into pi-dev

6 years agoMerge "GesturesSettingPreferenceController to Toggle" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 18:59:44 +0000 (18:59 +0000)]
Merge "GesturesSettingPreferenceController to Toggle" into pi-dev

6 years agoMerge "Reorder visual effect fields" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 18:52:25 +0000 (18:52 +0000)]
Merge "Reorder visual effect fields" into pi-dev

6 years agoMerge "Fix a crash in Storage Settings." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 18:40:40 +0000 (18:40 +0000)]
Merge "Fix a crash in Storage Settings." into pi-dev

6 years agoMake it possible to have open tether network
Salvador Martinez [Fri, 30 Mar 2018 18:11:12 +0000 (11:11 -0700)]
Make it possible to have open tether network

Previously people could have open tether networks but a restrction
was placed on this sometime in the past. However there is no migration
plan in place for people with open tether networks which will cause
problems when the new requirements are enforced. This CL makes it
so tether networks can be open once more.

Test: robotests
Bug: 65784990
Change-Id: I6e350dd53b9b9f987dd5a4cc317ba18d7f50df79

6 years agoRemove gear from usb preference
Jerry Zhang [Fri, 6 Apr 2018 19:06:49 +0000 (12:06 -0700)]
Remove gear from usb preference

Switch from GearPreference to a normal
Preference.

Add some spacing underneath the power role.

Bug: 77647931
Test: passes
Change-Id: Ic15849e12aa47df75cc75c9da0384e24627a9c8b

6 years agoMerge "Delete unused query_hint_text string." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:33:50 +0000 (17:33 +0000)]
Merge "Delete unused query_hint_text string." into pi-dev

6 years agoMerge "Update inherited actionBarStyle to DeviceDefault." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:33:21 +0000 (17:33 +0000)]
Merge "Update inherited actionBarStyle to DeviceDefault." into pi-dev

6 years agoUse proper icon size for default app prefs.
Fan Zhang [Fri, 6 Apr 2018 23:31:31 +0000 (16:31 -0700)]
Use proper icon size for default app prefs.

Change-Id: Ib48c7a546fcd3a3a9e32b7a65cbdadd54721f252
Fixes: 77726902
Test: robotests

6 years agoFix a crash in Storage Settings.
Daniel Nishi [Fri, 6 Apr 2018 20:05:35 +0000 (13:05 -0700)]
Fix a crash in Storage Settings.

This prevents a NullPtrException when the DonutView attempts to shrink
the percentage sign. By gracefully falling back when we don't understand
the percentage sign, we can avoid a crash.

Change-Id: I0b0770ce4b51eb30817dc556636f86476f4cd1bf
Fixes: 77653937
Test: Robotest -- screenshot attached

6 years agoMerge "Add NullPtrCheck when smearing in settings" into pi-dev
Lei Yu [Mon, 9 Apr 2018 17:09:22 +0000 (17:09 +0000)]
Merge "Add NullPtrCheck when smearing in settings" into pi-dev

6 years agoUpdate DndCondition settings summary
Beverly [Fri, 6 Apr 2018 18:17:13 +0000 (14:17 -0400)]
Update DndCondition settings summary

Test: make ROBOTEST_FILTER=ZenModeSettingsTest RunSettingsRoboTests -j40
Test: atest DndConditionTest
Change-Id: Iff39e9dfda25453bfe4c2554fea3ef7be0832413
Fixes: 77704156
Fixes: 76208187

6 years agoReorder visual effect fields
Julia Reynolds [Fri, 6 Apr 2018 17:02:53 +0000 (13:02 -0400)]
Reorder visual effect fields

Bug: 77657376
Test: RunSettingsRoboTests
Change-Id: I9f5be8f173d8d987d419f6d444d76d2abe175b4e

6 years agoGesturesSettingPreferenceController to Toggle
HJ ChangLiao [Mon, 2 Apr 2018 09:06:55 +0000 (17:06 +0800)]
GesturesSettingPreferenceController to Toggle

Convert GesturesSettingPreferenceController to
TogglePreferenceController,
All of its children need follow the change,
add setter and robotest for them:
AssistGestureSettingsPreferenceController
DoubleTapPowerPreferenceController
DoubleTapScreenPreferenceController
DoubleTwistPreferenceController
PickupGesturePreferenceController
SwipeToNotificationPreferenceController

Change-Id: I792b2d370eea828bf345fb2b1cc3eac260eb66f4
Merged-In: I792b2d370eea828bf345fb2b1cc3eac260eb66f4
Fixes: 74913806
Fixes: 67998110
Fixes: 67998098
Fixes: 67998048
Fixes: 67998069
Fixes: 67997452
Test: make RunSettingsRoboTests

6 years agoAdd new string for audio switcher
ryanywlin [Tue, 3 Apr 2018 07:23:26 +0000 (15:23 +0800)]
Add new string for audio switcher

Bug: 74130772
Test: rebuild
Change-Id: I31760046ca1754145dfa40049428213f985e8175

6 years agoMove these radio buttons to the left
John Li [Tue, 27 Mar 2018 08:16:55 +0000 (16:16 +0800)]
Move these radio buttons to the left

Assign new single layout to RadioButtonPreference for w/ or w/o icon
and call setIconSpaceReserved(false) in RadioButtonPreference's
constructor. In case of having icon, calling setIcon() can make
icon_frame visible.

Bug: 70850017
Test: m -j56 SettingsRoboTests RunSettingsRoboTests
Change-Id: I8b35f75b6d8114a5e4c69ec1a3287c55e764ffe0

6 years agoUpdate storage wizard to latest UX mocks.
Jeff Sharkey [Mon, 2 Apr 2018 00:25:54 +0000 (18:25 -0600)]
Update storage wizard to latest UX mocks.

Mostly shuffling around strings and layouts.  Slow device warning is
now a full-screen activity, and format warning is now a dialog.

Bug: 76097999
Test: atest com.android.settings.ui.StorageWizardTest
Change-Id: Ifd74e3b1389f0cc9590f6a6a2cd49671f3bbc746

6 years agoDisplay Private DNS status in preference summary
Erik Kline [Thu, 5 Apr 2018 21:30:56 +0000 (14:30 -0700)]
Display Private DNS status in preference summary

Also: fix a bug where the actual current mode is not read correctly
from settings on initialization.

Test: as follows
    - built, flashed, booted
    - manual test behaves as expected
    - make -j50 RunSettingsRoboTests ROBOTEST_FILTER=PrivateDnsModeDialogPreferenceTest passes
    - make -j50 RunSettingsRoboTests ROBOTEST_FILTER=PrivateDnsPreferenceControllerTest passes
Bug: 34953048
Bug: 64133961
Change-Id: I0b845b3894a47b837abf5de273d1ada642ef5a23

6 years agoUpdate inherited actionBarStyle to DeviceDefault.
Andrew Sapperstein [Wed, 24 Jan 2018 01:34:19 +0000 (17:34 -0800)]
Update inherited actionBarStyle to DeviceDefault.

Was using a Material style. Now it's using the DeviceDefault one that
Theme.DeviceDefault.Settings uses.

Bug: 69314526
Test: visual inspection
Change-Id: I5ce1bbb51a8d067fce226ff4a41fdea64106156a

6 years agoDelete unused query_hint_text string.
Andrew Sapperstein [Sun, 8 Apr 2018 18:15:03 +0000 (11:15 -0700)]
Delete unused query_hint_text string.

Change-Id: If6378768255c7cac290f914620115bff04c6b281
Fixes: 77772047
Test: compiles

6 years agoMerge "Fix test expectations for NetworkCallbacks" into pi-dev
TreeHugger Robot [Sat, 7 Apr 2018 05:06:53 +0000 (05:06 +0000)]
Merge "Fix test expectations for NetworkCallbacks" into pi-dev

6 years agoMerge "Create help link placeholder for Wifi Direct settings." into pi-dev
TreeHugger Robot [Sat, 7 Apr 2018 01:04:52 +0000 (01:04 +0000)]
Merge "Create help link placeholder for Wifi Direct settings." into pi-dev

6 years agoRemove Automatic color mode option
Christine Franks [Thu, 29 Mar 2018 01:37:20 +0000 (18:37 -0700)]
Remove Automatic color mode option

This is not yet implemented and should not appear as an option.

Bug: 76420446
Test: make RunSettingsRoboTests -j100

Change-Id: I40f1f48cc93417536a1680923c7628139a0534b1

6 years agoCreate help link placeholder for Wifi Direct settings.
Fan Zhang [Thu, 5 Apr 2018 20:48:55 +0000 (13:48 -0700)]
Create help link placeholder for Wifi Direct settings.

Change-Id: Ia22259d191d2663d7ef63438c680826d3fd590fb
Merged-In: Ia22259d191d2663d7ef63438c680826d3fd590fb
Fixes: 70854725
Test: robotests

6 years agoMerge "Adjust alignment for suggestion icon." into pi-dev
Doris Ling [Fri, 6 Apr 2018 23:00:30 +0000 (23:00 +0000)]
Merge "Adjust alignment for suggestion icon." into pi-dev

6 years agoAdd NullPtrCheck when smearing in settings
Lei Yu [Fri, 6 Apr 2018 21:50:05 +0000 (14:50 -0700)]
Add NullPtrCheck when smearing in settings

This only happens in new device with broken power_profile.xml, in
which it doesn't have screen power model.

This CL catches the null pointer crash and log it.

Change-Id: Iac23e3a8fc51385bdb22979c4b59000319f6fd49
Fixes: 74617269
Test: RunSettingsRoboTests

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 22:42:17 +0000 (22:42 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Prioritize dynamic summaries" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 22:29:02 +0000 (22:29 +0000)]
Merge "Prioritize dynamic summaries" into pi-dev

6 years agoAdjust alignment for suggestion icon.
Doris Ling [Tue, 3 Apr 2018 00:17:42 +0000 (17:17 -0700)]
Adjust alignment for suggestion icon.

- add margin to the suggestion icon so that it align properly with the
suggestion text.
- also align the action button with the suggestion icon and text.

Change-Id: Ic12e4160d6583cf2d837e65ee5fd5a1ad73d348d
Fixes: 74414989
Test: visual

6 years agoPrioritize dynamic summaries
Matthew Fritze [Wed, 4 Apr 2018 23:58:56 +0000 (16:58 -0700)]
Prioritize dynamic summaries

If both Xml and a controller provide a summary,
the controller's should be prioritized.

Change-Id: I030746b0f253ce4884a7868e385069b208f63082
Fixes: 77602860
Test: robotests

6 years agoFix test expectations for NetworkCallbacks
Erik Kline [Fri, 6 Apr 2018 21:07:59 +0000 (14:07 -0700)]
Fix test expectations for NetworkCallbacks

Test: as follows
    - built
    - flashed
    - booted
    - make -j50 RunSettingsRoboTests ROBOTEST_FILTER=WifiMasterSwitchPreferenceControllerTest
Bug: 64133961
Bug: 77285360
Change-Id: I1ada2888d0c5517f3bcde646bf8efab331330cfd

6 years agoMerge "Make volume sliders sliceable" into pi-dev
Julia Reynolds [Fri, 6 Apr 2018 20:48:31 +0000 (20:48 +0000)]
Merge "Make volume sliders sliceable" into pi-dev

6 years agoMerge "Adds strings for Swipe Up gesture in Settings" into pi-dev
Mehdi Alizadeh [Fri, 6 Apr 2018 20:46:18 +0000 (20:46 +0000)]
Merge "Adds strings for Swipe Up gesture in Settings" into pi-dev

6 years agoMerge "Add test for anomaly detection in P" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:46:00 +0000 (20:46 +0000)]
Merge "Add test for anomaly detection in P" into pi-dev

6 years agoAdds strings for Swipe Up gesture in Settings
Mehdi Alizadeh [Wed, 4 Apr 2018 23:43:12 +0000 (16:43 -0700)]
Adds strings for Swipe Up gesture in Settings

Bug: 77549883
Test: None
Change-Id: I64b448f3a3564e8ac6d29e1241e84032708dba71

6 years agoMerge "Exempt tests from hidden API checks." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:39:24 +0000 (20:39 +0000)]
Merge "Exempt tests from hidden API checks." into pi-dev

6 years agoMerge "Change "More details" to "Learn more" in policy transparency dialog." into...
TreeHugger Robot [Fri, 6 Apr 2018 20:35:41 +0000 (20:35 +0000)]
Merge "Change "More details" to "Learn more" in policy transparency dialog." into pi-dev

6 years agoMerge "Add battery illustration" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:26:24 +0000 (20:26 +0000)]
Merge "Add battery illustration" into pi-dev

6 years agoMerge "Add name and icon for AOD" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:19:21 +0000 (20:19 +0000)]
Merge "Add name and icon for AOD" into pi-dev

6 years agoMerge "Add anomaly log to dumpsys" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 19:28:55 +0000 (19:28 +0000)]
Merge "Add anomaly log to dumpsys" into pi-dev

6 years agoAdd test for anomaly detection in P
Lei Yu [Wed, 4 Apr 2018 19:16:18 +0000 (12:16 -0700)]
Add test for anomaly detection in P

Lot of tests have been added already, this CL adds the missing tests
after robolectric upgrade.

Also add UID_NULL check in AnomalyDetectionJobService. It is almost
impossible to happen however we better catch it.

Bug: 73172999
Test: RunSettingsRoboTests
Change-Id: I950537efb166b0900393df1321ca64151b43e906

6 years agoMerge "Hide app if it shares uid with whitelisted app" into pi-dev
Lei Yu [Fri, 6 Apr 2018 17:19:19 +0000 (17:19 +0000)]
Merge "Hide app if it shares uid with whitelisted app" into pi-dev

6 years agoMerge "Update SliceContollerInXmlTest to match latest slice spec." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 17:15:46 +0000 (17:15 +0000)]
Merge "Update SliceContollerInXmlTest to match latest slice spec." into pi-dev

6 years agoMerge "Disable user control of color mode depending on Accessibility" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 17:12:01 +0000 (17:12 +0000)]
Merge "Disable user control of color mode depending on Accessibility" into pi-dev

6 years agoMerge "apostrophe should be curly" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 16:32:35 +0000 (16:32 +0000)]
Merge "apostrophe should be curly" into pi-dev

6 years agoExempt tests from hidden API checks.
Nicolas Geoffray [Fri, 6 Apr 2018 13:29:03 +0000 (14:29 +0100)]
Exempt tests from hidden API checks.

Bug: 64382372
Bug: 74963051

Test: m
Change-Id: I4e51a8a7d86ac79668f66057daf550a8f04711dd

6 years agoChange "More details" to "Learn more" in policy transparency dialog.
arangelov [Thu, 5 Apr 2018 14:05:12 +0000 (15:05 +0100)]
Change "More details" to "Learn more" in policy transparency dialog.

Screenshot: https://screenshot.googleplex.com/5xrwW3g29qa.png

Bug: 77618738
Test: none
Change-Id: I464f492cd6b1468b85b5a691c29ae7a982ecebff

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 5 Apr 2018 23:59:06 +0000 (16:59 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I065e2a1271c2f8e4dba989736069982ed6be7f9d

6 years agoMerge ""Data Warn & Limits" pref. summary should be empty." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 23:41:47 +0000 (23:41 +0000)]
Merge ""Data Warn & Limits" pref. summary should be empty." into pi-dev

6 years agoMerge "Add new string for sound settings" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 23:33:40 +0000 (23:33 +0000)]
Merge "Add new string for sound settings" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 23:12:21 +0000 (23:12 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoAdd name and icon for AOD
Lei Yu [Thu, 5 Apr 2018 22:01:52 +0000 (15:01 -0700)]
Add name and icon for AOD

Keep it in both app list and full usage list for now,
so we don't need to update smearing code.

Bug: 77156569
Test: Screenshot | RunSettingsRoboTests
Change-Id: I5247da90ea591b226cafef8f2d1ffcbff387b62f

6 years agoMerge "Change "X over" text color to ColorError" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:47:23 +0000 (22:47 +0000)]
Merge "Change "X over" text color to ColorError" into pi-dev

6 years ago"Data Warn & Limits" pref. summary should be empty.
Andreas Terzis [Fri, 30 Mar 2018 06:19:10 +0000 (23:19 -0700)]
"Data Warn & Limits" pref. summary should be empty.

The "Data Warning & Limits" preference in the Data Usage screen
should not have a summary.

Bug: 77300376

Test: manual
Test: make RunSettingsRoboTests
Change-Id: Ic567e7451ac3ea102577ab96ccef3ce7de05d4ad

6 years agoHide app if it shares uid with whitelisted app
Lei Yu [Thu, 5 Apr 2018 20:38:58 +0000 (13:38 -0700)]
Hide app if it shares uid with whitelisted app

Statsd blame app based on uid, which may mapping to multiple packages.
If there is one app in whitelist, then we shouldn't blame other apps
in anomaly detection.

Change-Id: Ib546e207eb113cef9ef5fecb1138e61558e9cf55
Fixes: 77560853
Test: RunSettingsRoboTests

6 years agoMerge "Update WifiScanningRequiredFragment dialog to show help page" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:07:30 +0000 (22:07 +0000)]
Merge "Update WifiScanningRequiredFragment dialog to show help page" into pi-dev

6 years agoMerge "Do not use warning or limit to display "X B left" above usage bar" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 21:36:59 +0000 (21:36 +0000)]
Merge "Do not use warning or limit to display "X B left" above usage bar" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 5 Apr 2018 21:34:11 +0000 (14:34 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I08041a5d5d29533296012921a6d53956948ad527

6 years agoMerge "Update the anomaly type constants" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 21:23:24 +0000 (21:23 +0000)]
Merge "Update the anomaly type constants" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 21:02:51 +0000 (21:02 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoUpdate SliceContollerInXmlTest to match latest slice spec.
Fan Zhang [Thu, 5 Apr 2018 18:19:45 +0000 (11:19 -0700)]
Update SliceContollerInXmlTest to match latest slice spec.

- Convert the test to use CodeInspector
- Skip abstract classes when validating contract
- Also check SliderPreferenceController when validating contract

Change-Id: I671c1a622df6d1d7248a12932f144711fbf5a026
Fixes: 77634230
Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=CodeIns

6 years agoMerge "Update launch intent flags for settings shortcut widgets." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 20:50:06 +0000 (20:50 +0000)]
Merge "Update launch intent flags for settings shortcut widgets." into pi-dev

6 years agoUpdate WifiScanningRequiredFragment dialog to show help page
Salvador Martinez [Thu, 5 Apr 2018 00:34:32 +0000 (17:34 -0700)]
Update WifiScanningRequiredFragment dialog to show help page

This CL updates the WifiScanningRequiredFragment dialog so that the
learn more button is only shown when a help page is available.
Additionally, we add the metrics constant for the dialog.

Test: robotests
Bug: 67070896
Change-Id: I7697c88b5969edaf5c06eb33251f215b776c64ee

6 years agoDo not use warning or limit to display "X B left" above usage bar
Jan Nordqvist [Wed, 4 Apr 2018 22:54:26 +0000 (15:54 -0700)]
Do not use warning or limit to display "X B left" above usage bar

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I46f4f5f1cf6092038e49beaafe5aa6a19ffb0aa1

6 years agoMerge "Fall back to Wi-Fi data display in data usage screen with no SIM." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 19:59:00 +0000 (19:59 +0000)]
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM." into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 5 Apr 2018 19:33:14 +0000 (12:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2be2f8d5061e7b01fd97170d861d68980db9e665

6 years agoMerge "Couple more Scoped Directory Access changes." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 19:02:11 +0000 (19:02 +0000)]
Merge "Couple more Scoped Directory Access changes." into pi-dev

6 years agoMake volume sliders sliceable
Julia Reynolds [Tue, 3 Apr 2018 17:48:55 +0000 (13:48 -0400)]
Make volume sliders sliceable

Test: make -j RunSettingsRoboTests
Change-Id: I8495770792dfdada54174ca61937f336e4fc219c
Fixes: 67997207

6 years agoUpdate the anomaly type constants
Lei Yu [Thu, 5 Apr 2018 01:06:16 +0000 (18:06 -0700)]
Update the anomaly type constants

Bug: 77323601
Test: Build
Change-Id: I0b6733edbfe12f494104f78be7087fa621191431

6 years agoMerge "Show Battery saver tip when battery saver is on" into pi-dev
Lei Yu [Thu, 5 Apr 2018 17:48:55 +0000 (17:48 +0000)]
Merge "Show Battery saver tip when battery saver is on" into pi-dev

6 years agoMerge "Fix crash in Monkey test." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 17:46:21 +0000 (17:46 +0000)]
Merge "Fix crash in Monkey test." into pi-dev