Commit Graph

11147 Commits

Author SHA1 Message Date
Fan Zhang
a7689b4f2a Change theme base back to Theme.DeviceDefault.Settings
Bug: 33558692
Test: visual
Change-Id: I526f8ff19bb2a4c471ff567e926574e19c0d307a
2017-01-19 12:30:48 -08:00
Stephen Chen
20bfe52959 Add drawable resources for Wi-Fi picker friction icons.
Bug: 34281330
Test: manual inspection, make
Change-Id: I7a98ececf4804e3444514ff1c438e5ed4f9705d5
2017-01-19 12:21:06 -08:00
Anton Philippov
1d51b81563 Merge "Moves "Factory data reset" to a different page." 2017-01-19 18:28:34 +00:00
Bartosz Fabianowski
ccd4fa8e60 Add Device Owner disclosure to Add Accounts dialog
This CL adds a footer to the Add Accounts dialog that tells the user
when the device is managed by a Device Owner app.

Bug: 32692748
Test: make RunSettingsRoboTests

Change-Id: I0dd161eb0bbbc87c04692d4fa6547bd41dab05e0
2017-01-19 11:09:45 +01:00
Suprabh Shukla
57d92315a4 Adding Manage External Sources Settings
Added a settings fragment to manage external sources. It lists all
applications that have either requested REQUEST_INSTALL_PACKAGES or have
their app op changed from default.

Test: Will include in follow-up CL. Tracked in b/33792674

Bug: 31002700
Change-Id: Ibd2a1922be214b62aec4eefa45f7b9691256b205
2017-01-18 21:00:30 -08:00
TreeHugger Robot
27cb8b4a65 Merge "Import translations. DO NOT MERGE" 2017-01-19 04:38:50 +00:00
Bill Yi
0446865d68 Import translations. DO NOT MERGE
Change-Id: I610fb1c188fb93d6e2d70dd52da7dd766d27c209
Auto-generated-cl: translation import
2017-01-18 19:10:06 -08:00
Bill Yi
bcf8cefeab Import translations. DO NOT MERGE
Change-Id: I026af7e5ced0b053fbfa178d4963dfb22ad06fc2
Auto-generated-cl: translation import
2017-01-18 19:04:58 -08:00
TreeHugger Robot
1c6f9de1a1 Merge "Settings for new accessibility shortcut." 2017-01-19 01:17:03 +00:00
Phil Weaver
ba29c47a74 Settings for new accessibility shortcut.
Repurposing shortcut setting to make it configurable.

Bug: 30160335

Test: Verified that the setting dialog appears with both
default and newly added accessibility services. Toggled
services on and off, and verified that nothing happened
when the shortcut was disabled.
Change-Id: I14d00109212bdd4b7919b2d51f702c8f118007fa
2017-01-18 10:45:55 -08:00
Bartosz Fabianowski
428c3247c9 Merge "Add admin-granted permissions to Enterprise Privacy Settings page" 2017-01-18 18:10:35 +00:00
Doris Ling
5b62261abd Merge "Add items in Other Sound directly into Sound settings." 2017-01-18 17:48:44 +00:00
Bartosz Fabianowski
9704a28c7b Add admin-granted permissions to Enterprise Privacy Settings page
This CL adds information about the number of apps that have been granted
particularly sensitive permissions (location, microphone, camera) by
the admin.

Bug: 32692748
Test: make RunSettingsRoboTests

Change-Id: I650d3e1ed3950960c58722b0c035a76daeb36478
2017-01-18 15:31:26 +01:00
insight.lee
03159e4c85 Clear VPN after Clear credentials if VPN is being established
1. There is no way to disconnect VPN after 'Clear credentials'
without removing whole Internet connection because VPN profile to
disconnect is removed when Clear credentials.

2. This commit checks whether VPN is being established or not when
Clear credentials and disconnect VPN if VPN is being established.
Lastly, this shows a toast message to inform VPN disconnected.

Test: manual - took a photo

Signed-off-by : Sungmin Lee <insight.lee@lge.com>
Bug: 29093779

Change-Id: Id5ea01c8731b3b0fca2a31d9d84e8c103952b377
2017-01-18 10:44:57 +09:00
Julia Reynolds
b41cf299fe Show deleted channels.
Test: run cts, verify manually in Settings ui
Change-Id: Ib6376decaa4ae427bb706ea48608a5aa8924da2f
2017-01-17 15:01:15 -05:00
Anton Philippov
3fdd9fa9c4 Moves "Factory data reset" to a different page.
Test: manual

Change-Id: Ibd4a28b9b15f3625e852938727ad775537ee9251
2017-01-17 17:55:38 +00:00
TreeHugger Robot
c3fdc3e813 Merge "Add number of enterprise-installed apps to Privacy Settings page" 2017-01-16 10:53:11 +00:00
Fan Zhang
64c83afa8b Move RadioButtonPreference to generic widget package
Bug: 34280137
Test: no regression
Change-Id: Ib59efe767af83d182fba1ea1651026ddbb9ce6d5
2017-01-13 17:33:38 -08:00
Jaewoong Jung
c360bc5813 Adds a menu item for additional battery info to battery settings.
am: 7b557df0e4

Change-Id: Iaef847979f64bf93b87457fa3f2f734b1789c830
2017-01-13 22:40:38 +00:00
Jaewoong Jung
bd775165d4 Merge "Adds a menu item for additional battery info to battery settings." into nyc-mr2-dev 2017-01-13 22:38:11 +00:00
Bartosz Fabianowski
13f569ebd6 Add number of enterprise-installed apps to Privacy Settings page
This CL adds information about the number of apps that were installed
by the admin to the Enterprise Privacy Settings page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: Ib710a1249db6d285da962122fd3dfb35a43752a1
2017-01-13 22:20:51 +01:00
Jaewoong Jung
7b557df0e4 Adds a menu item for additional battery info to battery settings.
This is a manual cherry-pick of commit
1e0f8ff5e5.

Bug: 33352540
Test: No additional test failures.

Change-Id: Ibfc1a9463c93d3c087ed712fe45d3d0717472c6a
2017-01-13 12:58:44 -08:00
Bartosz Fabianowski
385155f305 Merge "Add global HTTP proxy to Privacy Settings page" 2017-01-13 20:51:47 +00:00
TreeHugger Robot
42248f0066 Merge "Add Always on VPN to Privacy Settings page" 2017-01-13 20:03:48 +00:00
TreeHugger Robot
326b432763 Merge "Reorder storage preferences to match mocks." 2017-01-13 19:44:22 +00:00
Daniel Nishi
8f969665e3 Merge "Add ASM enabled/disabled text to the Storage settings." 2017-01-13 17:41:01 +00:00
TreeHugger Robot
489cbb2ad8 Merge "Update icons for IA." 2017-01-13 00:13:33 +00:00
TreeHugger Robot
94b86a4d77 Merge "Add Settings toggle for Wi-Fi Wakeup." 2017-01-12 22:11:48 +00:00
Doris Ling
d258626c88 Update icons for IA.
- in homepage: Connected devices, Apps & notifications, Support
- in Network & internet: Airplane mode, Cellular networks, Tethering,
  VPN, Network reset
- in Connected devices: NFC, Android beam, USB
- in Apps & notifications: Apps, Notifications, Default apps

Bug: 34205154
Test: Visual

Change-Id: I11c72ccbc85d68ed61476f6629dae862abee42fc
2017-01-12 12:51:10 -08:00
Bartosz Fabianowski
0d22680807 Add global HTTP proxy to Privacy Settings page
This CL allows the user to see on the Enterprise Privacy Settings
page whether the admin set a global HTTP proxy.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I3c7c46f806f39c90425fd8e098a749f3cc1e9278
2017-01-12 20:09:10 +01:00
Bartosz Fabianowski
fc018e4672 Add Always on VPN to Privacy Settings page
This CL adds information about always-on VPNs to the Enterprise
Privacy Settings page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I2b59e2ec4c55308b323aaa478cd9c847fe0b4b55
2017-01-12 20:04:56 +01:00
Bill Yi
39c04bb92b Import translations. DO NOT MERGE
Change-Id: I83e0e51b5552d44b66a84d5abdaac59ec3932c64
Auto-generated-cl: translation import
2017-01-12 06:02:43 -08:00
Bill Yi
724939aaa4 Import translations. DO NOT MERGE
Change-Id: I5526b5052761b29a0e71770f2dfdc8b39187a566
Auto-generated-cl: translation import
2017-01-12 05:57:09 -08:00
Roozbeh Pournader
16d22820c3 Merge "Rename language+country resources to just language" 2017-01-12 04:58:38 +00:00
Daniel Nishi
1d1bf31292 Reorder storage preferences to match mocks.
Bug: 34235256
Test: Manual
Change-Id: I49ea8f15d54408f7a3b8445084bd2a50103c706a
2017-01-11 18:47:19 -08:00
Daniel Nishi
a3494347e4 Add ASM enabled/disabled text to the Storage settings.
Bug: 33199077
Test: Settings Robo Tests
Change-Id: I86897c63b584d3c8be171723367a6b4e060684f3
2017-01-12 02:37:12 +00:00
Doris Ling
3ca367757b Add items in Other Sound directly into Sound settings.
- In new IA, Other Sound no longer is a separate preference screen, but
individual preferences are put directly under SoundSettings.

- Add controllers for each other sounds preference.

- Remove Cast settings from Soundsettings in new IA.

Change-Id: I75d771674ffabfecbd66079bc86844b2ff098b71
Fix: 33944294
Test: make RunSettingsRoboTests
2017-01-11 18:07:15 -08:00
Amin Shaikh
5e096a3969 Add Settings toggle for Wi-Fi Wakeup.
- Added switch toggle to Configure Wi-Fi Settings for Wi-Fi Wakeup
- Disable Wi-Fi Open Networks Notifications and Wi-Fi Wakeup toggles
  if NETWORK_RECOMMENDATIONS_ENABLED is disabled

Test: make -j40 RunSettingsRoboTests
Bug: 33224845
Change-Id: I2a52c5d1e60f618aefa125c7806fa95ca19a0ca9
2017-01-11 15:11:55 -08:00
Daniel Nishi
b465005c29 Update the storage summary header.
This changes it to now have a donut graph and reflects the new UI.
Finalized redlines are still pending, so there will be a follow
up patch to get everything aligned as per the mocks.

Bug: 33199077
Test: Settings Robo Tests
Change-Id: Ic12a77bd9be335af14f80886d1ecc24c82940e9b
2017-01-11 12:37:33 -08:00
Roozbeh Pournader
a00723976e Rename language+country resources to just language
Bug: 26496609
Test: none
Change-Id: I0bb74df9d0a56e24ab689cd1430e93ce3ad2713d
2017-01-10 21:24:59 -08:00
Daniel Nishi
8cc6f9f718 Add click behavior to the storage item preferences.
This currently imitates the previous implementation behavior.
The new mocks have a new intermediate view for some of these
behaviors, but this view isn't ready yet.
This patch should bring parity for the click functionality
for the storage line item preferences.

Bug: 33199077
Test: Settings Robo Tests

Change-Id: I4f654d30add92e4eec721c36b2801f9af9824e78
2017-01-10 16:46:44 -08:00
TreeHugger Robot
366bb5b7d9 Merge "Update the Storage settings text." 2017-01-11 00:04:12 +00:00
Daniel Nishi
bfd11313cb Update the Storage settings text.
The mocks used to say "Phone Storage" but that change in the
mocks was reverted.

Bug: 33199077
Test: None
Change-Id: I36bbb7d01a9598c92ec777905ae260fdc411b338
2017-01-10 13:59:57 -08:00
Salvador Martinez
e927d74c99 Merge "Custom layout for support info dialog" 2017-01-10 21:18:31 +00:00
Fan Zhang
4185b2fef3 Merge "Create MeteredPreference with correct preference context." 2017-01-10 17:12:23 +00:00
TreeHugger Robot
9c18faaac5 Merge "Import translations. DO NOT MERGE" 2017-01-10 07:17:34 +00:00
Fan Zhang
da2d426d49 Create MeteredPreference with correct preference context.
Bug: 33775510
Test: visual
Change-Id: I201e685f70379e48053ee910113d5ce75fddc16e
2017-01-09 16:58:41 -08:00
Salvador Martinez
9559d40896 Custom layout for support info dialog
The dialog showing users what is being support
needed a custom layout so the list items would line
up with the title of the alert dialog.

Test: Manual
Bug: 32462840
Change-Id: Ie3dc4d3e70946d25c1e4d65ab482aea4d00fa55a
2017-01-09 16:11:03 -08:00
Bill Yi
5d8d883ab1 Import translations. DO NOT MERGE
Change-Id: Iba9f6f945f3e421f8413967b392e04085561c7c3
Auto-generated-cl: translation import
2017-01-09 13:14:43 -08:00
Bill Yi
e5c3cfb8ac Import translations. DO NOT MERGE
Change-Id: Ibd775a35c77810883e6366efbf9f0e4a0723b18a
Auto-generated-cl: translation import
2017-01-09 13:08:57 -08:00