139708 Commits

Author SHA1 Message Date
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
Wonsik Kim
94cdec6e98 Merge "TvInputHardwareManager: Fix Integer conversion error" 2014-06-17 20:49:29 +00:00
Wonsik Kim
e7ae0ce53b TvInputHardwareManager: Fix Integer conversion error
Change-Id: Ice85ef840dd7fa40faaf2fdfa359ee419d3a36e8
2014-06-19 00:48:35 +09:00
Brian Colonna
a420a330a9 Merge "Added startWithoutUi() call to Face Unlock AIDL interface." 2014-06-17 21:13:21 +00:00
Griff Hazen
f546eeb1ed Merge "DO NOT MERGE Reduce chance of notification listener dropped messages." into klp-modular-dev 2014-06-17 20:49:29 +00: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
David Christie
3afc6fa0a0 Merge "Update Location documentation for altitude (WGS84 instead of sea level)." 2014-06-17 20:49:29 +00:00
Winson Chung
1275842377 Merge "Re-enabling task based filtering in Recents using package name." 2014-06-17 20:49:29 +00:00
Winson Chung
e0e45bc26d Re-enabling task based filtering in Recents using package name.
- Also front-loading creating the new thumbnail when animating up from Recents
2014-06-18 00:59:29 +00:00
Winson Chung
06795630f6 Adding status bar scrim, reducing extra work updating configuration values.
- Making the app icon larger for tapping
2014-06-17 16:37:56 -07:00
Winson Chung
90dcb62575 Merge "Adding status bar scrim, reducing extra work updating configuration values." 2014-06-17 20:55:27 +00:00
Winson Chung
95483fd2d3 Merge "Ensuring that null thumbnails have an opaque background." 2014-06-17 22:59:52 +00:00
Jorim Jaggi
16b414f46f Merge "Fix bug when Keyguard gets hidden." 2014-06-17 22:59:52 +00:00
Alan Viverette
e35a0b30ac Merge "Throw exception when a bad adapter is passed to Spinner" 2014-06-17 22:59:52 +00:00
Alan Viverette
d52697784f Throw exception when a bad adapter is passed to Spinner
BUG: 13570583
Change-Id: Ia38fa907bad7634f79d0da15b885905de23c9c46
2014-06-17 16:43:45 -07:00
Alan Viverette
93afb5f1d9 Update accessibility focus color
BUG: 15453163
Change-Id: I1504246cfdf7c4af2c9817c47b6bb71f7dc53573
2014-06-17 16:27:40 -07:00
Jorim Jaggi
53c68a44ac Fix bug when Keyguard gets hidden.
We make sure in Keyguard that we only hide ourselves in
startKeyguardExitAnimation ourselves when we requested a hide.

In addition, this change also fixes a bug in WindowAnimator that
it should only call startKeyguardExitAnimation when Keyguard actually
requested a hide.

Bug: 15676717
Change-Id: I2279cccb9916985b7e9a2f41137878be5782cb9c
2014-06-17 15:28:05 -07:00
Jeff Sharkey
8fb63d5a5a Merge "Plumb split APKs into public API." 2014-06-17 20:55:27 +00:00
Christoph Studer
5ced68ba2f am cf24e6de: SysUI: Hide grouped notifications
* commit 'cf24e6de68cff14970e57069febd5d6c41c264f4':
  SysUI: Hide grouped notifications
2014-06-17 23:20:54 +00:00
Christoph Studer
c08cd7cc65 SysUI: Hide grouped notifications
Drop grouped notification received from NoMan.

Bug: 15188947
Change-Id: I8bdb99abd216d771d435d18b2018c843e7750d18
2014-06-17 23:14:12 +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
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
Andy McFadden
50b9fcfae1 Merge "Add two new display info fields" 2014-06-17 20:49:29 +00:00
John Reck
ce9f308063 Fix dirty calculation for layer updates
Bug: 15682142

 Defer early return of alpha <= 0 for damage accumulation until
 popTransform() so that layer updates will be performed regardless
 of alpha

Change-Id: Ifb94dd3ed2d96d610e6f2f3071933903016273a5
2014-06-18 07:19:50 -07:00
John Spurlock
4193730ad8 Merge "Battery saver notifications should be public." 2014-06-17 21:13:21 +00:00
John Spurlock
a0388bb6ff Battery saver notifications should be public.
Bug:15713445
Change-Id: I2ed0e47bcc3120baf85c8529b7ef15756e215ea7
2014-06-18 09:40:00 -04:00
Jason Monk
ebf55ad6de Merge "Change lock-task DPM authorization to packages" 2014-06-17 21:07:42 +00:00
Ihab Awad
87161a7667 Merge "Add methods to TelephonyManager for Subscription management (1/3)" 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
Igor Murashkin
4961bc88d7 camera2: Map camera characteristics in the managed layer
Change-Id: Ic86c8df3d703e7cf89caa856387e2c0a1b977401
2014-06-17 22:55:16 +00:00
Ihab Awad
c35ad0252d Add methods to TelephonyManager for Subscription management (1/3)
As part of the effort to permit third-party suppliers of telephone
connectivity, we permit clients of TelephonyManager to obtain the
currently valid Subscription objects describing these suppliers. The
Subscriptions are intended to be self-describing such that an end-user
can choose from among them based on the information they contain. One
of these objects may then be attached to an ACTION_DIAL or ACTION_CALL
Intent to represent the end-user's choice of how to make a call.

Change-Id: I2ad1930079042d7bfe762b47c22f0538f7403bff

Conflicts:
	telephony/java/com/android/internal/telephony/ITelephony.aidl

Conflicts:
	telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
2014-06-17 15:08:13 -07:00
fafaisland
5834ee7503 Merge "Add READ_ALL_VOICEMAIL permission in the core" 2014-06-17 21:46:58 +00:00
fafaisland
88fb96505c Add READ_ALL_VOICEMAIL permission in the core
Bug:15695227

Change-Id: I96bebcd949293679d938b2ec290820d4ed9035fa
2014-06-17 15:51:58 -07:00
Stephen Hines
6b605045b1 Merge "Switch from Droid -> Noto for RS fonts." 2014-06-17 20:55:27 +00:00
Christopher Tate
d7e1685128 Merge "Use the right package name for MountServiceIdler" 2014-06-17 21:46:58 +00:00
Christopher Tate
f8ad7a9094 Use the right package name for MountServiceIdler
Manifest package != .java "package" decl for system process entities.

Change-Id: I162f8fed6b62b27d056049b55f77e776090a4c80
2014-06-17 15:07:01 -07:00
Robin Lee
6d3912e2ef Merge "Revert "Publish DevicePolicyManager CA certificate APIs"" 2014-06-17 21:55:55 +00:00
Robin Lee
2b5e917026 Revert "Publish DevicePolicyManager CA certificate APIs"
This reverts commit 5260bf69946563dc47c17e7441b352adfce384c5.

Change-Id: I5e44fdac8a7375576b25171f58e31a1fa0e3c569
2014-06-17 22:12:28 +00:00
Svetoslav
6170cca05e Not touchable windows should not hide windows behind
When computing which windows to report for accessibility we were not
reporting windows behind non touchable ones. However, if a window is
not-touchable the touch events go to the window behind it. Hence, a
not-touchable window should not affect the reproted windows for
accessibility.

Change-Id: I213a32b33b0986a73d8bbdf0a3e40e6ca6e4261b
2014-06-17 14:54:39 -07: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
David Christie
552bd68c2c Update Location documentation for altitude (WGS84 instead of sea level).
Change-Id: I9531fba75bc1fee7d0e7c1dc179e3d05fb3e8a42
2014-06-17 13:46:30 -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
Alan Viverette
1f681448c6 Merge "Add attributes and accessors for tinting View drawables" 2014-06-17 20:42:58 +00:00