Commit Graph

33360 Commits

Author SHA1 Message Date
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
Bill Yi
5782b390dd Import translations. DO NOT MERGE am: 0446865d68 -s ours
am: a46e4a4e49  -s ours

Change-Id: I23088e1911540ebb2108d5682c319c2e24491dc8
2017-01-19 04:58:57 +00:00
Bill Yi
a46e4a4e49 Import translations. DO NOT MERGE
am: 0446865d68  -s ours

Change-Id: I389d6dd23abc7e3476d00a25ab958d1de44b7e09
2017-01-19 04:51:51 +00:00
TreeHugger Robot
27cb8b4a65 Merge "Import translations. DO NOT MERGE" 2017-01-19 04:38:50 +00:00
Shahriyar Amini
31357bb9a8 Consider res package when updating security icons.
Bug: 31002801
Test: make RunSettingsRoboTests
Change-Id: Icef83cbe18d4b48c4091bdf421018bc817bcf33c
2017-01-18 19:26:37 -08:00
TreeHugger Robot
17fb7d30a9 Merge "Fix null pointer in dashboard fragment test." 2017-01-19 03:10:29 +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
Doris Ling
fd83b2eb52 Fix null pointer in dashboard fragment test.
- use context instead of activity to retrieve resource details.
- revert the change previously made in getActivity() calls.
- add null checking in package name and tile intent.

Fix: 34396855
Test: make RunSettingsRoboTests

Change-Id: Ic853939fee3c381b663c0320354da51d3b2a0e11
2017-01-18 17:31:11 -08:00
TreeHugger Robot
1c6f9de1a1 Merge "Settings for new accessibility shortcut." 2017-01-19 01:17:03 +00:00
Pavlin Radoslavov
1d0e6c8cee Merge "Update/cleanup Bluetooth Codec strings in Developer Settings" am: b057b2da02 am: 058533ae25 am: 4dac712d7c
am: 4d70b69d7a

Change-Id: I03f43da0bce9b7661ce8ce7a6c0eaaf45c87c07e
2017-01-18 22:40:12 +00:00
Tamas Berghammer
e298e85f0b DO NOT MERGE: Revert "Update package names to work with the proto3 compiler" am: 5a638a6ad1
am: 6031fba9f2  -s ours

Change-Id: I3ef4ce03f26c527793224ae5aadbb065e747f829
2017-01-18 22:13:32 +00:00
Pavlin Radoslavov
4d70b69d7a Merge "Update/cleanup Bluetooth Codec strings in Developer Settings" am: b057b2da02 am: 058533ae25
am: 4dac712d7c

Change-Id: I0680026da45bb1828c70ec051e789b0845176702
2017-01-18 20:41:29 +00:00
Pavlin Radoslavov
4dac712d7c Merge "Update/cleanup Bluetooth Codec strings in Developer Settings" am: b057b2da02
am: 058533ae25

Change-Id: I49b4565644c584a69897f4b642a1b308fe9df0f0
2017-01-18 20:29:44 +00:00
TreeHugger Robot
16f1fc66c2 Merge "Tron metrics for special permissions" 2017-01-18 20:27:49 +00:00
Pavlin Radoslavov
058533ae25 Merge "Update/cleanup Bluetooth Codec strings in Developer Settings"
am: b057b2da02

Change-Id: I892ea30d6fb15ba10859cd48788260e5ad8ad380
2017-01-18 20:25:52 +00:00
Tamas Berghammer
6031fba9f2 DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"
am: 5a638a6ad1

Change-Id: If23c0926eecf6a08ed0c0ab174cdddb43e31cc00
2017-01-18 20:24:36 +00:00
Treehugger Robot
b057b2da02 Merge "Update/cleanup Bluetooth Codec strings in Developer Settings" 2017-01-18 20:20:48 +00:00
Tamas Berghammer
964bcccd62 Update package names to work with the proto3 compiler am: fbd5f5fdce
am: 6cd7e52b9e  -s ours

Change-Id: I3cf9d3c6758b1180fad7491da0afcff141b8ec04
2017-01-18 19:56:35 +00:00
TreeHugger Robot
54175aaaba Merge "[Fingerprint] Don't show warning dialog if screen lock is set up" 2017-01-18 19:33:22 +00:00
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
Paul Duffin
1250371b6b Prepare for removal of legacy-test from default targets
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.

Bug: 30188076
Test: make checkbuild
Change-Id: I5d2c0685b74ea5ba368c777d9646b9d3ac24dca9
2017-01-18 16:39:34 +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
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
f665025d90 Merge changes Ib59efe76,I316e3649
* changes:
  Move RadioButtonPreference to generic widget package
  Another attempt fix for account preference screen.
2017-01-15 17:46:05 +00:00
Jaewoong Jung
cb63d7b615 Implements additional battery info menu behavior. am: 8a49de31ab
am: 487458d23d

Change-Id: I3b5e8ee11b0f6e0b5d80081cc65db04130d2258e
2017-01-14 06:25:25 +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
ce6bf59a9a Merge "Adds a menu item for additional battery info to battery settings." into nyc-mr2-dev am: bd775165d4
am: 482b27320a

Change-Id: I7b2edb14a37ecda747dcbe5290ef72ef87d1767d
2017-01-13 22:48:48 +00:00
Jaewoong Jung
7299b98f86 Adds a menu item for additional battery info to battery settings. am: 7b557df0e4
am: c360bc5813  -s ours

Change-Id: Ifc345fd45191f927f1ca550abb113abe360049ca
2017-01-13 22:48:40 +00:00
Jaewoong Jung
482b27320a Merge "Adds a menu item for additional battery info to battery settings." into nyc-mr2-dev
am: bd775165d4

Change-Id: I3b5d1278bf2d2e237b9d0c7bd8349de451fc263b
2017-01-13 22:40:40 +00: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