304 Commits

Author SHA1 Message Date
Geoff Mendal
e24d5eff43 Import translations. DO NOT MERGE
Change-Id: I2e17b7941eeca02834d88b47e3283b9b74066439
Auto-generated-cl: translation import
2016-02-15 07:24:27 -08:00
Jason Monk
da63ceb785 Guard against monkey crash
Bug: 27099281
Change-Id: I58951ee7ff5f14f5c2d60e450ed3b0fa7bf31e8e
2016-02-11 11:37:24 -05:00
Geoff Mendal
291fd2828c Import translations. DO NOT MERGE
Change-Id: Id4deeb209ea9830e53273b68152c0f7630a26389
Auto-generated-cl: translation import
2016-02-10 07:36:12 -08:00
Andre Eisenbach
d4263faf8c Add Developer menu entry to disable Bluetooth absolute volume
NOTE: Original CL updated: Developer-related settings in
res/values/strings.xml are now in SettingsLib .

Bug: 27078729
Change-Id: I499c420b1eb8cafd674cd69f29ed64f6126307f0
2016-02-10 01:54:07 +00:00
Tony Mantler
d6cc7909fd Handle null list from getPackagesForOps
b/27101914

Change-Id: I468da1a0f38f78e1cd7fec50e3bc78cec6fd2771
2016-02-09 15:17:56 -08:00
Geoff Mendal
52e62e55a8 Import translations. DO NOT MERGE
Change-Id: I4bf4fefbe2f02647922208fafaa23f70c2fe965a
Auto-generated-cl: translation import
2016-02-08 17:32:25 +01:00
Jason Monk
cafda1f90e Settings drawer work
- Final visuals
 - Show under status bar
 - Fix activity flow surrounding drawer use

Change-Id: I161702219c26cabc6b2d1adbaa6fbfb1d9fd5b07
2016-02-08 15:12:25 +00:00
Jeremy Klein
aaa20ad134 Remove several TetherUtil functions which are no longer needed.
Slowly chipping away at TetherUtil to clean up this code.
This CL also adds an admin check to
ConnectivityService.isTetheringSupported to get parity with the
TetherUtil function before removing it.

Change-Id: Ibe7c5c9fb420d57e5458f77dad30e8a1e751a3e2
2016-02-04 19:06:59 -08:00
Sudheer Shanka
57218cbbf7 Merge "Made changes to fix some policy transparency options." 2016-02-04 19:14:14 +00:00
Sudheer Shanka
569258689a Made changes to fix some policy transparency options.
Add isInputMethodPermittedByAdmin and
isAccessibilityServicePermittedByAdmin APIs in DevicePolicyManager.
And update utility methods in RestrictedLockUtils to use the correct
userId when checking if disabled by admin.

Bug: 26897250
Bug: 26767564
Bug: 26966213
Change-Id: I0b74b3e57904a82f8ce72d856769d35b5e8403e5
2016-02-04 01:12:44 +00:00
Jason Monk
db204e9ada Merge "String updates - touch to tap" 2016-02-03 20:44:28 +00:00
Jason Monk
50b4b1eb39 String updates - touch to tap
Bug: 26749895
Change-Id: I5a6d44269e48aa89076199a825b65329c735437c
2016-02-03 15:43:01 -05:00
Sudheer Shanka
5e8a6e5661 Merge "Add an utility method to get device owner." 2016-02-03 15:31:55 +00:00
Geoff Mendal
18e74d09d5 Import translations. DO NOT MERGE
Change-Id: I6b612ab71f970dc349b0178e3c9f4008dbfbe1fa
Auto-generated-cl: translation import
2016-02-03 06:13:05 -08:00
Sudheer Shanka
1d0169bd9d Add an utility method to get device owner.
Change-Id: I0856d220aa8e4b8d17b83c04b9530dc2d085d94d
2016-02-03 00:25:50 +00:00
Anna Galusza
aae7ad7496 Merge "Fix breakage due to incomplete name change." 2016-02-02 18:09:21 +00:00
Anna Galusza
fb695c633c Fix breakage due to incomplete name change.
Change-Id: Ief02bd4a994a4ff3a571fedfead05c732043500d
2016-02-02 10:06:05 -08:00
Anna Galusza
427a182be4 Merge "Allow the drawer to not be shown." 2016-02-02 17:36:37 +00:00
Anna Galusza
1774a27b84 Allow the drawer to not be shown.
Change-Id: If616c6b801382c307fa7db85bed02a4b8cae6ea5
2016-02-01 15:44:00 -08:00
Sanket Agarwal
f8a1c9121d Add Headset HF role to the settings menu
- Makes the HF client a configurable item in Settings. You can
  enable/disable HF per item.
- Disconnect works cleanly since Settings now disconnects HF and hence
  tear down the ACL.

Bug: b/26808830

Change-Id: I062b64beac4c009a6075756b7f163c6455d77af2
2016-02-01 21:13:37 +00:00
Geoff Mendal
32dd489779 Import translations. DO NOT MERGE
Change-Id: Ief9ab0c1b5fd8f6ceb868e8cd9804ede5913d6f8
Auto-generated-cl: translation import
2016-02-01 06:03:29 -08:00
Clara Bayarri
6b6c5a2035 Make Notification Redaction independent for work profiles
Bug: 26709332
Change-Id: Ifc13c3c5a62110a3dfc44c2a02df9db11d92b431
2016-02-01 10:13:23 +00:00
Tony Mantler
9a115b274c Merge "Make AppRestrictionsHelper leanback-aware" 2016-01-29 19:20:33 +00:00
Andrei Stingaceanu
30c33e09b6 Merge "RestrictedLockUtils - introduce check for suspended apps" 2016-01-28 21:01:53 +00:00
Andrei Stingaceanu
44af4828c3 RestrictedLockUtils - introduce check for suspended apps
Used in Settings for restricting preferences.

Bug: 22776761
Change-Id: I6aad4400981cee00c734060ea3d6cf2641a721d9
2016-01-28 20:56:04 +00:00
Tony Mantler
14d7b39544 Merge "Change AccessPoint sorting to bucket signal levels" 2016-01-28 17:15:12 +00:00
Sudheer Shanka
978fc0d44c Add a DPM method to allow system to query parent profile instance.
Bug: 26830384
Change-Id: Ib12b171b1032bd86488f32f8d22eb0a9efb75e8f
2016-01-28 16:36:00 +00:00
Tony Mantler
a0e03ddd5f Change AccessPoint sorting to bucket signal levels
Keeps the list from jumping around for non-user-visible reasons

Change-Id: I2a47fa2f8e3dfcd95c17c5ffbb552332273eb425
2016-01-27 15:57:03 -08:00
Shishir Agrawal
05a7dfc48d Merge "Unhiding MSIM APIs." 2016-01-27 00:32:26 +00:00
Sudheer Shanka
39cef94f1a Made checkIfkeyguardNotificationFeaturesDisabled more generic.
Currently, it can be only used for checking the status of keyguard
notification features, made it generic so that it can be used for
other keyguard features like disable_fingerprint etc.

Change-Id: Ib2adfc12d7866cce248af78cc8b159cada9a6cad
2016-01-26 22:34:41 +00:00
Sudheer Shanka
6e3e9fc359 Merge "Add util method to get the admin who set maximum time to lock." 2016-01-26 22:29:41 +00:00
Jason Monk
ca7ec8a547 Make suggestions handle string or int
Evidently metadata bundles turn a single int into an integer rather than a
string without telling you.

Change-Id: I5c6557bad51981f27a7e213052e2be5bcc3a0a93
2016-01-26 17:01:00 -05:00
Shishir Agrawal
7ea3e8bf89 Unhiding MSIM APIs.
1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
   APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
2016-01-26 13:47:27 -08:00
Jason Monk
294efa57ca Updates to SuggestionParser
Added support for feature requirements and return after dismiss delays.

Change-Id: I80e80a55817cd4d9717876e34fc591b3dd3228f1
2016-01-26 14:40:16 -05:00
Jason Monk
37e65a409f Merge "Only show settings drawer on top level items" 2016-01-26 14:46:02 +00:00
Sudheer Shanka
1b92aefaae Merge "Add support for adding preference summary when disabled by admin." 2016-01-26 14:42:04 +00:00
Sudheer Shanka
2d4e09750d Merge "Check for null condition in case there is no DPM support." 2016-01-26 14:29:29 +00:00
Sudheer Shanka
c61087106e Check for null condition in case there is no DPM support.
Change-Id: Ie7c70737d0c36ae9efd1920498d9f07b8a7016b1
2016-01-26 14:00:16 +00:00
Jeremy Klein
0301cd9523 Merge "Expose a simple tethering API which includes provision checks." 2016-01-26 03:59:51 +00:00
Jeremy Klein
36c7aa0325 Expose a simple tethering API which includes provision checks.
This CL exposes startTethering and stopTethering functions which also
encapsulate all provisioning check logic. Right now, only silent checks
are implemented, but UI checks will come in a follow-up CL. GTS tests
and Settings changes are under the same topic ID.

BUG: 26247383
Change-Id: I65f61d899594cb3f9035d8496366af17a57a090f
2016-01-25 16:37:09 -08:00
Sudheer Shanka
1450173034 Add support for adding preference summary when disabled by admin.
Change-Id: I455c3180266734fa4ba6b5bf7cb5fc2f34177759
2016-01-25 22:40:10 +00:00
Sudheer Shanka
45e298f4b9 Add util method to get the admin who set maximum time to lock.
Added util method checkIfMaximumTimeToLockIsSet in RestrictedLockUtils
to get the admin who set maximum time to lock. Also, made a few updates
to the javadocs of other methods.

Change-Id: Ide3048b277f854360aa92d975963b61dff2387bb
2016-01-25 13:00:35 +00:00
Tony Mantler
98608e43eb Move AccessPointPreference to SettingsLib
Change-Id: I4461d5bbe6dd6d78acb8c135150e15e982bb1fab
2016-01-22 14:58:48 -08:00
Jason Monk
946483a69e Only show settings drawer on top level items
Bug: 26080590
Change-Id: Id8d387492e2e1e09fc87f4123bf7c399a2c1380e
2016-01-22 15:19:44 -05:00
Sudheer Shanka
0fa741253d Add a guard against NullPointerException in RestrictedLockUtils.
Change-Id: I1eb7852cf58a4435a2c7627a569ade5f44855bf7
2016-01-21 13:47:51 +00:00
Ruben Brunk
742721389c Fix admin check in Settings.
- This check is broken when there are no Admins on the device.
- Blocks enabling NotificationListenerServices in Settings.

Change-Id: I2c30daf2fc4632d55e84f0e499e3ceedbe162b98
2016-01-21 06:02:32 +00:00
Geoff Mendal
a1f8007d46 Import translations. DO NOT MERGE
Change-Id: Ib8e74713e677b3468159602cf063077357ac1c09
Auto-generated-cl: translation import
2016-01-20 06:11:47 -08:00
Jason Monk
34ac1d6c6f Merge "Support data usage changes in Settings" 2016-01-19 19:03:19 +00:00
Neil Fuller
4370fba554 Merge "Fix for Settings timezone names when boot time is wrong" 2016-01-18 19:01:41 +00:00
Sudheer Shanka
e50cad066e Merge "Add an util method and update setMenuItemAsDisabledByAdmin." 2016-01-18 18:28:55 +00:00