OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Fix issue in ring volume sample not always being played." into pi-dev am:...
Doris Ling [Thu, 5 Apr 2018 18:16:42 +0000 (11:16 -0700)]
Merge "Fix issue in ring volume sample not always being played." into pi-dev am: 1b899f2a0a
am: 284d10d112

Change-Id: I52f03ddd0686125263bc0c5e59bcc2355b7cca72

6 years agoMerge "Fall back to Wi-Fi data display in data usage screen with no SIM."
TreeHugger Robot [Thu, 5 Apr 2018 18:07:17 +0000 (18:07 +0000)]
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM."

6 years agoMerge "Hide uninstalled app in restrict app dialog" into pi-dev am: 2e96ec2f99
Lei Yu [Thu, 5 Apr 2018 18:05:58 +0000 (11:05 -0700)]
Merge "Hide uninstalled app in restrict app dialog" into pi-dev am: 2e96ec2f99
am: bc69fe95a4

Change-Id: I7185887d29c7e46f25887e88b2559d4b556a67bb

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 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 agoMerge "Update settings to reference correct versionCode" into pi-dev am: 8d905b2f9e
Patrick Baumann [Thu, 5 Apr 2018 17:24:13 +0000 (10:24 -0700)]
Merge "Update settings to reference correct versionCode" into pi-dev am: 8d905b2f9e
am: fd371564fd

Change-Id: I261070b81c481c30a5deddfea571c135cb1b729a

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

6 years agoMerge "Hide uninstalled app in restrict app dialog" into pi-dev
Lei Yu [Thu, 5 Apr 2018 16:57:13 +0000 (16:57 +0000)]
Merge "Hide uninstalled app in restrict app dialog" into pi-dev

6 years agoMerge "Update settings to reference correct versionCode" into pi-dev
Patrick Baumann [Thu, 5 Apr 2018 16:50:57 +0000 (09:50 -0700)]
Merge "Update settings to reference correct versionCode" into pi-dev
am: 8d905b2f9e

Change-Id: If1aeb5f9626f640302d84af19525fd545fd12de3

6 years agoMerge "Update settings to reference correct versionCode" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 16:20:25 +0000 (16:20 +0000)]
Merge "Update settings to reference correct versionCode" into pi-dev

6 years agoFall back to Wi-Fi data display in data usage screen with no SIM.
Jan Nordqvist [Mon, 26 Mar 2018 22:29:44 +0000 (15:29 -0700)]
Fall back to Wi-Fi data display in data usage screen with no SIM.

Bug: 70950124

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

6 years ago[automerger skipped] Import translations. DO NOT MERGE am: 4c2704847b -s ours
Bill Yi [Thu, 5 Apr 2018 14:44:44 +0000 (07:44 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 4c2704847b  -s ours
am: 4eb1d03b2d  -s ours

Change-Id: I1b2d628885126d9c5a381776b8f97eb3585452f4

6 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Thu, 5 Apr 2018 14:38:12 +0000 (07:38 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 4c2704847b  -s ours

Change-Id: I039a5f63c5d9bff03de16eee73da97c735824428

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

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3feadbd392d82249b0318377310b4d1155057773

6 years agoMerge "Fix a bug where homepage is using staled locale for tiles" into pi-dev am...
Fan Zhang [Thu, 5 Apr 2018 05:09:07 +0000 (22:09 -0700)]
Merge "Fix a bug where homepage is using staled locale for tiles" into pi-dev am: 086dbda475
am: a91023c9bc

Change-Id: I6bcb88bad6357ee4c2caba8b6a8df5147e657af0

6 years agoMerge "Fix a bug where homepage is using staled locale for tiles" into pi-dev
Fan Zhang [Thu, 5 Apr 2018 05:04:06 +0000 (22:04 -0700)]
Merge "Fix a bug where homepage is using staled locale for tiles" into pi-dev
am: 086dbda475

Change-Id: Idcbd34106c66fe7eaff62495b5edbc2d6233e7b5

6 years agoMerge "Fix a bug where homepage is using staled locale for tiles" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 04:57:46 +0000 (04:57 +0000)]
Merge "Fix a bug where homepage is using staled locale for tiles" into pi-dev

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 295b1d...
Bill Yi [Thu, 5 Apr 2018 04:08:42 +0000 (21:08 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 295b1dba78  -s ours
am: 5f6178d44e  -s ours

Change-Id: I08fcccca60f4c3272005851cc672ecd42eb0164a

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Thu, 5 Apr 2018 04:03:08 +0000 (21:03 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 295b1dba78  -s ours

Change-Id: I35d3fa9cd927047f1ea494ba8f1ab11bffcb1ecc

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 5 Apr 2018 04:00:54 +0000 (04:00 +0000)]
Merge "Import translations. DO NOT MERGE"

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

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 5 Apr 2018 01:18:03 +0000 (18:18 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibf6633b42d66e2c1418c2c3b719533a36c696f6a

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 5 Apr 2018 00:48:49 +0000 (17:48 -0700)]
Import translations. DO NOT MERGE

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

6 years agoFix issue in ring volume sample not always being played.
Doris Ling [Thu, 5 Apr 2018 00:35:41 +0000 (17:35 -0700)]
Fix issue in ring volume sample not always being played.

- when we adjust the sound volme in Sound settings, we only re-post the
stop sample message when we receive the onSampleStarting callback.
However, if we change the volume while a sample is still playing,
onSampleStarting will not be called as it's already started. This
results in shortened sample duration, which in extreme case, the new
sample will not be played at all if the new volume change is made almost
towards the end of the previous sample period. So, everytime user change
the volume, we should re-post the stop sample message, so that the
sample playing duration would be extended properly.

- also removed the original calls to the onStreamValueChanged() during
init, as the original implementation is empty, and during init, we do
not need any handling to start/stop the sample.

Change-Id: I9f35ddfb6d809eeb83b1a732a09362286ff6ed77
Fixes: 77514234
Test: make RunSettingsRoboTests

6 years agoFix a bug where homepage is using staled locale for tiles
Fan Zhang [Wed, 4 Apr 2018 22:51:06 +0000 (15:51 -0700)]
Fix a bug where homepage is using staled locale for tiles

When setting a new locale, SettingsActivity restarts to load
everything in the new locale.

Data (containing locale specific title/summary etc) is reloaded
correctly and triggers a callback to UI to redraw.

However we skip the first callback as an optimization for app startup
time. When we restart fragment, we failed to save the state whether we
have already seen the first callback. So when data with new locale text
triggers the callback, it's being skipped and this make UI still render
in old locale.

The fix is to just save the state before fragment gets destroyed before
locale change so the callback can trigger later.

A better fix is: make data (Tile object) not cache text. Then we don't
need to worry about locale cache at all. We should do this fix in the
long term.

Test: localeswitcher
Test: adb shell am broadcast -a com.google.android.testing.i18n.localeswitcher.CHANGE_LOCALE -e LANGUAGE_TAG "zh"
Test: adb shell am broadcast -a com.google.android.testing.i18n.localeswitcher.CHANGE_LOCALE -e LANGUAGE_TAG "ja"

Fixes: 77470788
Bug: 77600770

Change-Id: Ic4223ddbb679db64d0fc3c29d16a5f61a66cc99c

6 years agoMerge "Fix crash in non-indexable keys collection" into pi-dev am: 66e6e637a4
Matthew Fritze [Thu, 5 Apr 2018 00:20:54 +0000 (17:20 -0700)]
Merge "Fix crash in non-indexable keys collection" into pi-dev am: 66e6e637a4
am: acc93635c3

Change-Id: I78aab2e3b7bc6f621e2425a88f3787e29f6ec2ff

6 years agoMerge "Fix crash in non-indexable keys collection" into pi-dev
Matthew Fritze [Thu, 5 Apr 2018 00:09:56 +0000 (17:09 -0700)]
Merge "Fix crash in non-indexable keys collection" into pi-dev
am: 66e6e637a4

Change-Id: I8d493a62df0545904a6380813e32247f7f53c414

6 years agoMerge "Fix crash in non-indexable keys collection" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 23:59:49 +0000 (23:59 +0000)]
Merge "Fix crash in non-indexable keys collection" into pi-dev

6 years agoMerge "Updates to match prebuilts drop" into pi-dev am: b299122e08
Jason Monk [Wed, 4 Apr 2018 23:45:09 +0000 (16:45 -0700)]
Merge "Updates to match prebuilts drop" into pi-dev am: b299122e08
am: 8e51db884e

Change-Id: I790d275e30bccd446a00615149a90440d172e163

6 years agoMerge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev...
Erik Kline [Wed, 4 Apr 2018 23:05:03 +0000 (16:05 -0700)]
Merge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev am: fe7cc296c1
am: e0d4298210

Change-Id: Idd9b36efa49cfb103876ddf8356055c510c3a44e

6 years agoMerge "Updates to match prebuilts drop" into pi-dev
Jason Monk [Wed, 4 Apr 2018 22:58:43 +0000 (15:58 -0700)]
Merge "Updates to match prebuilts drop" into pi-dev
am: b299122e08

Change-Id: I7e4013fb1e3e4ffd193a83dca8ba24deefe1119b

6 years agoMerge "Updates to match prebuilts drop" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 22:40:27 +0000 (22:40 +0000)]
Merge "Updates to match prebuilts drop" into pi-dev

6 years agoMerge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev
Erik Kline [Wed, 4 Apr 2018 22:20:27 +0000 (15:20 -0700)]
Merge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev
am: fe7cc296c1

Change-Id: Icd5324bc389485f8f22052f5f4d285455d395780

6 years agoMerge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 21:30:32 +0000 (21:30 +0000)]
Merge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev

6 years agoMerge "Log when settings slice is requested/updated." into pi-dev am: 1400734315
Fan Zhang [Wed, 4 Apr 2018 21:26:43 +0000 (14:26 -0700)]
Merge "Log when settings slice is requested/updated." into pi-dev am: 1400734315
am: d820a38820

Change-Id: I9cf169cdca75fdc2b693ad2bf6ab214a796cbec2

6 years agoMerge "Use grey icon for work profile settings" into pi-dev am: d3bb3945bd
Fan Zhang [Wed, 4 Apr 2018 21:19:44 +0000 (14:19 -0700)]
Merge "Use grey icon for work profile settings" into pi-dev am: d3bb3945bd
am: 5b5dfb94c4

Change-Id: Ifafc0ac9a7e9d957290d9158518a997e8dd51892

6 years agoMerge "Log when settings slice is requested/updated." into pi-dev
Fan Zhang [Wed, 4 Apr 2018 21:00:45 +0000 (14:00 -0700)]
Merge "Log when settings slice is requested/updated." into pi-dev
am: 1400734315

Change-Id: I1372aa2ad762593e0a499e96ce742bfccfdd9d0a

6 years agoMerge "Log when settings slice is requested/updated." into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 20:37:15 +0000 (20:37 +0000)]
Merge "Log when settings slice is requested/updated." into pi-dev

6 years agoFix crash in non-indexable keys collection
Matthew Fritze [Wed, 4 Apr 2018 16:56:53 +0000 (09:56 -0700)]
Fix crash in non-indexable keys collection

Some of the AmbientDisplay preference controllers were
crashing when their isAvailable methods were being called
by their fragment's search index providers, which meant that
the entire collection of non-indexable keys failed. Thus,
all search results were showing up. In the case of a secondary
user, they were able to see developer options which crashed
settings when clicked.

There are two issues addressed in this cl.
1. Fix the crashes so the non-indexable keys collection works
2. Contain each fragment's collection, so that if a fragment does
crash, the damage is minimized.

Part 1 is checking that the config in isAvailable is not null,
and creating one if so.

Part 2 is fixed by surrounding the collection of non-indexable
keys in a try-catch, with an option in the catch to re-throw the
error if a system property is set. Thus, in a new pre-submit
instrumentation test, we can and docheck if any of the fragments crash
when collecting non-indexable keys.

Change-Id: I820bd9cb2649aa6faff7f82fcf575a62e41dc4fc
Fixes: 77486668
Test: atest NonIndexableCrashTest, robotests

6 years agoMerge "Use grey icon for work profile settings" into pi-dev
Fan Zhang [Wed, 4 Apr 2018 20:18:15 +0000 (13:18 -0700)]
Merge "Use grey icon for work profile settings" into pi-dev
am: d3bb3945bd

Change-Id: I9156105dfbc66fb7fdd17ea3f41885ed2e4da8b0

6 years agoUpdate settings to reference correct versionCode
Patrick Baumann [Wed, 4 Apr 2018 20:17:05 +0000 (13:17 -0700)]
Update settings to reference correct versionCode

This settings change is required for a framework change that ensures
that apps built for pre-P that rely on reflection to access
ApplicationInfo#versionCode don't crash. The move to long version
code introduces a new field and all modifications of the field are
wrapped in a method that ensures both the new and old fields are set
appropriately.

Bug: 74393568
Test: manual - builds and broken app runs
Change-Id: Idfa5f85d3f91583098ebee88f0e8caecaacff9b4

6 years agoMerge "Use grey icon for work profile settings" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 20:10:11 +0000 (20:10 +0000)]
Merge "Use grey icon for work profile settings" into pi-dev

6 years agoUpdates to match prebuilts drop
Jason Monk [Tue, 3 Apr 2018 22:36:42 +0000 (18:36 -0400)]
Updates to match prebuilts drop

Test: build
Bug: 77482321
Change-Id: I65a2cffb0a921ef6acb58ff500a7da8a8f870e76

6 years agoFix CodeInspectionTest for Setttings am: 27fad993b4
Fan Zhang [Wed, 4 Apr 2018 18:20:23 +0000 (11:20 -0700)]
Fix CodeInspectionTest for Setttings am: 27fad993b4
am: 04603ff928

Change-Id: Ib07ca5e031bd750b518c248bcbc0260ec6088a9a

6 years ago[automerger skipped] packages/apps/Settings: Set LOCAL_SDK_VERSION where possible...
Anton Hansson [Wed, 4 Apr 2018 18:19:53 +0000 (11:19 -0700)]
[automerger skipped] packages/apps/Settings: Set LOCAL_SDK_VERSION where possible. DO NOT MERGE am: 47e671e148  -s ours
am: d508e73706  -s ours

Change-Id: I495a1e05eb005ad9675fc7cf566c2a96d4b93030

6 years agoFix CodeInspectionTest for Setttings
Fan Zhang [Wed, 4 Apr 2018 18:08:58 +0000 (11:08 -0700)]
Fix CodeInspectionTest for Setttings
am: 27fad993b4

Change-Id: I22a28546d2f08bd118fdbbfd6c704b696c8b06c3

6 years ago[automerger skipped] packages/apps/Settings: Set LOCAL_SDK_VERSION where possible...
Anton Hansson [Wed, 4 Apr 2018 18:03:07 +0000 (11:03 -0700)]
[automerger skipped] packages/apps/Settings: Set LOCAL_SDK_VERSION where possible. DO NOT MERGE
am: 47e671e148  -s ours

Change-Id: I1fb0f356b11f5bc5887b97556d1f5e1c51980ec6

6 years agoFix CodeInspectionTest for Setttings
Fan Zhang [Wed, 4 Apr 2018 16:47:39 +0000 (09:47 -0700)]
Fix CodeInspectionTest for Setttings

Bug: 77579651
Bug: 77339683
Test: robotests
Change-Id: I7cb95bc7b1a3890879809e3462d0af8ba3e53923

6 years agopackages/apps/Settings: Set LOCAL_SDK_VERSION where possible. DO NOT MERGE
Anton Hansson [Wed, 28 Feb 2018 11:28:53 +0000 (11:28 +0000)]
packages/apps/Settings: Set LOCAL_SDK_VERSION where possible. DO NOT MERGE

This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841

6 years agoMerge "We should show custom title for suspend app dialog" into pi-dev am: a8c53f7dcb
Tony Mak [Wed, 4 Apr 2018 11:00:51 +0000 (04:00 -0700)]
Merge "We should show custom title for suspend app dialog" into pi-dev am: a8c53f7dcb
am: 51a187d64e

Change-Id: Icc9e6ce5456caf119f040553749748862d0932a4

6 years agoMerge "We should show custom title for suspend app dialog" into pi-dev
Tony Mak [Wed, 4 Apr 2018 10:49:15 +0000 (03:49 -0700)]
Merge "We should show custom title for suspend app dialog" into pi-dev
am: a8c53f7dcb

Change-Id: I9d740c884c9f777e76971e5a59b41cb68eb858ee

6 years agoMerge "We should show custom title for suspend app dialog" into pi-dev
Tony Mak [Wed, 4 Apr 2018 10:38:18 +0000 (10:38 +0000)]
Merge "We should show custom title for suspend app dialog" into pi-dev

6 years agoExpressly forbid IP string literals as Private DNS hostnames
Erik Kline [Tue, 3 Apr 2018 04:52:55 +0000 (21:52 -0700)]
Expressly forbid IP string literals as Private DNS hostnames

For obvious bootstrapping reasons, DNS settings have always used
IP address string literals in input fields.

However, since we can use the network-assigned nameservers to bootstrap
our way to multiple IP addresses of multiple families (!), hostnames
provide a clear simplicity and future-proofing advantage.

Permitting IP address literals means not only making sure that we can
validate X.509v3 certificates for IP addresses, but coping with the
inevitable broken configurations where users may have configured IPv4
addresses but no IPv6 addresses.  This will unnecessarily complicate
life on IPv6-only networks.

=)

Test: as follows
    - built
    - flashed
    - booted
    - tried to enter IP string literals
    - make -j50 RunSettingsRoboTests ROBOTEST_FILTER=PrivateDnsModeDialogPreferenceTest
Bug: 34953048
Bug: 64133961
Bug: 73641539

Change-Id: I7a58e86ed640ff5600906fb3d8cb9a2c75598831

6 years agoMerge "Add app info notification summary" into pi-dev am: 54ee35c35c
Julia Reynolds [Wed, 4 Apr 2018 00:37:34 +0000 (17:37 -0700)]
Merge "Add app info notification summary" into pi-dev am: 54ee35c35c
am: afe35d6259

Change-Id: I28d403c24d6417b1abd0e1c54e2ed9ffd7bb5d09

6 years agoMerge "Add app info notification summary" into pi-dev
Julia Reynolds [Tue, 3 Apr 2018 23:40:25 +0000 (16:40 -0700)]
Merge "Add app info notification summary" into pi-dev
am: 54ee35c35c

Change-Id: I0db2133a3edb399ad589dd485de249ebb5244705

6 years agoMerge "Add app info notification summary" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 22:22:24 +0000 (22:22 +0000)]
Merge "Add app info notification summary" into pi-dev

6 years agoMerge "Move apn settings to network" into pi-dev am: cf60ff7e08
Pengquan Meng [Tue, 3 Apr 2018 21:57:02 +0000 (14:57 -0700)]
Merge "Move apn settings to network" into pi-dev am: cf60ff7e08
am: 1dda7ae8b9

Change-Id: Ic94c8ac5f76c725ee5bc295bcb3dfb25a04a138b

6 years agoMerge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev am...
Jean-Michel Trivi [Tue, 3 Apr 2018 21:44:01 +0000 (14:44 -0700)]
Merge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev am: f13693eb8c
am: ef63bd3008

Change-Id: I85a7bccf696f269a7763d754703c27d26f416902

6 years agoMerge "Move apn settings to network" into pi-dev
Pengquan Meng [Tue, 3 Apr 2018 21:37:34 +0000 (14:37 -0700)]
Merge "Move apn settings to network" into pi-dev
am: cf60ff7e08

Change-Id: I9afb175e63a05901ebe59e44116d96b5bc435573

6 years agoMerge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev
Jean-Michel Trivi [Tue, 3 Apr 2018 21:19:51 +0000 (14:19 -0700)]
Merge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev
am: f13693eb8c

Change-Id: Ice42ecc56ae197431a1a95053bec0ae0e9c85f9f

6 years agoHide uninstalled app in restrict app dialog
Lei Yu [Tue, 3 Apr 2018 01:08:03 +0000 (18:08 -0700)]
Hide uninstalled app in restrict app dialog

Change-Id: Ic615d8b1150890e6ad0d393e410d0f5ab8648986
Fixes: 77429442
Test: RunSettingsRoboTests

6 years agoMerge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev am: 4720ba39e3
Fan Zhang [Tue, 3 Apr 2018 21:04:32 +0000 (14:04 -0700)]
Merge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev am: 4720ba39e3
am: 308e6dbcfb

Change-Id: I5e76a432d845a19f31de6ebfe7ed326f428d4e46

6 years agoMerge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev
Fan Zhang [Tue, 3 Apr 2018 20:48:23 +0000 (13:48 -0700)]
Merge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev
am: 4720ba39e3

Change-Id: I3fed564cdb0c9b029b9a91243857a02b05aa3df2

6 years agoUse grey icon for work profile settings
Fan Zhang [Tue, 3 Apr 2018 20:21:34 +0000 (13:21 -0700)]
Use grey icon for work profile settings

Change-Id: I2b40d44578599d6abd892dd2198eb38471beb663
Fixes: 77537465
Test: visual

6 years agoMerge "Autogenerate SearchIndexableResources subclass"
TreeHugger Robot [Tue, 3 Apr 2018 20:11:26 +0000 (20:11 +0000)]
Merge "Autogenerate SearchIndexableResources subclass"

6 years agoMerge "Move apn settings to network" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 19:41:39 +0000 (19:41 +0000)]
Merge "Move apn settings to network" into pi-dev

6 years agoMerge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev
Jean-Michel Trivi [Tue, 3 Apr 2018 19:24:35 +0000 (19:24 +0000)]
Merge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev

6 years agoMerge "Change font size for app listings screens"
TreeHugger Robot [Tue, 3 Apr 2018 18:57:08 +0000 (18:57 +0000)]
Merge "Change font size for app listings screens"

6 years agoMerge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 18:31:39 +0000 (18:31 +0000)]
Merge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev

6 years agoMerge "In High usage, hide apps without screen time." into pi-dev am: 6f61ae0adf
Lei Yu [Tue, 3 Apr 2018 18:00:21 +0000 (11:00 -0700)]
Merge "In High usage, hide apps without screen time." into pi-dev am: 6f61ae0adf
am: c6882cf458

Change-Id: Icaf40316eaff1db5dd711c92400179bea4f58650

6 years agoWe should show custom title for suspend app dialog
Tony Mak [Tue, 3 Apr 2018 17:51:39 +0000 (18:51 +0100)]
We should show custom title for suspend app dialog

BUG: 77523074

Test: Suspend an app, observe the new title.
Test: m -j RunSettingsRoboTest

Change-Id: Ide0329422e68b5ed6418365f2d0b0e0d11f0dec7

6 years agoMerge "In High usage, hide apps without screen time." into pi-dev
Lei Yu [Tue, 3 Apr 2018 17:51:57 +0000 (10:51 -0700)]
Merge "In High usage, hide apps without screen time." into pi-dev
am: 6f61ae0adf

Change-Id: Id6f1b5c59da148b5b78a277af4eed88e5e8de74a

6 years agoMerge "In High usage, hide apps without screen time." into pi-dev
Lei Yu [Tue, 3 Apr 2018 17:37:46 +0000 (17:37 +0000)]
Merge "In High usage, hide apps without screen time." into pi-dev

6 years agoAutogenerate SearchIndexableResources subclass
Tony Mantler [Mon, 26 Mar 2018 22:17:25 +0000 (15:17 -0700)]
Autogenerate SearchIndexableResources subclass

Bug: 77148954
Test: RunSettingsLibRoboTests RunSettingsRoboTests RunSettingsGoogleRoboTests RunArcSettingsRoboTests
Change-Id: I842c42c55014c3310070ef22bd4f0d9a70dfd804

6 years agoLog when settings slice is requested/updated.
Fan Zhang [Mon, 2 Apr 2018 22:41:32 +0000 (15:41 -0700)]
Log when settings slice is requested/updated.

Change-Id: Ie6b7000729b3a414a29e3dfc25a29e1f2f939ddd
Fixes: 71503986
Test: robotests

6 years agoMerge "Change screen lock preference UI"
TreeHugger Robot [Tue, 3 Apr 2018 17:12:29 +0000 (17:12 +0000)]
Merge "Change screen lock preference UI"

6 years agoEnterprice privacy: let the user know if admin enabled backups. am: a112226db2
Lenka Trochtova [Tue, 3 Apr 2018 15:14:55 +0000 (08:14 -0700)]
Enterprice privacy: let the user know if admin enabled backups. am: a112226db2
am: 6f42f7beec

Change-Id: Iaf11a4d7a7880c77be65d97bb5c9a3527b9b2c22

6 years agoEnterprice privacy: let the user know if admin enabled backups.
Lenka Trochtova [Tue, 3 Apr 2018 15:02:36 +0000 (08:02 -0700)]
Enterprice privacy: let the user know if admin enabled backups.
am: a112226db2

Change-Id: Id8525709f9d91d13fd7f930d08b6e0bdb3f9b016

6 years agoEnterprice privacy: let the user know if admin enabled backups.
Lenka Trochtova [Fri, 23 Mar 2018 15:08:28 +0000 (16:08 +0100)]
Enterprice privacy: let the user know if admin enabled backups.

Bug: 73750212
Bug: 64012357
Test: make RunSettingsGoogleRoboTests

Change-Id: I586eaccaebb89a8b3e5b4014b3d6427ab2eb15a9

6 years agoMerge "Move the Private DNS dialog back to the top level." into pi-dev am: a62df616f9
Chalard Jean [Tue, 3 Apr 2018 09:05:20 +0000 (02:05 -0700)]
Merge "Move the Private DNS dialog back to the top level." into pi-dev am: a62df616f9
am: cf793eb632

Change-Id: I2a5a0d55fb01091deb00aa7d79f72344207e8793

6 years agoMerge "Remove more wrappers" into pi-dev am: d73d3a8f55
Fan Zhang [Tue, 3 Apr 2018 08:54:04 +0000 (01:54 -0700)]
Merge "Remove more wrappers" into pi-dev am: d73d3a8f55
am: 893f9db1ac

Change-Id: I7f9e765e842e4bc8f8c4ad3c041faa9edee2b744

6 years agoChange screen lock preference UI
dollylee [Tue, 3 Apr 2018 07:28:37 +0000 (15:28 +0800)]
Change screen lock preference UI

Change header string to 'Screen lock' and remove a duplicated 'Lock screen message'

Bug: 35960702
Test: manual
Change-Id: I9924ae18e99065f83556520f259ed74d9028637e

6 years agoMerge "Move the Private DNS dialog back to the top level." into pi-dev
Chalard Jean [Tue, 3 Apr 2018 05:26:26 +0000 (22:26 -0700)]
Merge "Move the Private DNS dialog back to the top level." into pi-dev
am: a62df616f9

Change-Id: I00414432f7b55038c1cd0c9bda83935c2f25ce40

6 years agoMerge "Move the Private DNS dialog back to the top level." into pi-dev
Chalard Jean [Tue, 3 Apr 2018 05:17:56 +0000 (05:17 +0000)]
Merge "Move the Private DNS dialog back to the top level." into pi-dev

6 years agoMerge "Add afterclass method to remove static field"
TreeHugger Robot [Tue, 3 Apr 2018 04:41:57 +0000 (04:41 +0000)]
Merge "Add afterclass method to remove static field"

6 years agoChange font size for app listings screens
Yuchen Chang [Mon, 2 Apr 2018 09:50:23 +0000 (17:50 +0800)]
Change font size for app listings screens

Change the font size to 18sp to keep consistent with master toggle switches pages.

Change-Id: I4f2ceb6da9e3e34e95877bd55cbd50334ca1f06b
Fixes: 77429403
Test: Manual test

6 years agoMerge "Remove more wrappers" into pi-dev
Fan Zhang [Tue, 3 Apr 2018 04:14:43 +0000 (21:14 -0700)]
Merge "Remove more wrappers" into pi-dev
am: d73d3a8f55

Change-Id: Ic08a6f5c1b294df3562adfe526247419d762c034

6 years agoMerge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev am: 2a51657c8e
Matthew Fritze [Tue, 3 Apr 2018 03:15:33 +0000 (20:15 -0700)]
Merge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev am: 2a51657c8e
am: 749728094f

Change-Id: Ibb470b1340d5f7c0b151b635bd7c64b5dfd8e1c7

6 years agoMerge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev am: e1549f0af1
rafftsai [Tue, 3 Apr 2018 02:58:51 +0000 (19:58 -0700)]
Merge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev am: e1549f0af1
am: 9d4f21140c

Change-Id: I88ebcb0cc46b03f42acb242e58857585e4ae63f8

6 years ago[automerger skipped] Fixed ApnEditor issue am: 519009d3ed
Pengquan Meng [Tue, 3 Apr 2018 02:07:26 +0000 (19:07 -0700)]
[automerger skipped] Fixed ApnEditor issue am: 519009d3ed
am: 572f658ce5  -s ours

Change-Id: I19bb3958649ffe50ccc8dff19493e8dfbbc6c6e5

6 years agoMerge "Remove more wrappers" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 02:07:17 +0000 (02:07 +0000)]
Merge "Remove more wrappers" into pi-dev

6 years agoMerge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev
Matthew Fritze [Tue, 3 Apr 2018 01:06:00 +0000 (18:06 -0700)]
Merge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev
am: 2a51657c8e

Change-Id: Ia0ca751bebd46c81a0879ba2f518ac081a7ab3d0

6 years agoSound: VolumeSeekBarPreference must observe min vol index
Jean-Michel Trivi [Mon, 2 Apr 2018 21:55:27 +0000 (14:55 -0700)]
Sound: VolumeSeekBarPreference must observe min vol index

The volume sliders must observe the minimum volume stream
  index, not just the maximum.

Bug: 74985293
Test: try to mute alarms through UI and fail
Change-Id: Icc5173898eb951239d02f5822239085f1ec3fc9a

6 years agoMerge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev
rafftsai [Tue, 3 Apr 2018 00:59:52 +0000 (17:59 -0700)]
Merge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev
am: e1549f0af1

Change-Id: I10d7a92fabf1f1c6ca7fba2ed0ef78c728e34840

6 years agoMove apn settings to network
Pengquan Meng [Mon, 2 Apr 2018 23:41:54 +0000 (16:41 -0700)]
Move apn settings to network

This is a clean up CL, move the apn settings related class from settings'
root to network's directory.

Bug: 77339683
Test: make ROBOTEST_FILTER=ApnEditorTest -j40 RunSettingsRoboTests
Change-Id: I751a6c2a27c9a1e08d7308407d75ccb355f295aa

6 years agoRemove wrapper for ConnectionManager/IPackageManager
Fan Zhang [Mon, 2 Apr 2018 21:22:50 +0000 (14:22 -0700)]
Remove wrapper for ConnectionManager/IPackageManager

Bug: 76167422
Test: robotests
Change-Id: I5f051b0ce58b97a3cfd5d4bae469463dcd6d83ac

6 years agoFixed ApnEditor issue
Pengquan Meng [Mon, 2 Apr 2018 23:55:33 +0000 (23:55 +0000)]
Fixed ApnEditor issue
am: 519009d3ed

Change-Id: Idab921debf4a00895e5c93766327bf91b40864c0

6 years agoRemove more wrappers
Fan Zhang [Mon, 2 Apr 2018 18:33:16 +0000 (11:33 -0700)]
Remove more wrappers

- WallpaperManagerWrapper
- UserManagerWrapper

Bug: 76167422
Test: robotests
Change-Id: I3ca866089082e01f1e9d7a4554387962f45a5437

6 years agoMerge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 23:49:22 +0000 (23:49 +0000)]
Merge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev

6 years agoMerge "Remove wrapper for device policy manager" into pi-dev am: e35e00712c
Fan Zhang [Mon, 2 Apr 2018 22:30:37 +0000 (22:30 +0000)]
Merge "Remove wrapper for device policy manager" into pi-dev am: e35e00712c
am: 4d91ea3036

Change-Id: If7baa937eda42db42cc5161c195f8da56677f06e