OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Fix a crash in Storage Settings." into pi-dev
Daniel Nishi [Mon, 9 Apr 2018 18:54:44 +0000 (11:54 -0700)]
Merge "Fix a crash in Storage Settings." into pi-dev
am: 4264653952

Change-Id: I49f9ac9c51278265b09bc734d22d732cf1b29ba5

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 agoMerge "Delete unused query_hint_text string." into pi-dev
Andrew Sapperstein [Mon, 9 Apr 2018 18:00:59 +0000 (11:00 -0700)]
Merge "Delete unused query_hint_text string." into pi-dev
am: 39d634da53

Change-Id: I70b98e3541ab25e4f621f7c4fedfd1255f0b0765

6 years agoMerge "Update inherited actionBarStyle to DeviceDefault." into pi-dev
Andrew Sapperstein [Mon, 9 Apr 2018 17:52:00 +0000 (10:52 -0700)]
Merge "Update inherited actionBarStyle to DeviceDefault." into pi-dev
am: fcca962bb7

Change-Id: I6971138729925fb53c661c8cdbe66faa149ae382

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 agoMerge "Add NullPtrCheck when smearing in settings" into pi-dev
Lei Yu [Mon, 9 Apr 2018 17:31:45 +0000 (10:31 -0700)]
Merge "Add NullPtrCheck when smearing in settings" into pi-dev
am: c2ec26b4ac

Change-Id: Icf0eb026ed251b2b0f34ac8e522c37d21667fa15

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 agoMove these radio buttons to the left
John Li [Mon, 9 Apr 2018 05:39:53 +0000 (22:39 -0700)]
Move these radio buttons to the left
am: 2df5a0b322

Change-Id: Ie2513c98c3eac7d9dca7ad64e5a799eacc0799da

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 agoDisplay Private DNS status in preference summary
Erik Kline [Mon, 9 Apr 2018 00:06:39 +0000 (17:06 -0700)]
Display Private DNS status in preference summary
am: 85c34077d3

Change-Id: I396b196f8f5d6d6b168f168851c828795b2fb5b2

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
Erik Kline [Sat, 7 Apr 2018 05:19:21 +0000 (22:19 -0700)]
Merge "Fix test expectations for NetworkCallbacks" into pi-dev
am: 47c2eebc85

Change-Id: Id9ad03e3df258d4e65a0ee9875499554be7c5cd2

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
Fan Zhang [Sat, 7 Apr 2018 01:12:21 +0000 (18:12 -0700)]
Merge "Create help link placeholder for Wifi Direct settings." into pi-dev
am: aeb33b72b3

Change-Id: I92c91bfcda90f55312572fa928c04f7ff6f2a70b

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 agoMerge "Adjust alignment for suggestion icon." into pi-dev
Doris Ling [Fri, 6 Apr 2018 23:11:48 +0000 (16:11 -0700)]
Merge "Adjust alignment for suggestion icon." into pi-dev
am: 2d925f45b2

Change-Id: Id29c00047d3a3261f1ef567c56499e44e0973db6

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 ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Fri, 6 Apr 2018 22:54:50 +0000 (15:54 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: cd986c2c38  -s ours

Change-Id: Ib90910def317a57ec5f961b742ce380ad2cec06a

6 years agoMerge "Prioritize dynamic summaries" into pi-dev
Matthew Fritze [Fri, 6 Apr 2018 22:52:40 +0000 (15:52 -0700)]
Merge "Prioritize dynamic summaries" into pi-dev
am: c29aec4bde

Change-Id: Iaacc14c7da4f3957f940c44c70c57c2f77c97d00

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 agoMerge "Make volume sliders sliceable" into pi-dev
Julia Reynolds [Fri, 6 Apr 2018 21:43:27 +0000 (14:43 -0700)]
Merge "Make volume sliders sliceable" into pi-dev
am: 4ef7b5f97b

Change-Id: Ia92bfec5159228a3be82807f57ba28a9bc5f1e04

6 years agoMerge "Adds strings for Swipe Up gesture in Settings" into pi-dev
Mehdi Alizadeh [Fri, 6 Apr 2018 21:37:59 +0000 (14:37 -0700)]
Merge "Adds strings for Swipe Up gesture in Settings" into pi-dev
am: 3ac16896b9

Change-Id: I7b3374df962e66e4a42fb393b091737d48754489

6 years agoMerge "Add test for anomaly detection in P" into pi-dev
Lei Yu [Fri, 6 Apr 2018 21:30:43 +0000 (14:30 -0700)]
Merge "Add test for anomaly detection in P" into pi-dev
am: e0864a030f

Change-Id: Idff8e7772130d5d3de9485838f0b18b575517fac

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
Nicolas Geoffray [Fri, 6 Apr 2018 20:41:53 +0000 (13:41 -0700)]
Merge "Exempt tests from hidden API checks." into pi-dev
am: 8838b3fa9c

Change-Id: I216a952163773e944a298acd8bf3bd10ffc74067

6 years agoMerge "Change "More details" to "Learn more" in policy transparency dialog." into...
arangelov [Fri, 6 Apr 2018 20:41:21 +0000 (13:41 -0700)]
Merge "Change "More details" to "Learn more" in policy transparency dialog." into pi-dev
am: 22a12c0ea2

Change-Id: If954ac05b053ca51d622f3f11b1857e69d51375e

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 "Add battery illustration" into pi-dev
Lei Yu [Fri, 6 Apr 2018 20:38:10 +0000 (13:38 -0700)]
Merge "Add battery illustration" into pi-dev
am: 3035d45a8f

Change-Id: If76a7efab6711d8290940d9cb3c2fb00fad63be4

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 name and icon for AOD" into pi-dev
Lei Yu [Fri, 6 Apr 2018 20:35:31 +0000 (13:35 -0700)]
Merge "Add name and icon for AOD" into pi-dev
am: f9cea645e1

Change-Id: Ib18392f893dff86ccbfd819529295aa740a22735

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
Lei Yu [Fri, 6 Apr 2018 19:37:26 +0000 (12:37 -0700)]
Merge "Add anomaly log to dumpsys" into pi-dev
am: 4becdc6fbe

Change-Id: I17f464e967bd81ddd8995829a140009e02673d11

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 agoMerge "Hide app if it shares uid with whitelisted app" into pi-dev
Lei Yu [Fri, 6 Apr 2018 17:52:39 +0000 (10:52 -0700)]
Merge "Hide app if it shares uid with whitelisted app" into pi-dev
am: 78e2cad8b1

Change-Id: I14d9af57fc98b7f0398ce9c22abaaf5ad2d84976

6 years agoMerge "Update SliceContollerInXmlTest to match latest slice spec." into pi-dev
Fan Zhang [Fri, 6 Apr 2018 17:51:42 +0000 (10:51 -0700)]
Merge "Update SliceContollerInXmlTest to match latest slice spec." into pi-dev
am: 14244ffb9d

Change-Id: Ie7bcdd045a651393ee3e60e3d7db6c48842788d8

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 "Disable user control of color mode depending on Accessibility" into pi-dev
Daniel Solomon [Fri, 6 Apr 2018 17:41:28 +0000 (10:41 -0700)]
Merge "Disable user control of color mode depending on Accessibility" into pi-dev
am: c9bd31b2f8

Change-Id: I5e7124bcfc54705f40050ae0931c25a43b5c7b2b

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
Tony Mak [Fri, 6 Apr 2018 16:44:43 +0000 (09:44 -0700)]
Merge "apostrophe should be curly" into pi-dev
am: 7a5e97e10f

Change-Id: I5410a068f2574b29e21de55e66c2607ee201c123

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 agoMerge ""Data Warn & Limits" pref. summary should be empty." into pi-dev
Andreas Terzis [Fri, 6 Apr 2018 00:16:19 +0000 (17:16 -0700)]
Merge ""Data Warn & Limits" pref. summary should be empty." into pi-dev
am: c91339b3ce

Change-Id: Ic4b2dbbcd19a90cd28e0ca01c6f0cf248853b39f

6 years agoMerge "Add new string for sound settings" into pi-dev
ryanywlin [Fri, 6 Apr 2018 00:14:35 +0000 (17:14 -0700)]
Merge "Add new string for sound settings" into pi-dev
am: ac119ae807

Change-Id: Id42009e9eb40398a6ff31d4903d81827ff53057e

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 ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Thu, 5 Apr 2018 23:24:00 +0000 (16:24 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 3da184f074  -s ours

Change-Id: I4199238b803aa1841e096140e07c1faf4aacc274

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 agoMerge "Change "X over" text color to ColorError" into pi-dev
Jan Nordqvist [Thu, 5 Apr 2018 23:11:16 +0000 (16:11 -0700)]
Merge "Change "X over" text color to ColorError" into pi-dev
am: 22bf690fdd

Change-Id: I97eef096124f7ad264e1d0d280e471db9d660d70

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 agoMerge "Update WifiScanningRequiredFragment dialog to show help page" into pi-dev
Salvador Martinez [Thu, 5 Apr 2018 22:20:05 +0000 (15:20 -0700)]
Merge "Update WifiScanningRequiredFragment dialog to show help page" into pi-dev
am: 148af6ba16

Change-Id: Ib10bcb4e640d4ec1ea0cf5c3655ad5b4cb8117bf

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
Jan Nordqvist [Thu, 5 Apr 2018 21:54:51 +0000 (14:54 -0700)]
Merge "Do not use warning or limit to display "X B left" above usage bar" into pi-dev
am: 3f59ce67b6

Change-Id: Iacbae6b7552621ba9f7a064e8f3b3226006f5321

6 years agoMerge "Update the anomaly type constants" into pi-dev
Lei Yu [Thu, 5 Apr 2018 21:54:08 +0000 (14:54 -0700)]
Merge "Update the anomaly type constants" into pi-dev
am: 2c8a78a97c

Change-Id: I151d290f46cd162c1bedc31c834cb84be6c078f6

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Thu, 5 Apr 2018 21:39:33 +0000 (14:39 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 31d1b214ce  -s ours

Change-Id: I0ae0dba71ca1b8cfa4ceb3ade4b283f24df6be35

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 launch intent flags for settings shortcut widgets." into pi-dev
Doris Ling [Thu, 5 Apr 2018 21:32:21 +0000 (14:32 -0700)]
Merge "Update launch intent flags for settings shortcut widgets." into pi-dev
am: 40d411abf5

Change-Id: I617c493bdb5e2252ef9cc5321cd7e155435de264

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
Jan Nordqvist [Thu, 5 Apr 2018 20:09:43 +0000 (13:09 -0700)]
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM." into pi-dev
am: 220a6a002e

Change-Id: Ie8b978ee637205f5b507146f14f26fa12f5dfcda

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
Felipe Leme [Thu, 5 Apr 2018 19:26:41 +0000 (12:26 -0700)]
Merge "Couple more Scoped Directory Access changes." into pi-dev
am: 963a4fb59e

Change-Id: Ie397c6d6654f602b0f472d5023296376d4fd56af

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 18:04:09 +0000 (11:04 -0700)]
Merge "Show Battery saver tip when battery saver is on" into pi-dev
am: 197be04330

Change-Id: Ic15dc8007fddf48184f7d8b59c045c88ce1db9a5

6 years agoMerge "Fix crash in Monkey test." into pi-dev
Lei Yu [Thu, 5 Apr 2018 18:03:05 +0000 (11:03 -0700)]
Merge "Fix crash in Monkey test." into pi-dev
am: d95668db99

Change-Id: I3a7f60509095e64c6e09ae50cb900057d1369e26

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

6 years agoMerge "Fix issue in ring volume sample not always being played." into pi-dev
Doris Ling [Thu, 5 Apr 2018 17:33:30 +0000 (10:33 -0700)]
Merge "Fix issue in ring volume sample not always being played." into pi-dev
am: 1b899f2a0a

Change-Id: Ica29d1720bfe48a2002373cd1c85b437ed508451

6 years agoAdd battery illustration
Lei Yu [Fri, 30 Mar 2018 16:50:02 +0000 (09:50 -0700)]
Add battery illustration

Also update the VideoPreference to handle the full screen
illustration by adding attr isFullWidth and aspectRadio.

Change-Id: If2ccba4ce792801c6fd79b7c60af4e3826c091cc
Fixes: 74409022
Test: Screenshot | RunSettingsRoboTests

6 years agoMerge "Hide uninstalled app in restrict app dialog" into pi-dev
Lei Yu [Thu, 5 Apr 2018 17:26:13 +0000 (10:26 -0700)]
Merge "Hide uninstalled app in restrict app dialog" into pi-dev
am: 2e96ec2f99

Change-Id: I969a25a6d73da89d15a52bb9dbbba7b016120843

6 years agoUpdate launch intent flags for settings shortcut widgets.
Doris Ling [Mon, 2 Apr 2018 21:51:36 +0000 (14:51 -0700)]
Update launch intent flags for settings shortcut widgets.

- earlier changes were made to the intent flags when creating new
settings shortcut to ensure that it is launching a new task. However,
ShortcutManager is actually caching existing shortcut info, and it will
continue to use the existing shortcut info unless we explicitly update
the info.
- when rebooting from build upgrade, we will go through all existing
shortcut to update the launch intent flags to ensure that the shortcut
info is update to date.

Change-Id: Iee2365d9aec64a47b193e3c9be443c252504815b
Fixes: 76395879
Test: make RunSettingsRoboTests

6 years agoMerge "Fix issue in ring volume sample not always being played." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 17:12:43 +0000 (17:12 +0000)]
Merge "Fix issue in ring volume sample not always being played." into pi-dev