Anton Hansson
e07cf27fe3
[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
2018-04-04 11:19:53 -07:00
Fan Zhang
04603ff928
Fix CodeInspectionTest for Setttings
...
am: 27fad993b4
Change-Id: I22a28546d2f08bd118fdbbfd6c704b696c8b06c3
2018-04-04 11:08:58 -07:00
Anton Hansson
d508e73706
[automerger skipped] packages/apps/Settings: Set LOCAL_SDK_VERSION where possible. DO NOT MERGE
...
am: 47e671e148
-s ours
Change-Id: I1fb0f356b11f5bc5887b97556d1f5e1c51980ec6
2018-04-04 11:03:07 -07:00
Lei Yu
fd62af5792
Fix crash in Monkey test.
...
When battery page is launched, BatteryTipLoader will start running.
If we rotate the screen before loader is finished, it will store null
to Bundle and will crash when restoring from that Bundle.
In this cl, we add null pointer check for tip list to avoid the crash.
Also remove a TODO since it is obsolete.
Change-Id: Ic59bc20c633f3a7467f7b5e95da062160bcb4e93
Fixes: 77534165
Test: RunSettingsRoboTests
2018-04-04 11:00:05 -07:00
Tony Mak
9e6b53380e
apostrophe should be curly
...
BUG: 77523074
Test: Build
Change-Id: I6079652ab0a1a3661684976117ae8804c4120749
2018-04-04 17:21:56 +00:00
Fan Zhang
27fad993b4
Fix CodeInspectionTest for Setttings
...
Bug: 77579651
Bug: 77339683
Test: robotests
Change-Id: I7cb95bc7b1a3890879809e3462d0af8ba3e53923
2018-04-04 09:47:39 -07:00
Anton Hansson
47e671e148
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
2018-04-04 15:49:17 +01:00
Tony Mak
922780328a
Merge "We should show custom title for suspend app dialog" into pi-dev am: a8c53f7dcb
...
am: 51a187d64e
Change-Id: Icc9e6ce5456caf119f040553749748862d0932a4
2018-04-04 04:00:51 -07:00
Tony Mak
51a187d64e
Merge "We should show custom title for suspend app dialog" into pi-dev
...
am: a8c53f7dcb
Change-Id: I9d740c884c9f777e76971e5a59b41cb68eb858ee
2018-04-04 03:49:15 -07:00
Tony Mak
a8c53f7dcb
Merge "We should show custom title for suspend app dialog" into pi-dev
2018-04-04 10:38:18 +00:00
Erik Kline
6c2ad0d62d
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
2018-04-04 00:42:19 -07:00
Julia Reynolds
ee9ddf4cae
Merge "Add app info notification summary" into pi-dev am: 54ee35c35c
...
am: afe35d6259
Change-Id: I28d403c24d6417b1abd0e1c54e2ed9ffd7bb5d09
2018-04-03 17:37:34 -07:00
Lei Yu
4daf2dc7bc
Add anomaly log to dumpsys
...
Log the anomaly config version in settings dump
Bug: 77490545
Test: RunSettingsRoboTests
Change-Id: I9cddcb0c0c8adcf0901dae6a31a3a0e84e48077a
2018-04-03 17:08:47 -07:00
Julia Reynolds
afe35d6259
Merge "Add app info notification summary" into pi-dev
...
am: 54ee35c35c
Change-Id: I0db2133a3edb399ad589dd485de249ebb5244705
2018-04-03 16:40:25 -07:00
TreeHugger Robot
54ee35c35c
Merge "Add app info notification summary" into pi-dev
2018-04-03 22:22:24 +00:00
Pengquan Meng
1e1daac83a
Merge "Move apn settings to network" into pi-dev am: cf60ff7e08
...
am: 1dda7ae8b9
Change-Id: Ic94c8ac5f76c725ee5bc295bcb3dfb25a04a138b
2018-04-03 14:57:02 -07:00
Jean-Michel Trivi
8794ce560c
Merge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev am: f13693eb8c
...
am: ef63bd3008
Change-Id: I85a7bccf696f269a7763d754703c27d26f416902
2018-04-03 14:44:01 -07:00
Pengquan Meng
1dda7ae8b9
Merge "Move apn settings to network" into pi-dev
...
am: cf60ff7e08
Change-Id: I9afb175e63a05901ebe59e44116d96b5bc435573
2018-04-03 14:37:34 -07:00
Jean-Michel Trivi
ef63bd3008
Merge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev
...
am: f13693eb8c
Change-Id: Ice42ecc56ae197431a1a95053bec0ae0e9c85f9f
2018-04-03 14:19:51 -07:00
Lei Yu
499644b8a9
Hide uninstalled app in restrict app dialog
...
Change-Id: Ic615d8b1150890e6ad0d393e410d0f5ab8648986
Fixes: 77429442
Test: RunSettingsRoboTests
2018-04-03 14:14:50 -07:00
Felipe Leme
20c5eb841b
Couple more Scoped Directory Access changes.
...
- Moved DirectoryAccessDetails rendering logic to refreshUi so it's updated.
- Call ScopedAccessProvider to reset preferences on "Clear access" UI.
Test: manual verification
Test: atest CtsAppSecurityHostTestCases:ScopedDirectoryAccessTest#testResetDoNotAskAgain,testResetGranted
Bug: 72055774
Change-Id: I4a6bf187cacfb59d948abbe71afc3b7500cb15aa
2018-04-03 14:08:10 -07:00
Fan Zhang
19f1ebd1fa
Merge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev am: 4720ba39e3
...
am: 308e6dbcfb
Change-Id: I5e76a432d845a19f31de6ebfe7ed326f428d4e46
2018-04-03 14:04:32 -07:00
Fan Zhang
308e6dbcfb
Merge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev
...
am: 4720ba39e3
Change-Id: I3fed564cdb0c9b029b9a91243857a02b05aa3df2
2018-04-03 13:48:23 -07:00
Fan Zhang
41c4e5f5db
Use grey icon for work profile settings
...
Change-Id: I2b40d44578599d6abd892dd2198eb38471beb663
Fixes: 77537465
Test: visual
2018-04-03 13:21:34 -07:00
TreeHugger Robot
87ba4a4d5f
Merge "Autogenerate SearchIndexableResources subclass"
2018-04-03 20:11:26 +00:00
TreeHugger Robot
cf60ff7e08
Merge "Move apn settings to network" into pi-dev
2018-04-03 19:41:39 +00:00
Jean-Michel Trivi
f13693eb8c
Merge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev
2018-04-03 19:24:35 +00:00
TreeHugger Robot
8a6f4cfbdd
Merge "Change font size for app listings screens"
2018-04-03 18:57:08 +00:00
TreeHugger Robot
4720ba39e3
Merge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev
2018-04-03 18:31:39 +00:00
Lei Yu
db4ada245f
Merge "In High usage, hide apps without screen time." into pi-dev am: 6f61ae0adf
...
am: c6882cf458
Change-Id: Icaf40316eaff1db5dd711c92400179bea4f58650
2018-04-03 11:00:21 -07:00
Tony Mak
cbc3a6a1de
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
2018-04-03 17:54:13 +00:00
Lei Yu
c6882cf458
Merge "In High usage, hide apps without screen time." into pi-dev
...
am: 6f61ae0adf
Change-Id: Id6f1b5c59da148b5b78a277af4eed88e5e8de74a
2018-04-03 10:51:57 -07:00
Lei Yu
6f61ae0adf
Merge "In High usage, hide apps without screen time." into pi-dev
2018-04-03 17:37:46 +00:00
Tony Mantler
0fcd6cbaa8
Autogenerate SearchIndexableResources subclass
...
Bug: 77148954
Test: RunSettingsLibRoboTests RunSettingsRoboTests RunSettingsGoogleRoboTests RunArcSettingsRoboTests
Change-Id: I842c42c55014c3310070ef22bd4f0d9a70dfd804
2018-04-03 10:26:55 -07:00
Fan Zhang
87b2634fc0
Log when settings slice is requested/updated.
...
Change-Id: Ie6b7000729b3a414a29e3dfc25a29e1f2f939ddd
Fixes: 71503986
Test: robotests
2018-04-03 10:15:56 -07:00
TreeHugger Robot
afafd17873
Merge "Change screen lock preference UI"
2018-04-03 17:12:29 +00:00
Lenka Trochtova
60d38db8d9
Enterprice privacy: let the user know if admin enabled backups. am: a112226db2
...
am: 6f42f7beec
Change-Id: Iaf11a4d7a7880c77be65d97bb5c9a3527b9b2c22
2018-04-03 08:14:55 -07:00
Lenka Trochtova
6f42f7beec
Enterprice privacy: let the user know if admin enabled backups.
...
am: a112226db2
Change-Id: Id8525709f9d91d13fd7f930d08b6e0bdb3f9b016
2018-04-03 08:02:36 -07:00
Lenka Trochtova
a112226db2
Enterprice privacy: let the user know if admin enabled backups.
...
Bug: 73750212
Bug: 64012357
Test: make RunSettingsGoogleRoboTests
Change-Id: I586eaccaebb89a8b3e5b4014b3d6427ab2eb15a9
2018-04-03 13:58:39 +02:00
Chalard Jean
07f803d115
Merge "Move the Private DNS dialog back to the top level." into pi-dev am: a62df616f9
...
am: cf793eb632
Change-Id: I2a5a0d55fb01091deb00aa7d79f72344207e8793
2018-04-03 02:05:20 -07:00
Fan Zhang
f60c3384fa
Merge "Remove more wrappers" into pi-dev am: d73d3a8f55
...
am: 893f9db1ac
Change-Id: I7f9e765e842e4bc8f8c4ad3c041faa9edee2b744
2018-04-03 01:54:04 -07:00
dollylee
a1aeb0b40e
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
2018-04-03 16:19:58 +08:00
Chalard Jean
cf793eb632
Merge "Move the Private DNS dialog back to the top level." into pi-dev
...
am: a62df616f9
Change-Id: I00414432f7b55038c1cd0c9bda83935c2f25ce40
2018-04-02 22:26:26 -07:00
Chalard Jean
a62df616f9
Merge "Move the Private DNS dialog back to the top level." into pi-dev
2018-04-03 05:17:56 +00:00
TreeHugger Robot
87e4022129
Merge "Add afterclass method to remove static field"
2018-04-03 04:41:57 +00:00
Yuchen Chang
cda1eb2189
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
2018-04-03 12:40:33 +08:00
Fan Zhang
893f9db1ac
Merge "Remove more wrappers" into pi-dev
...
am: d73d3a8f55
Change-Id: Ic08a6f5c1b294df3562adfe526247419d762c034
2018-04-02 21:14:43 -07:00
Matthew Fritze
6c79de9a75
Merge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev am: 2a51657c8e
...
am: 749728094f
Change-Id: Ibb470b1340d5f7c0b151b635bd7c64b5dfd8e1c7
2018-04-02 20:15:33 -07:00
rafftsai
662aa42bca
Merge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev am: e1549f0af1
...
am: 9d4f21140c
Change-Id: I88ebcb0cc46b03f42acb242e58857585e4ae63f8
2018-04-02 19:58:51 -07:00
Pengquan Meng
27146be745
[automerger skipped] Fixed ApnEditor issue am: 519009d3ed
...
am: 572f658ce5
-s ours
Change-Id: I19bb3958649ffe50ccc8dff19493e8dfbbc6c6e5
2018-04-02 19:07:26 -07:00