Commit Graph

44007 Commits

Author SHA1 Message Date
Erik Kline
e0d4298210 Merge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev
am: fe7cc296c1

Change-Id: Icd5324bc389485f8f22052f5f4d285455d395780
2018-04-04 15:20:27 -07:00
TreeHugger Robot
fe7cc296c1 Merge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev 2018-04-04 21:30:32 +00:00
Fan Zhang
d820a38820 Merge "Log when settings slice is requested/updated." into pi-dev
am: 1400734315

Change-Id: I1372aa2ad762593e0a499e96ce742bfccfdd9d0a
2018-04-04 14:00:45 -07:00
TreeHugger Robot
1400734315 Merge "Log when settings slice is requested/updated." into pi-dev 2018-04-04 20:37:15 +00:00
Fan Zhang
5b5dfb94c4 Merge "Use grey icon for work profile settings" into pi-dev
am: d3bb3945bd

Change-Id: I9156105dfbc66fb7fdd17ea3f41885ed2e4da8b0
2018-04-04 13:18:15 -07:00
TreeHugger Robot
d3bb3945bd Merge "Use grey icon for work profile settings" into pi-dev 2018-04-04 20:10:11 +00: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
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
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
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
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
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
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
4720ba39e3 Merge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev 2018-04-03 18:31:39 +00: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
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
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
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
Fan Zhang
893f9db1ac Merge "Remove more wrappers" into pi-dev
am: d73d3a8f55

Change-Id: Ic08a6f5c1b294df3562adfe526247419d762c034
2018-04-02 21:14:43 -07:00
TreeHugger Robot
d73d3a8f55 Merge "Remove more wrappers" into pi-dev 2018-04-03 02:07:17 +00:00
Matthew Fritze
749728094f Merge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev
am: 2a51657c8e

Change-Id: Ia0ca751bebd46c81a0879ba2f518ac081a7ab3d0
2018-04-02 18:06:00 -07:00
Jean-Michel Trivi
32cf7ea45c 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
2018-04-02 18:05:54 -07:00
rafftsai
9d4f21140c Merge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev
am: e1549f0af1

Change-Id: I10d7a92fabf1f1c6ca7fba2ed0ef78c728e34840
2018-04-02 17:59:52 -07:00
Pengquan Meng
7a1c93dcf3 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
2018-04-02 17:27:56 -07:00
Fan Zhang
01cfb9d8c5 Remove wrapper for ConnectionManager/IPackageManager
Bug: 76167422
Test: robotests
Change-Id: I5f051b0ce58b97a3cfd5d4bae469463dcd6d83ac
2018-04-02 17:09:10 -07:00
Pengquan Meng
572f658ce5 Fixed ApnEditor issue
am: 519009d3ed

Change-Id: Idab921debf4a00895e5c93766327bf91b40864c0
2018-04-02 23:55:33 +00:00
Fan Zhang
947a673f74 Remove more wrappers
- WallpaperManagerWrapper
- UserManagerWrapper

Bug: 76167422
Test: robotests
Change-Id: I3ca866089082e01f1e9d7a4554387962f45a5437
2018-04-02 16:51:40 -07:00
TreeHugger Robot
2a51657c8e Merge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev 2018-04-02 23:49:22 +00:00
TreeHugger Robot
e1549f0af1 Merge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev 2018-04-02 22:25:04 +00:00
Fan Zhang
4d91ea3036 Merge "Remove wrapper for device policy manager" into pi-dev
am: e35e00712c

Change-Id: I2b10893350176f34604d1a9dfeb9c5a6256a5842
2018-04-02 21:35:55 +00:00
Salvador Martinez
f6812242e4 Update color whitelist for check color repohook
am: 38c4b38740

Change-Id: I6667de2d1b0520c5291cd6f3efe081d81a800e3c
2018-04-02 21:31:42 +00:00
Lei Yu
fc6f4e05da Merge changes Ib497aca6,Ic6def54a into pi-dev
am: 5e8a0e2436

Change-Id: Iaf656a0a6600e5907a7272b1c6e12e2b3a58fd06
2018-04-02 21:24:24 +00:00
Salvador Martinez
3903f787e9 Merge "Update auto wi-fi to prompt user for permissions" into pi-dev
am: 27587f7884

Change-Id: I9c171a39c3594641f46f53a789e383798bae248c
2018-04-02 21:14:15 +00:00
Lei Yu
3dbdb27605 Merge "Update the battery string." into pi-dev
am: 43a325dd05

Change-Id: I8282a986797fdce16673a890d501853348af7123
2018-04-02 20:58:15 +00:00
rafftsai
807506b166 MagnificationPreferenceFragment use DashboardFragment
- Move preference related logic to Controller
- Add settings:controller in xml file

Bug: 73899467
Test: manual
Test: make RunSettingsRoboTests

Change-Id: I3eaccc617c4408f50110bf1f5df3482f491f7393
Signed-off-by: rafftsai <rafftsai@android.com>
2018-04-02 13:18:58 -07:00
Jyun LuoLai
6b0a77647c Merge "Let battery status icon has consist UI in PowerSummaryPage" into pi-dev
am: ab19293cf4

Change-Id: Ifb1c8093929fdc763b90d3a324c875177e654efb
2018-04-02 19:55:09 +00:00
Matthew Fritze
8c48defb52 Expand isAvailable to include DISABLED_DEPENDENT
isAvailable will now return true when getAvailabilityStatus
returns DISABLED_DEPENDENT_SETTING. This is because the setting
should be displayed in the Fragment even if it has a dependent setting,
which matches existing behaviour. Slices will still display the warning
slice without inline content, where the main action brings you to the
setting page. For now, we have to assume the user will be able to figure
out how to enable the setting. In Q, we would like to build a more
intelligent flow so that we can prompt or even help the user fix the
dependency (we just ran out of time in P).

The only setting that had previously used DISABLE_DEPENDENT_SETTING
was a developer option.

Change-Id: I1f774a2e09cb60de01388cf6c35785c8b5dea176
Fixes: 77334915
Test: robotests
2018-04-02 11:59:40 -07:00
Pengquan Meng
519009d3ed Fixed ApnEditor issue
The mainly changed:
1. Will not insert invalid apn data to database.
2. Clicking back button will save the APN data to database if the data is valid.

Test: make ROBOTEST_FILTER=ApnEditorTest -j40 RunSettingsRoboTests
Bug: 73745458
Bug: 67327863
Merged-In: Ie2c147cae03ad78d43c351e05add761b2dffac0c
Change-Id: Ie2c147cae03ad78d43c351e05add761b2dffac0c
(cherry picked from commit f39ef85653)
2018-04-02 18:53:53 +00:00