23303 Commits

Author SHA1 Message Date
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
Chris Tate
9c4ec06988 Merge "API review: WallpaperManager" into nyc-dev 2016-03-31 19:24:42 +00:00
Jason Monk
e12a9b5729 Merge "The lights go down on dark theme" into nyc-dev 2016-03-31 19:20:02 +00:00
Jason Monk
b4a253bc5a The lights go down on dark theme
It will be remembered.
It died not once, but twice.
ಥ_ಥ

Change-Id: I48fba2e71b1fd431d7cd0dccb36e8a59bb47709a
Fixes: 21854466
2016-03-31 14:45:15 -04:00
Adrian Roos
4de449a3c6 Merge "Add option to force remote input history" into nyc-dev 2016-03-31 18:34:54 +00:00
Jason Monk
d1ed81e5af Merge "Fix tiles animating when QS edit is open" into nyc-dev 2016-03-31 18:11:36 +00:00
Jason Monk
4efc9246c6 Fix tiles animating when QS edit is open
Change-Id: Ie242f0cb71354674884bca398e0075cdebc3b572
Fixes: 27815863
2016-03-31 14:10:37 -04:00
Jason Monk
becc30196d Merge "Update the wifi on but disconnected qs icon" into nyc-dev 2016-03-31 17:40:20 +00:00
Jason Monk
be83cc0044 Update the wifi on but disconnected qs icon
Change-Id: Icb3ef57e7fa540868716107206d710dc4048aa90
Fixes: 27900385
2016-03-31 13:38:59 -04:00
Jason Monk
33b30609ff Merge "Remove panel paddings/margins when QS is customizing" into nyc-dev 2016-03-31 15:43:46 +00:00
Jason Monk
26350a4276 Merge "Fix QS battery tile state" into nyc-dev 2016-03-31 15:32:18 +00:00
Jason Monk
8b2ce60ba8 Fix QS battery tile state
Don't share drawables across multiple imageviews.  Instead generate
a new drawable for each one.

Change-Id: I70259f978af73525d9f6ec772ecd94f2ca9c75bf
Fixes: 27786862
2016-03-31 11:30:41 -04: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
Bill Yi
c03c77edc0 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-31 04:18:41 +00:00
Bill Yi
25b12ac54e Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-31 04:18:13 +00:00
Bill Yi
a41213f87d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-31 04:17:54 +00:00
Bill Yi
d84eed1d28 Import translations. DO NOT MERGE
Change-Id: Ia554f35ef10e80690cfe3cf5fdf0c004a7687fe1
Auto-generated-cl: translation import
2016-03-30 20:25:05 -07:00
Bill Yi
30443bf699 Import translations. DO NOT MERGE
Change-Id: Icc3eb7aed5c4991a4628cd3978a0d8339ec785a9
Auto-generated-cl: translation import
2016-03-30 20:09:56 -07:00
Bill Yi
e9170af379 Import translations. DO NOT MERGE
Change-Id: If1d2bc9f9f2e22b73c1b093f680f55dbdd67ca42
Auto-generated-cl: translation import
2016-03-30 20:03:30 -07:00
Aga Wronska
276dcd7314 Merge "Add menu option to show/hide internal storage." into nyc-dev 2016-03-31 01:39:12 +00:00
Philip P. Moltmann
740a5f023e Merge "Add the print service recommendation service" into nyc-dev 2016-03-31 01:33:17 +00:00
Aga Wronska
774cc932fc Add menu option to show/hide internal storage.
This reverts commit 7c4395804e450533afb553ab992c47f737da8a9b.

Bug: 27683276
Change-Id: Id1a310b57ab7fa3c8c14b464786473f211eaf41f
2016-03-30 18:23:10 -07:00
Sudheer Shanka
bc2294b3c2 Merge "Revert "Temporary changes to fix crashes during tests."" into nyc-dev 2016-03-31 01:22:37 +00:00
Sudheer Shanka
d2a968f9c3 Merge "Return null value if getActiveAdminUncheckedLocked returns null." into nyc-dev 2016-03-31 01:14:21 +00:00
Andrii Kulian
ac94586714 Merge "Refactor usages of Picture In Picture and Multi Window (1/4)" into nyc-dev 2016-03-31 00:57:42 +00:00
Felipe Leme
d847b511d3 Merge "Minor tweaks on Scoped Directory Access:" into nyc-dev 2016-03-31 00:49:18 +00:00
Jeff Sharkey
09d77417b1 Merge "Fix RootsCache invalidation bugs." into nyc-dev 2016-03-31 00:27:21 +00:00
Sudheer Shanka
ad143c09df Revert "Temporary changes to fix crashes during tests."
This reverts commit 1c15e01f6dc57cbd8dbfb45f60c625703309c4a5.

Change-Id: I9ea2f26c9d95b5429c98a0785b1797bea2e3f945
2016-03-31 00:24:05 +00:00
Philip P. Moltmann
9dcb86a48d Add the print service recommendation service
This service connects through the print manager to the print spooler:

PrintSpooler.AddPrintersActivity <-> PrintManager <-> PrintManagerService <-> UserState <-> RemotePrintServiceRecommendationService <-> PrintRecommendationService <-> PrintRecommendationServiceImpl

Hence there is a lot of mindless plumming.

The actual changes are only in the AddPrintersActivity which is extended
to show another list of services: The recommended services.

The PrintServiceRecommendationService is based on the experimenal print
service stubs provider. This provider was contributed the Android by
Mopria. As this services uses Android own network discovery service most
code from the experimental provider goes away. In fact the only logic
left over is the selections of mdns-txt fields to look at and the
printer vendor configuration.

This relies on the Android MDNS to get fixed (Bug: 27696905). This also
does not deal with how to update the recommendation service.

Bug: 24533249
Change-Id: I6edc6e25fc08a50d478b61c71bb8ea158b08624c
2016-03-30 17:21:07 -07: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
Adrian Roos
c0a579e575 Add option to force remote input history
Bug: 27851227
Change-Id: Iced5d24d6cc0894ce7c7e9565722d0ef016a50a5
2016-03-30 16:46:34 -07:00
Felipe Leme
2ac876945b Minor tweaks on Scoped Directory Access:
- Only allow entire directory access on non-primary volumes.
- Do not display primary storage label on scoped access.

BUG: 27743842
BUG: 27676858
Change-Id: I9884fb1e2df3534fceebc5d5bef44adfb758724c
2016-03-30 16:42:10 -07:00
Jeff Sharkey
7732e1e544 Fix RootsCache invalidation bugs.
When RootsCache is still running and it detects a provider/package
change, it needs to force reload roots.  Also fix cache invalidation
bug in ContentService to allow for Uri prefix matches.

Mark internal storage broadcasts with flag to bypass new background
checks.

Bug: 27759529
Change-Id: I9d9c6fe15d8640ff56ae7214afb3bac673682c28
2016-03-30 17:14:25 -06:00
Evan Rosky
0418ea7a73 Merge "Make part of KeyguardSecurityContainer protected" into nyc-dev 2016-03-30 23:13:05 +00:00
Philip P. Moltmann
02add6aa91 Merge "Rewrite workflow on how the destination printer is selected." into nyc-dev 2016-03-30 22:42:49 +00:00
Aga Wronska
3d6dc3a60a Merge "Add metrics for create directory and rename file operations" into nyc-dev 2016-03-30 22:04:24 +00:00
Philip P. Moltmann
456f1e33b8 Merge "Update print preview when option is changed and clear ranges when they layout changes" into nyc-dev 2016-03-30 21:44:19 +00:00
Christopher Tate
edf7d04003 API review: WallpaperManager
- Rename FLAG_SET_* to simply FLAG_*
- Improve documentation

Bug 27365822

Change-Id: I10e85aeaa462a8ae092938c0ccd55d171f02c20a
2016-03-30 14:32:00 -07:00
Joseph Pirozzo
43b5d980d8 Merge "PBAP client Settings profile." into nyc-dev 2016-03-30 21:00:54 +00:00
Jason Monk
be8612de2c Fix QS animation visibility issue on lockscreen
Change-Id: I4ed417051b1efe23952b20a993830ba06f8faee7
Fixes: 27616176
2016-03-30 16:31:32 -04:00
Aga Wronska
6f000a1a63 Merge "Add metrics for opening the drawer" into nyc-dev 2016-03-30 20:13:51 +00:00
Vladislav Kaznacheev
0fd3b1abda Merge "Update DocumentsUI according to DragStartHelper API changes" into nyc-dev 2016-03-30 19:43:47 +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
Vladislav Kaznacheev
0e84279947 Update DocumentsUI according to DragStartHelper API changes
Bug: 27810240
Change-Id: I1daed13d6d9cc215a6b1ba4d0ad259a996b0eb5f
2016-03-30 11:14:29 -07:00
Aga Wronska
7dcf81e6fa Add metrics for opening the drawer
Change-Id: I1315463c5217ce47aa7fa40ddd8b8773c7038208
Fixed: 27905111
2016-03-30 11:05:04 -07:00
Aga Wronska
4e8c7f61be Add metrics for create directory and rename file operations
Change-Id: I4814673b4066efa840e1fb52a7549d8c7ebc4f63
Fixed: 27908149
2016-03-30 11:00:03 -07:00
Jason Monk
b01a0afb4e Merge "Fix QS panel after density changes" into nyc-dev 2016-03-30 17:52:27 +00:00
Jason Monk
f160edcab9 Fix QS panel after density changes
Fixes: 27744717
Change-Id: Ic3724b39e027379bb81e94e7059e67d2bbe30e88
2016-03-30 13:49:58 -04:00