52986 Commits

Author SHA1 Message Date
Jeff Sharkey
8fb63d5a5a Merge "Plumb split APKs into public API." 2014-06-17 20:55:27 +00:00
Jeff Sharkey
8a4c9721a9 Plumb split APKs into public API.
Introduces new ApplicationInfo fields to surface zero or more split
APKs for an application.  Splice these APKs into both the class
loader and resource system.  Cleaner building of these paths.

Run dexopt() on all split APKs found after a parse, and populate
into ApplicationInfo.

Change-Id: I4a376bf4492d84ea95aafa866e106ea43a43e492
2014-06-17 14:38:44 -07:00
Jim Miller
05d38d28b6 Merge "Hide IFingerprintService and IFingerprintServiceReceiver" 2014-06-17 20:55:27 +00:00
Jim Miller
06e658f324 Hide IFingerprintService and IFingerprintServiceReceiver
The @hide was being ignored because they were being used by the
constructor.  Fixed by making the FingerprintManager constructor
hidden.

Change-Id: I3cd409df5055579f5004b08d00d5d951b8e5afd3
2014-06-17 18:38:14 -07:00
Jeff Brown
2139276ce8 Refactor BatteryService to new pattern.
Apply SystemService pattern to BatteryService.

Change-Id: I4971b2da8d2aed4d14440fb65863a8b916bab03c
2014-06-17 18:20:42 -07:00
Jeff Brown
2c43c339de Resolve boot time dependencies related to the power manager.
This change fixes a bug where native daemons may try to communicate
with the power manager before it was fully initialized due to a race
between publishing the binder service and completing init().

The solution was to simplify the dependencies related to the power
manager.  It turns out that most services that were passed in
init are not actually needed until systemReady.  What remained
was a dependency on the activity manager to check permissions for
incoming calls.  So now we start activity manager first.
However, the activity manager also depends on power manager for
wakelocks.  To break the cycle, we now defer initializing the activity
manager's wakelocks until after the power manager has been started.

Cleaned up a bunch of boot-time service dependencies so that we
can have better confidence that they are correctly maintained.

Bug: 13884219
Change-Id: If08e2d7ccd44e7026a72441bb6bd5afd7bb9fffe
2014-06-17 18:20:42 -07:00
Jim Miller
cd589baba9 Merge "First pass at FingerprintService integration with HAL. Move FingerprintService to framework services directory Fix merge conflicts." 2014-06-17 21:07:42 +00:00
Jim Miller
a7596147b4 First pass at FingerprintService integration with HAL.
Move FingerprintService to framework services directory
Fix merge conflicts.

Tested: scanning, enrolling, removing.

Change-Id: I58b2b902cb671dc82cdaa54a195ba5f1a154622c
2014-06-17 14:03:37 -07:00
Christopher Tate
564054146e Merge "Tweak restore API" 2014-06-17 20:55:27 +00:00
Christopher Tate
6a49dd087f Tweak restore API
We need the transport to tell the system not only what package it's going
to deliver data for next, but also what format that data is in.

Change-Id: I989cf78febf923a4208acb33ed80ccc7869356f5
2014-06-17 14:29:09 -07:00
Griff Hazen
2ea0d3979e DO NOT MERGE Reduce chance of notification listener dropped messages.
The existing code for notification manager/listeners uses a oneway
binder api to deliver messages. One problem with this is that
notification objects can sometimes get fairly large, and can bump
into the oneway binder transaction buffer if many happen at once.

To reduce this issue, flip the service into a oneway delivery of
a status bar notification holder, whose wrapped content is then
immediately fetched upon receipt of the one-way message. This moves
the meat of the fetch to be over a two-way interface without changing
the properties of which object is actually sent (a tickle solution
with lookup key would have changed this)

Further research: attempt to chunk notification objects themselves.
They can sometimes transfer hundreds of KB over a binder transaction.

Bug: 15426276
Change-Id: Ib1a1f4ff848c16f80bcf2ae4dfd2b87a9091f0b2
2014-06-17 20:06:45 -07:00
Andy McFadden
50b9fcfae1 Merge "Add two new display info fields" 2014-06-17 20:49:29 +00:00
Ruben Brunk
441aea7719 Merge "camera2: Adding legacy mode support for teeing to Video." 2014-06-17 22:59:52 +00:00
Colin Cross
7e31bb6c76 am 0ead2a00: am 15967d0a: am 88b37eda: Merge "Fix reading memory usage for 64-bit processes"
* commit '0ead2a00f4eebb36c2c1206e156fbf1543ee0dd6':
  Fix reading memory usage for 64-bit processes
2014-06-17 22:56:49 +00:00
Ruben Brunk
d85e1a6ced camera2: Adding legacy mode support for teeing to Video.
Bug: 15116722

- Select intermediate GL texture size based on available
  preview dimensions.
- Fixes for configure deadlock.
- Fixes for jpeg capture.

Change-Id: I3f665230defdad718de40494dd67fda5ea432bfb
2014-06-17 22:56:36 +00:00
Brian Attwell
9cf22309e0 Merge "Remove FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET" 2014-06-17 20:49:29 +00:00
Brian Attwell
2aa1549f4d Remove FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
Reasons

1) Now that QC is no longer a modal dialog, it doesn't make sense for
to use FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET. We want QC to stick around
inside the back stack.

2) FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET is deprecated. It now behaves
completely differently than it used to. It now acts the same as
FLAG_ACTIVITY_NEW_DOCUMENT.

Bug: 15693551
Change-Id: Ia22fe04d7a91876061498bf1f098755b54199704
2014-06-17 21:25:06 +00:00
John Reck
b65f0d5f08 Merge "Fix setLayerType" 2014-06-17 21:13:21 +00:00
John Reck
ca0608af3c Fix setLayerType
Bug: 15682142

 mLayerType/getLayerType() can modify the display list, so invalidate()
 is necessary

Change-Id: I1d323c1bd4356b31159b51d4299de099e53a0389
2014-06-17 14:39:15 -07:00
Christopher Tate
5b2034e2cc Merge "Switch everything to scheduled jobs" 2014-06-17 20:55:27 +00:00
Alan Viverette
1f681448c6 Merge "Add attributes and accessors for tinting View drawables" 2014-06-17 20:42:58 +00:00
Alan Viverette
911743652b Add attributes and accessors for tinting View drawables
Also cleans up handling in setters for managed drawables.

BUG: 15391544
Change-Id: Idc08f7eaea0050feb6403566985a6d58185b81f8
2014-06-17 14:51:45 -07:00
Chris Craik
96401d9995 Merge "Added primitive parameters to various functions requiring rectangles." 2014-06-17 20:42:58 +00:00
Chris Craik
75af3f3c96 Merge "Add abort logging for huge scales and tessellation recursion depth" 2014-06-17 20:49:29 +00:00
Antonio Calabrese
2460958133 Added primitive parameters to various functions requiring rectangles.
Change-Id: I5a2678fa989f0ff34404b8236787a8153b05f113

bug:14322352
2014-06-17 20:17:59 +00:00
Derek Sollenberger
4b0959d8db Refactor android.graphics.Picture JNI bindings.
This is the first CL in a series of CLs to refactor the Graphics JNI bindings.

bug: 15672762
Change-Id: I1455fa1330c7426407c06eeaad81ad37a57373b1
2014-06-17 15:31:43 -04:00
Robert Ly
1d3f9b7250 am 0bfee5a4: Merge "fix javadocs b/14414251" into klp-modular-dev
* commit '0bfee5a4905a14a318731661214558792abc2f7d':
  fix javadocs b/14414251
2014-06-17 19:26:48 +00:00
Chris Craik
fe02b4b344 Add abort logging for huge scales and tessellation recursion depth
bug:15615144
Change-Id: I275732eb97f9d5179beed23eecd2ee3cc7112e10
2014-06-17 12:23:29 -07:00
Christopher Tate
cf1a2f73fc Switch everything to scheduled jobs
Everything that used the IdleMaintenance APIs/broadcasts gets to use the
spiffy new JobScheduler instead.  Hooray!

On top of that, the now-obsolete "idle maintenance" APIs are now gone
entirely.  Double hooray!

Bug 14993295

Change-Id: I5fb67c296ca8cd0ba8a2c8760a0f0d9d962d813b
2014-06-17 12:14:45 -07:00
Andy McFadden
e8b1aeb51e Add two new display info fields
This adds SurfaceFlinger's app VSYNC offset and buffer deadline
values to DisplayInfo.  The values will be available to apps
through queries on a Display object (currently hidden).

Bug 14612039

Change-Id: I48760f58a9d74d99651b02a9d595f420410f2bb5
2014-06-17 11:13:58 -07:00
Brian Colonna
1fbaca86b7 Added startWithoutUi() call to Face Unlock AIDL interface.
This is being done in support of preview-less Face Unlock (b/14433919).  Nothing
is calling this function yet, but it will be called from a trustlet to tell Face
Unlock to authenticate in the background.

If this is committed before the corresponding Face Unlock change, Face Unlock
will not build because it would not be implementing this function, and it must
implement all functions in the interface in order to build.

Change-Id: I4aaea78d58cc5f1f7e13cb981fb9a217cd901496
2014-06-17 13:20:19 -04:00
Griff Hazen
6762a3351c am 831ca9d3: Document best practices for display intent activities.
* commit '831ca9d3bc73e37f555f6c07babde270f83044fe':
  Document best practices for display intent activities.
2014-06-17 16:20:30 +00:00
Jason Monk
d7b8621bde Change lock-task DPM authorization to packages
Switch the DPM lock-task authorization to be controlled by a package
rather than a component.

Change-Id: Ife9bed068f31ff2449b4451ab69d3586a3f09d89
2014-06-17 09:24:18 -04:00
Kenny Guy
c0154537b0 Update API for launcher apps to use abstract class.
Leaving old API behind until unbundled launcher
has been updated.

Bug: 15518265
Change-Id: Ic26878224df51093d7d08651adda08f760b405be
2014-06-17 12:22:39 +01:00
Griff Hazen
831ca9d3bc Document best practices for display intent activities.
Bug: 15412926

Change-Id: I1c3082dfde85cd03ffc97be6383a0608f925edcf
2014-06-17 00:38:38 -07:00
Richard Coles
2995606963 Merge "Connect WebView Async Cookie APIs" 2014-06-17 05:13:46 +00:00
Hector Dearman
24a11d311c Connect WebView Async Cookie APIs
Bug: 14379829
Change-Id: I6b0e0644153a805eccb48d30b0ad3e91babd8093
2014-06-17 15:32:07 +01:00
George Mount
4d994261e9 Fix NPE when shared elements are empty.
Bug 15608384

Change-Id: Id7ae383873d8d09b51d9c680942076a3a8ffea5b
2014-06-17 20:45:31 +00:00
George Mount
d4c3c91dd0 Allow antroid.transition Transitions in fragments.
Bug 15274281
Bug 15189829

Change-Id: I8e2974430b84a611866fe20afe1f5745e803683f
2014-06-17 20:24:16 +00:00
Baligh Uddin
f67ce362cf Merge "Import translations. DO NOT MERGE" 2014-06-17 05:00:50 +00:00
Anish Athalye
a4649d95fe Merge "Implement Paint.breakText() using Minikin" 2014-06-17 04:50:03 +00:00
Robert Ly
31f8d22ec5 am 1d3f9b72: am 0bfee5a4: Merge "fix javadocs b/14414251" into klp-modular-dev
* commit '1d3f9b72505cdf72889f9f1984005097ed35d314':
  fix javadocs b/14414251
2014-06-17 19:31:43 +00:00
George Mount
13ccb79b34 Fix when allowExitOverlap is true to start entering as soon as possible
Bug 15474908

Change-Id: I6d2e8f940c9ed8427183b58a712c244c9940d535
2014-06-17 17:59:54 +00:00
George Mount
b963e13913 Merge "Better coordination of transition destination." 2014-06-17 04:50:03 +00:00
George Mount
67d924341a Better coordination of transition destination.
Bug 15470128
Bug 15470558

Wait for shared element destinations to be complete
before sending it to the calling activity.

Don't allow layout between setting final destination
and the transition values capture.

Use snapshots to hold the final position while waiting
for the called Activity to take the shared element.

Fixed problem with exiting views sometimes disappearing
when exiting.

Change-Id: Ibc655f7bb9e8dd6e8a15778c96931e3d845cc15c
2014-06-17 10:26:50 -07:00
Griff Hazen
ea54579b54 am 6762a335: am 831ca9d3: Document best practices for display intent activities.
* commit '6762a3351ce84ec31ce7cd54c952ddb65a108958':
  Document best practices for display intent activities.
2014-06-17 16:25:10 +00:00
Alex Klyubin
fd445e0336 Merge "Add PSKKeyManager to enable the use of TLS-PSK." 2014-06-17 04:56:28 +00:00
Robin Lee
b12f1778d6 Merge "Publish DevicePolicyManager CA certificate APIs" 2014-06-17 05:12:50 +00:00
John Reck
9d7ee60e5e Remove incorrect isEnabled() check
Bug: 15683945

 invokeFunctor() does not require isEnabled() to be true
 to execute. Specifically it does not care if HardwareRenderer
 has a Surface or not, as it will fall back to a pbuffer surface
 if available. If there is no context at all, it will invoke
 with kModeProcessNoContext.

Change-Id: Ie6abe566b92c8fa33bb7a673fc3b9fa9ce913446
2014-06-17 09:01:33 -07:00
Brian Attwell
02bc31e7b3 setSelectedHeader() when switching to fragment
Without this change, passing a EXTRA_SHOW_FRAGMENT value
for a two panel preferences activity will cause the correct
fragment to be shown. However, it will not cause the
correct header to be highlighted.

Bug: 15675746
Bug: 5045558
Change-Id: I18d8e15dd104e8f39ae1ccbb11ab17fd1bf7462e
2014-06-17 04:43:10 +00:00