413 Commits

Author SHA1 Message Date
Bernard Chau
25c43b78d1 Merge "Includes both direct boot aware and unaware apps in Apps default view" into nyc-dev 2016-04-14 09:40:00 +00:00
Bernard Chau
186f29b6d8 Includes both direct boot aware and unaware apps in Apps default view
The view should be showing a combined list of "downloaded"
+ "visible in launcher" apps. However, if FBE and work callenge are
enabled, after a reboot the direct boot unaware apps are filtered.

Reason is that PackageUserState#isMatch assumes at least one of the flags
are specified and expects system to derive the aware/unaware flags
according to the user's lock state if neither of them is specified.

Bug: 28004355
Change-Id: Ia05edb0530023597fd219eb5e59cd71752efd279
2016-04-13 18:00:06 +01:00
Jason Monk
65fc8c82c2 Merge "Rename home to settings home" into nyc-dev 2016-04-12 19:18:20 +00:00
Jason Monk
23d4ccf119 Rename home to settings home
Change-Id: Ie80e71353078431ce1e71e2f9f80b98eae4398b7
Fixes: 27834453
2016-04-12 12:42:30 -04:00
Jason Monk
b0ae8f8209 Settings dashboard performance work
- Allow rebuilding apps not in the foreground
 - Allow rebuilding apps without a comparator
 - Initially apply current configuration so we don't immediately clear
   tile cache

Change-Id: I8d57f7e8f7fa119915bf6fdc8ece8bee976edbdc
Fixes: 26541310
2016-04-12 10:30:43 -04:00
Bill Yi
063b93fb1d Import translations. DO NOT MERGE
Change-Id: I24b24fd8e5c2bf5103cdcf116cffd6972a7b4b88
Auto-generated-cl: translation import
2016-04-09 06:42:33 -07:00
Suprabh Shukla
bb5e4e2b81 Merge "Moving HelpUtils to SettingsLib" into nyc-dev 2016-04-08 19:31:38 +00:00
Evan Rosky
aa7f51fe8c Centralized user icon drawing with badges
Renamed CircleFramedDrawable to UserIconDrawable and
added badge/frame support.
Replaced several instances of user icon drawing with
UserIconDrawable

Bug: 27483956
Change-Id: I10d665406ea8b085667aa8c71ffcedffe72dafbd
2016-04-07 23:09:40 +00:00
Joseph Pirozzo
7233ef22ef Merge "HFP Client Permission" into nyc-dev 2016-04-07 22:09:25 +00:00
Joseph Pirozzo
99fecc0dd7 HFP Client Permission
Add the permission checkbox to the bluetooth profiles in settings if an
HFP client profile exists on the local device and HFP server profile
exists on the remote device rather than relying on the remote device
attempting to connect before presenting it.

Bug: 28071400
Change-Id: I32707a709489c7383a6e1709eac844a3d17f4428
2016-04-07 13:43:49 -07:00
Suprabh Shukla
c15c1be257 Moving HelpUtils to SettingsLib
Moved HelpUtils to SettingsLib from com.android.settings so it can be
shared with packageinstaller.

Bug: b/22096093
Change-Id: I75efb6476a8c7621279705a636f87b32d8d921be
2016-04-07 13:25:23 -07:00
Ricky Wai
035e924470 Fix work profile screen timeout policy
Settings screen should apply both primary and managed maximum
timeout policy, even separate profile challenge is enabled.

Bug: 27493348
Change-Id: Ia1ec1cafc7665c54816833af64e0f446a77a55b2
2016-04-07 17:16:03 +01:00
Bill Yi
da92d4881e Import translations. DO NOT MERGE
Change-Id: I856a941ac139b90d05f278db1023b96715211893
Auto-generated-cl: translation import
2016-04-06 05:38:14 -07:00
Sanket Agarwal
a951a593c0 Merge "PBAP connect to alternate device." into nyc-dev 2016-04-05 23:39:20 +00:00
Joseph Pirozzo
c76c857c26 PBAP connect to alternate device.
Fix connect to first disconnect from all connected devices before
attempting to connect to a new device for PBAP Client.

Bug: 28003503
Change-Id: I1299fc146c881f359832dae2da814a4aebbfec59
2016-04-05 14:50:20 -07:00
Bill Yi
f7d28faa04 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-05 03:22:27 +00:00
Bill Yi
de21fce560 Import translations. DO NOT MERGE
Change-Id: I1dc28e766598553596a3abdf05a7781b7b67f4c8
Auto-generated-cl: translation import
2016-04-04 18:01:54 -07:00
Muyuan Li
18d2b32423 SettingsLib: refactor for extensibility.
Add short version of charging / discharging labels. Extended getBatteryInfo method to take in additional flag for short version labels.

Change-Id: I499ce59493f1345c3084d48829ded5117d470e44
(cherry picked from commit e686bf4514d9c1116a4eaa8af285f44613e23b36)
2016-04-04 23:19:29 +00:00
Bill Yi
ba25767b1b Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-31 13:23:21 +00:00
Andrei Stingaceanu
aa60469445 Merge "AfW - suspend apps - API polish" into nyc-dev 2016-03-31 10:57:58 +00:00
Bill Yi
77d4d8f90f Import translations. DO NOT MERGE
Change-Id: I59f563780cebed31c23117028a5025e16f37b8ea
Auto-generated-cl: translation import
2016-03-30 22:18:13 -07:00
Sudheer Shanka
d2a968f9c3 Merge "Return null value if getActiveAdminUncheckedLocked returns null." into nyc-dev 2016-03-31 01:14:21 +00:00
Sudheer Shanka
549b969280 Return null value if getActiveAdminUncheckedLocked returns null.
- Split per user version of getUserRestrictions into a separate method
  in DPMS and make the per-user version return null if the admin
  parameter is not a valid one.
- Update isAccessibilityServicePermittedByAdmin and
  isInputMethodPermittedByAdmin to return false if the admin parameter
  is not a valid one.

Bug: 27909087
Change-Id: I6f4cae6552cbfe02dc4a92b04eeeddf0314e0974
2016-03-30 17:12:07 -07:00
Joseph Pirozzo
43b5d980d8 Merge "PBAP client Settings profile." into nyc-dev 2016-03-30 21:00:54 +00:00
Joseph Pirozzo
563c700f70 PBAP client Settings profile.
Add content to Settings and SettingsLib to add a checkbox for PBAP
client profile, and remove the box for PBAP server profile when the
client profile is enabled.

Bug: 27642222
Change-Id: I125559904a8e017a01ae90b1f6425129a87cbee3
2016-03-30 12:20:51 -07:00
Jason Monk
4ea6657d58 Clear out old views when setting new content in settings
Bug: 27529989
Change-Id: Id44ca442c2117bc5df7929bcd79434c0ae23cded
2016-03-30 12:35:29 -04:00
Udam Saini
68dab67de2 Calling setIsDrawerPresent(false) twice causes a crash.
We should only call setDrawerLockMode(...) if mDrawerLayout isn't
null.

bug:26288300
Change-Id: I8a1b77e03414360f9cd7e3fa6e6c98ef0e139ebf
2016-03-29 10:55:01 -07:00
Andrei Stingaceanu
efc4a344a1 AfW - suspend apps - API polish
* renamed getPackageSuspended => isPackageSuspended
* does not return false for an error, instead throws
  NameNotFoundException if the package could not be
  found, or if there is an unknown RemoteException,
  wraps it in a RuntimeException and rethrows.

Bug: 27532430
Bug: 22776761
Change-Id: Iee00600089b1c0556a3312b10456826464fa8f9f
2016-03-29 14:49:21 +00:00
Jason Monk
fd2e0dfc93 Merge "Make sure settings tiles pick up locale changes" into nyc-dev 2016-03-28 14:46:07 +00:00
Jason Monk
ec02e471a6 Make sure settings tiles pick up locale changes
Bug: 27727312
Change-Id: Ic54437805bb264dd8e569ac38673c5ee36b2378a
2016-03-28 10:44:43 -04:00
Geoff Mendal
717bf27e77 Import translations. DO NOT MERGE
Change-Id: I8e62258c3b6d7a4a3a201084410e6420eaf8fbfa
Auto-generated-cl: translation import
2016-03-28 07:26:36 -07:00
Alan Viverette
76ba7186fe Merge "Move DensityUtils into SettingsLib" into nyc-dev 2016-03-25 19:59:39 +00:00
Alan Viverette
8890cfa67f Move DensityUtils into SettingsLib
Bug: 27644685
Change-Id: I24b9e53d9add294eba43b612b30e3c4d6f74c8b5
2016-03-25 14:56:38 -04:00
Joe Onorato
13460a6cba Turn off verbose logs and remove log that is covered by verbose logs.
Bug: 27744135
Change-Id: I436cfd325f87b3b9205d50e92e2a70a50dd33344
2016-03-24 11:32:17 -07:00
Geoff Mendal
d65a05e5f1 Import translations. DO NOT MERGE
Change-Id: I78231875388818087268e1386bdf02165c745f18
Auto-generated-cl: translation import
2016-03-23 07:23:38 -07:00
Tony Mantler
ddba18ecc4 Move hint strings to SettingsLib
b/18246360

Change-Id: I638adcabcbe4bf0e2db7836b87c603bf9abc3763
2016-03-21 14:50:55 -07:00
Geoff Mendal
27a1dc1e22 Import translations. DO NOT MERGE
Change-Id: Iccb009c4e690d42ec7d4b01cc749dae3f691cdc5
Auto-generated-cl: translation import
2016-03-21 07:24:16 -07:00
Geoff Mendal
c4669182ae Import translations. DO NOT MERGE
Change-Id: Ib2a13f397c947838b0c3db6d0cf8d6de18268bea
Auto-generated-cl: translation import
2016-03-19 03:52:30 +01:00
Jason Monk
a2e759d963 Merge "Fix Settings home lifecycle" into nyc-dev 2016-03-17 13:32:20 +00:00
Gustav Sennton
4b187acf9c Merge "Change wording of WebView Implementation invalid-choice Toast." into nyc-dev 2016-03-17 10:53:24 +00:00
Svetoslav Ganov
3084bb8719 Merge "Disallow disabling of the package installer" into nyc-dev 2016-03-16 23:32:26 +00:00
Jason Monk
14ee8d7e17 Fix Settings home lifecycle
Bug: 26268813
Bug: 27330440
Change-Id: I6f5ab4a412b129728db3e8dff134c04272909997
2016-03-16 14:26:24 -04:00
Geoff Mendal
ed893367b9 Import translations. DO NOT MERGE
Change-Id: Iefbda82e967a365520cdf26df0728b8eb425c6a7
Auto-generated-cl: translation import
2016-03-16 07:27:26 -07:00
Sudheer Shanka
2893302afc Call preference.setEnabled only after updating disabledByAdmin state.
We check the value of disabledByAdmin state in setEnabled, so update it
first before calling setEnabled.

Bug: 27642236
Change-Id: Ie6c805b85a3afb87ffdaad0b80dbadc172b62d49
2016-03-14 14:59:52 -07:00
Nick Kralevich
3972507684 fix spelling
Change-Id: I82e64fa8a64be0fbfda748e6b57b5d339fd6f903
2016-03-12 15:00:50 -08:00
Gustav Sennton
ae71ddd154 Change wording of WebView Implementation invalid-choice Toast.
Add more intuitive and compact text for explaining that the chosen
WebView implementation is no longer invalid.

Bug: 27368515, 27424132
Change-Id: Ia0302964ebeecbd8f69eab436a58c8526359ec16
2016-03-10 18:15:23 +00:00
Tony Mantler
79d7e54f70 Merge "Remove redundant twiddling of Settings.Secure.ACCESSIBILITY_ENABLED" into nyc-dev 2016-03-10 16:54:10 +00:00
Sudheer Shanka
91f80006e5 Merge "Use compound drawable instead of image span." into nyc-dev 2016-03-10 15:58:25 +00:00
Sudheer Shanka
0dd17c8406 Merge "Fix description for the string disabled_by_admin." into nyc-dev 2016-03-10 01:05:37 +00:00
Sudheer Shanka
535b4e7eac Fix description for the string disabled_by_admin.
Change-Id: I229891fd6796521fc0b84f5ae5463b8697cf0934
2016-03-09 17:04:15 -08:00