Commit Graph

15016 Commits

Author SHA1 Message Date
Tamas Berghammer
5a638a6ad1 DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"
This reverts commit fbd5f5fdce.

Change-Id: I769f7a0f509996ccc39fd1c628cad7e5ec1202bf
2017-01-18 19:28:11 +00:00
Fyodor Kupolov
2328946b58 Tron metrics for special permissions
Added tron metrics for the following special permissions:
Battery optimisation
 - APP_SPECIAL_PERMISSION_BATTERY_ALLOW
 - APP_SPECIAL_PERMISSION_BATTERY_DENY
Device administrators
 - APP_SPECIAL_PERMISSION_ADMIN_ALLOW (when checked)
 - APP_SPECIAL_PERMISSION_ADMIN_DENY (when unchecked)
Do not disturb access
 - APP_SPECIAL_PERMISSION_DND_ALLOW
 - APP_SPECIAL_PERMISSION_DND_DENY
Daw over other apps
 - APP_SPECIAL_PERMISSION_APPDRAW_ALLOW
 - APP_SPECIAL_PERMISSION_APPDRAW_DENY
VR helper services
 - APP_SPECIAL_PERMISSION_VRHELPER_ALLOW
 - APP_SPECIAL_PERMISSION_VRHELPER_DENY
Modify system settings
 - APP_SPECIAL_PERMISSION_SETTINGS_CHANGE_ALLOW
 - APP_SPECIAL_PERMISSION_SETTINGS_CHANGE_DENY
Notification access
 - APP_SPECIAL_PERMISSION_NOTIVIEW_ALLOW
 - APP_SPECIAL_PERMISSION_NOTIVIEW_DENY
Premium SMS access
 - APP_SPECIAL_PERMISSION_PREMIUM_SMS_ALWAYS_ALLOW
 - APP_SPECIAL_PERMISSION_PREMIUM_SMS_ASK
 - APP_SPECIAL_PERMISSION_PREMIUM_SMS_DENY
Unrestricted data access
 - APP_SPECIAL_PERMISSION_UNL_DATA_ALLOW
 - APP_SPECIAL_PERMISSION_UNL_DATA_DENY
Usage access
 - APP_SPECIAL_PERMISSION_USAGE_VIEW_ALLOW
 - APP_SPECIAL_PERMISSION_USAGE_VIEW_DENY

Test: Manual + make RunSettingsRoboTests
Bug: 31008660
Change-Id: Id977e2c9f5aa811a2b0af036372b72c684621435
2017-01-18 10:54:19 -08: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
Pavlin Radoslavov
dd39c073d6 Update/cleanup Bluetooth Codec strings in Developer Settings
* Use the summary strings instead of the titles strings as appropriate.
* Use proper translatable strings instead of hard-coded "Streaming: "
  embedded string.

Test: UI visual observation
Change-Id: I0222afc30c75e68e2568c33c781755802d86c502
2017-01-18 10:35:35 -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
Tamas Berghammer
6cd7e52b9e Update package names to work with the proto3 compiler
am: fbd5f5fdce

Change-Id: I20b3bc10cf66bb94369631cef229787b5e6353b6
2017-01-18 17:45:33 +00:00
Shahriyar Amini
8b5c1f4802 Merge "Implement summary provider for Security." 2017-01-18 16:35:15 +00:00
TreeHugger Robot
09989dd2ca Merge "Delegate multiprocess flag to WebView update service." 2017-01-18 15:19: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
Torne (Richard Coles)
d86ebaa0f6 Delegate multiprocess flag to WebView update service.
Instead of letting DevelopmentSettings manage the setting directly and
observing the changes from WebViewUpdateService, have the update service
manage the setting and just expose IPCs for the settings app to use to
get/set the setting. This means we can set a more flexible policy for
whether multiprocess is enabled by default and change it without
touching the settings code, though for now this CL does not change the
behaviour and is just a refactoring.

Bug: 21643067
Test: Toggle multiprocess WebView in developer settings
Change-Id: I777fccf5d0106b0c4c442d043dc6df25ed7ea487
2017-01-18 14:07:24 +00:00
Doris Ling
859bc9190d Merge "Update icon color tint for tiles not in settings package." 2017-01-18 04:34:34 +00: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
TreeHugger Robot
6596c8ff4e Merge "Launch the Gallery app to manage photos from the Storage screen." 2017-01-17 21:02:57 +00: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
Shahriyar Amini
5c1ad614a6 Implement summary provider for Security.
Bug: 31002801
Test: make RunSettingsRoboTests

The Security summary is implemented to show the same summary as the
package verifier injected tile if one exists.

Change-Id: I0a2f163a801a7b07fd5363b302c451aca8d389b0
2017-01-17 11:46:02 -08:00
TreeHugger Robot
c3fdc3e813 Merge "Add number of enterprise-installed apps to Privacy Settings page" 2017-01-16 10:53:11 +00:00
Jaewoong Jung
487458d23d Implements additional battery info menu behavior.
am: 8a49de31ab

Change-Id: I29a2a6032b02309ae9e966f517774f5ce1451c3b
2017-01-14 06:05:56 +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
Fan Zhang
c7804c130b Another attempt fix for account preference screen.
Fix: 34219500
Test: RunSettingsRoboTests

Change-Id: I316e36496fc9d7eca9c718275c0f113b181d7f1e
2017-01-13 16:31:16 -08:00
Jaewoong Jung
8a49de31ab Implements additional battery info menu behavior.
This is a manual cherry-pick of commit
6a43a06cac.

Bug: 33352540
Test: Updated existing tests.
Change-Id: I990029d2ea9032301362d614959259965b8ecb10
2017-01-13 14:56:47 -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
Daniel Nishi
8a2ff52e61 Merge "Update StorageSettings to use StorageDashbordFragment." 2017-01-13 22:06:46 +00:00
Roger Xue
89b4f938ca Merge "move PreferenceController into settingsLib/core" 2017-01-13 21:59:17 +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
e761b4c4e2 Merge "Enable time zone preference on wifi-only device." 2017-01-13 20:45:49 +00:00
TreeHugger Robot
42248f0066 Merge "Add Always on VPN to Privacy Settings page" 2017-01-13 20:03:48 +00:00
Doris Ling
990460b442 Update icon color tint for tiles not in settings package.
Set the icon tint color to colorControlNormal for components not in
settings package.

Change-Id: I6b822b355eb706693a0af4e5832407064cd2b2c2
Fix: 34192209
Test: Visual
2017-01-13 11:21:02 -08:00
Doris Ling
0e15fe8e4a Enable time zone preference on wifi-only device.
When auto time zone preference is not available, it should be considered
disabled, so that user can still select time zone.

Change-Id: I9b17205a11ff512da02694e3bce06cfbd21dd7db
Fix: 34203177
Test: make RunSettingsRoboTests
2017-01-13 11:15:13 -08:00
Daniel Nishi
f7fc304724 Launch the Gallery app to manage photos from the Storage screen.
This replaces the old behavior of opening the Files app and
matches the latest mocks.

Bug: 33199077
Test: settings robo
Change-Id: Id6451300063fcb3f10c6272c2a2fa49fe1384ac5
2017-01-13 10:44:12 -08:00
Daniel Nishi
8f969665e3 Merge "Add ASM enabled/disabled text to the Storage settings." 2017-01-13 17:41:01 +00:00
Salvador Martinez
cfd475feb5 Removed fake data
am: 4b69b113fb

Change-Id: Idc8731119c9dca50135c15454944d8b20aa89730
2017-01-13 01:06:45 +00:00
TreeHugger Robot
9b5cd25a34 Merge "Add logging to search fragment." 2017-01-13 00:51:23 +00:00
TreeHugger Robot
08853706c5 Merge "Add activity action for Configure Wi-Fi settings." 2017-01-12 23:25:51 +00:00
Maurice Lam
92d3c1e653 [Fingerprint] Don't show warning dialog if screen lock is set up
If the keyguard is already secure (i.e. if the backup screen lock is
already set up), do not show the skip dialog which warns user about
the danger of not having a screen lock.

Bug: 34129157
Test: adb shell am instrument -w com.android.settings.tests.unit
Change-Id: I6f777631487de89ab25a08ea017dd6194dde464d
2017-01-12 14:39:29 -08:00
TreeHugger Robot
94b86a4d77 Merge "Add Settings toggle for Wi-Fi Wakeup." 2017-01-12 22:11:48 +00: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
Salvador Martinez
4b69b113fb Removed fake data
Was using fake data for testing that we could attach
payloads. This is no longer needed since we are now
attaching real data.

Test: Manual Verification on GCS
Bug: 27823357
Change-Id: I055c2b2e027f721e14ea5b6b7efccd5267018b8c
2017-01-12 10:53:42 -08:00
Tadashi G. Takaoka
7b7a16b90e Merge "Watch for changing enabled IMEs" 2017-01-12 03:52:11 +00:00
Tadashi G. Takaoka
0166269dda Merge "Move IME related seach landing pages to its fragments" 2017-01-12 03:51:56 +00:00
Tadashi G. Takaoka
73038da358 Merge "Move physical keyboard search landing page to its Fragment" 2017-01-12 03:51:31 +00: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
Salvador Martinez
94422fc8f9 Added survey triggering mechanisms
am: 2cb82c55a0

Change-Id: Ib1a98fc3351059a7811c41f616507abec689a98a
2017-01-12 02:07:21 +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
TreeHugger Robot
94d302283b Merge "Parse external intent from cursor correctly for search." 2017-01-12 01:09:09 +00:00
Fan Zhang
39f4f6ee60 Add logging to search fragment.
- User leaves screen without any query
- Number of results clicked before leaving screen
- Event of each result click

Bug: 34204146
Test: RunSettingsRoboTests

Change-Id: I357fbb4cdfd4d02370791b4a2ddeb2127fdddf97
2017-01-11 16:37:36 -08:00