236170 Commits

Author SHA1 Message Date
Adam Powell
4c284d513c Don't bind ChooserTargetServices as user CURRENT
Bug 26151189

Change-Id: I8ea76de499f7a7b9edbf1de3117d34d91bfa36ae
2016-03-18 16:04:27 -07:00
Ruben Brunk
c7354fe2d4 Notify VrListenerService when VR activity changes.
Bug: 27536964
Bug: 22855417

Change-Id: I67e1f8e6595332b3d768a99735bbd5fd38dffdc9
2016-03-18 16:00:38 -07:00
Brad Ebinger
9bc6ba9746 Merge "Update docs to better document PhoneAccountHandle" into nyc-dev 2016-03-18 22:36:24 +00:00
Adrian Roos
918ea1c14c Merge "Mirror send in RTL" into nyc-dev 2016-03-18 22:33:44 +00:00
Chris Craik
7fb0d09455 Merge "Rebuild outline when setBackground is called." into nyc-dev 2016-03-18 22:29:20 +00:00
Chris Craik
96bacd186e Rebuild outline when setBackground is called.
bug:27505848

Also correctly register damage from profiling bars.

Change-Id: I9550c2742eb833350a077ca48eccf9b584083a1e
2016-03-18 15:28:23 -07:00
Wale Ogunwale
c037359580 Merge "Only resize task when divider is released" into nyc-dev 2016-03-18 22:17:09 +00:00
Wale Ogunwale
ef676d89f8 Only resize task when divider is released
To reduced jank during resizing we now only resize the task
when the split-screen divider is release vs always resizing
it to the snap points.

Bug: 27738239
Bug: 27676101
Bug: 27601572
Change-Id: Iad450842d82193bc1731729834339068cf2d3e83
2016-03-18 15:12:12 -07:00
George Mount
7f1bdd9f91 Merge "Add @SafeVarargs for methods using typevar varargs." into nyc-dev 2016-03-18 22:11:39 +00:00
Jeff Sharkey
9eacb81e83 Merge "Avoid spinning up DocumentsProviders at boot." into nyc-dev 2016-03-18 21:23:19 +00:00
Jeff Sharkey
e090b7963c Avoid spinning up DocumentsProviders at boot.
Bug: 27743087
Change-Id: Ia89465c5d13a74f3b78a0d84f1ecfe5fd2a6e744
2016-03-18 15:22:27 -06:00
Tony Mantler
4f29d45ad4 Merge "Fix build" into nyc-dev 2016-03-18 21:20:49 +00:00
Tony Mantler
86b66c5ef6 Fix build
Change-Id: I590db57366a40aa011ee02e6e34e64cd2e7d1115
2016-03-18 13:06:56 -07:00
Jeff Sharkey
620a28bad2 Merge "Mark more Bundles as being defusable." into nyc-dev 2016-03-18 19:54:52 +00:00
Julius D'souza
77e645123f Merge "CTS: Add @hide annotations to several @IntDef elements" into nyc-dev 2016-03-18 19:53:56 +00:00
Felipe Leme
71c5618968 Merge "Cleaned up dependency to data saver mode." into nyc-dev 2016-03-18 19:32:16 +00:00
Julia Reynolds
a100aafbcb Merge "Apps that can change DND state can also pass audiomanager DND policy checks." into nyc-dev 2016-03-18 19:24:39 +00:00
Julius D'souza
2b67c07d82 CTS: Add @hide annotations to several @IntDef elements
Bug: 27232186

Change-Id: Idd70359e22606a5ff21dfaffd119528cedd08b5a
2016-03-18 12:18:18 -07:00
Julia Reynolds
a2d0102b46 Apps that can change DND state can also pass audiomanager DND policy checks.
Bug: 27735850
Bug: 27708335
Change-Id: Ia9cc3e6ba93836ddb00d7e709c32da3d6a244f5e
2016-03-18 15:03:43 -04:00
Greg Kaiser
b8768acda2 Merge "ContextHubManager: Rename Callback class." into nyc-dev 2016-03-18 19:02:54 +00:00
Rob Carr
628e27f105 Merge "Include more methods in SurfaceTrace." into nyc-dev 2016-03-18 18:56:47 +00:00
Jason Monk
1ce2abcf6d Merge "Fix QS FBE-ness" into nyc-dev 2016-03-18 18:41:39 +00:00
Tony Mantler
e6e08b4a5a Merge "Add safe-mode reboot to PowerManager" into nyc-dev 2016-03-18 18:40:21 +00:00
Tony Mantler
b8009fddd8 Add safe-mode reboot to PowerManager
b/12787723

Change-Id: If7e6ff63532b49b9e758db290a877f7dbfa8a8b7
2016-03-18 11:36:16 -07:00
Julia Reynolds
5ee99c4f02 Merge "The volume controller has notification policy access." into nyc-dev 2016-03-18 18:34:34 +00:00
Jason Monk
1c2fea8df7 Fix QS FBE-ness
- Get service info for encryption-unaware apps
 - SysUI assumes tiles in unavailable state when waiting for
   binding
 - Attempt rebind after unlock is complete
 - Fix random crash that was making testing hard

Bug: 26940789
Bug: 27556723
Change-Id: I0b3600d35d4c74bb0d6c47a34a7d267bb9731bc4
2016-03-18 14:31:42 -04:00
Jeff Sharkey
a04c7a7c64 Mark more Bundles as being defusable.
They're destined for the system, so they're okay to look inside.

Bug: 27726127
Change-Id: Ic85c308a8efe6f9b8652952717c72b3c663d328a
2016-03-18 12:20:39 -06:00
Teng-Hui Zhu
c0b87a84c6 Document the cache bitmap behavior for VD
b/26454083

Change-Id: I22aeef9760aaf6bb79dca85740281cf94e19e601
2016-03-18 11:19:23 -07:00
Winson Chung
d037ef95e8 Merge "Allow dragging to dock single tasks." into nyc-dev 2016-03-18 17:47:59 +00:00
Jeff Sharkey
910e7726b3 Merge "Changes of root storage space unmounting time on Zygote Process" into nyc-dev 2016-03-18 17:44:55 +00:00
Tyler Gunn
2b75d9c171 DO NOT MERGE Add new ConnectionEvent API (hide) to send a notification to Telecom
am: 7904a97  -s ours

* commit '7904a972e1178d2157263cecdcaaf4917c0fffdf':
  DO NOT MERGE Add new ConnectionEvent API (hide) to send a notification to Telecom
2016-03-18 17:35:16 +00:00
Abodunrinwa Toki
7c36cb9812 Merge "Fix "Available virtual keyboard" button string." into nyc-dev 2016-03-18 17:33:03 +00:00
Gustav Sennton
79a23a093e Merge "Add utility interface for WebView preparation logic." into nyc-dev 2016-03-18 17:30:12 +00:00
Greg Kaiser
6ba60e6049 ContextHubManager: Rename Callback class.
Since this Callback class is scoped within ContextHubManager, we
remove the redundant ContextHub from the name.  This CL is just
a rename and should not modify any behavior.

Change-Id: I40fea3ab7b5312d32a6f22b7543669ed563b9992
2016-03-18 10:29:29 -07:00
Felipe Leme
76010a3302 Cleaned up dependency to data saver mode.
When power-save mode was first implemented, there were no firewall rules
on netd, so the solution was to make all network interface metered and
re-use the bw_penalty_box chain.

Recently, a fw_powersave chain was created with the purpose of
separating these 2 concerns, but the initial implementation left a lot
of dead code around; this change cleans up that code.

Changes:

- Renamed updateRulesForUidLocked() to
  updateRestrictDataRulesForUidLocked().
- Simplified updateRestrictDataRulesForUidLocked() implementation.
- Removed calls to updateRestrictDataRulesForUidLocked() from places
  that don't touch the data saver rules.
- Refactored the data saver part of updateRulesForGlobalChangeLocked()
  into a updateRulesForRestrictDataLocked(), which is similar to the
  existing methods for iddle and restricted power.
- Changed setRestrictBackground() to use
  updateRulesForRestrictDataLocked() instead of
  updateRulesForGlobalChangeLocked().
- Removed redundant calls to updateRestrictDataRulesForUidLocked() and
  updateRulesForGlobalChangeLocked() when an user id deleted.

BUG: 27127112
BUG: 26685616
Change-Id: I621d20139742cc0dd3bbf6fe9cbfe889ddcc1fd7
2016-03-18 10:27:12 -07:00
Julia Reynolds
e08dc6cb7b The volume controller has notification policy access.
Bug: 27735850
Change-Id: I7056799923370622362b491058e018db97692281
2016-03-18 13:17:47 -04:00
Alan Viverette
46b5258138 Merge "Revert linear layout weight distribution algorithm" into nyc-dev 2016-03-18 17:08:15 +00:00
Diego Perez
d15459197f Account for parent scroll position
When calculating the ViewInfo bounding box, account for the parent
scroll position.
Also make renderAndVerify return a RenderResult to verify some data
about the result layout.

Change-Id: I965e393c49b5030c80083daf5e058fa31400ce93
2016-03-18 16:52:39 +00:00
Philip P. Moltmann
ef5577a15d Merge "Treat all remotedocumentadapter-command results as cancel in the case we are canceling the command." into nyc-dev 2016-03-18 16:45:43 +00:00
Philip P. Moltmann
27db6611a7 Treat all remotedocumentadapter-command results as cancel in the case we
are canceling the command.

Before it could happen that we have a pending cancel on a layout command
but the layout command finishes normally. This enqueued a new write
command before the PrintActivity is notified. This in turn prevented the
printactivity from finishing as the write command was still pending.

Bug: 27642724
Change-Id: I3c532d53b0c66c40d2e48ab8b4419251ff473a79
2016-03-18 09:44:28 -07:00
Victor Chang
cd14c0a9da Api change of DPM.setApplicationRestrictionsManagingPackage()
Throws NameNotFoundException instead of IllegalArgumentException

Can't throw NameNotFoundException directly from DPMS as
aidl doesn't support checked exception

Bug: 27532565
Change-Id: I202721f41057f92ad2dd851d4769ba4502a8f9b3
2016-03-18 16:44:21 +00:00
Adam Powell
386f78530d Merge "New string for resolving ACTION_SENDTO intents" into nyc-dev 2016-03-18 16:41:31 +00:00
Adam Powell
13ea8f48ab New string for resolving ACTION_SENDTO intents
"Share" didn't make much sense here since SENDTO is used for sending
content to a specific recipient, e.g. emailing a person from their
Contacts page in the dialer.

Bug 23626568

Change-Id: I8ac4f2aee5c41aa6c2d546b39283c6f22127cefe
2016-03-18 09:39:41 -07:00
Tenghui Zhu
6a00ad2c8b Merge "Update material circular progress spinner (indeterminate)" into nyc-dev 2016-03-18 16:36:06 +00:00
Alan Viverette
a856e96eb5 Ensure nine-patch uses the best available target density
Bug: 27507887
Change-Id: Iddab4fdd2fe8fbf201dbb8ed42657a00509f42cc
2016-03-18 12:36:00 -04:00
Jeff Sharkey
2a4e495448 Merge "Update direct boot related documentation." into nyc-dev 2016-03-18 16:32:16 +00:00
doheon1.lee
885b742bb6 Changes of root storage space unmounting time on Zygote Process
Zygote process forks every child process for launch the SystemServer and other
applications. When child process is forked, unmount storage inherited
from Zygote process is executed before it gains its own root storage
space.
If Zygote have no storage spaces, unmount operations not needed to
get relevant permission storage space.
Thus unmount is executed only once shortly before the SystemServer is forked.
And the child processes do not unmount its inherited root storage space.

Change-Id: I311ca7ea2c93085f42579f8cf8bdc7ef1d570a04
2016-03-18 10:31:31 -06:00
Philip P. Moltmann
74f9a2fc2e Merge "Do not finish multiple times." into nyc-dev 2016-03-18 16:19:45 +00:00
Phil Weaver
b2cc929657 Merge "Update a11y gesture and magnification APIs." into nyc-dev 2016-03-18 15:52:29 +00:00
Gustav Sennton
8b17926a78 Add utility interface for WebView preparation logic.
To make the WebView preparation mechanism testable we add a utility
interface that can be overridden during a test to avoid calling the
Android framework and to provide custom WebView packages.

With this change we also split some of the code from the WebViewFactory
(code unrelated to WebView loading) into a separate utility class.

Bug: 27635535
Change-Id: I265ecd42b24ad5383637e125b3654ff339c9df9c
2016-03-18 15:47:23 +00:00