139267 Commits

Author SHA1 Message Date
Craig Mautner
4a9f129874 Close ActivityView and ActivityContainer cleanly.
- Do not call IActivityContainer.release() from
ActivityView.finalize() if it has already been called from
ActivityView.release(). Eliminates IBinder finalized Exception.

- Call ActivityRecord.makeFinishing() before calling ActivityStack.
destroyActivityLocked(). Forces call to scheduleDestroyActivity()
and eventually removeFromHistory(). Otherwise removeFromHistory()
is never called and window manager AppWindowTokens become orphans.

- Defer call to ActivityContainer.detachLocked() until all
activities have finished or timed out. Fixes problem where Display
is removed while activities are still launching.

- Call ActivityStackSupervisor.deleteActivityContainer() when all
activities have finished or timed out. Fixes orphaned
ActivityContainers.

Fixes bug 15450798.
Fixes bug 15484154.
Fixes bug 15383479.
Fixes bug 15316558.
Fixes bug 15168560.
Fixes bug 15143914.

Change-Id: Id3c641976b6f825458690f9ee063c07818b56f23
2014-06-11 16:33:00 -07:00
Scott Main
55c11af78a Merge "reorg the SDK setup docs to streamline setup for all variations. Move ADT plugin to the ADT help doc and combine the three setup guides into one page that is dynamic based on a URL parameter." into klp-modular-dev 2014-06-11 21:23:31 +00:00
Scott Main
4795031492 reorg the SDK setup docs to streamline setup for all variations.
Move ADT plugin to the ADT help doc and combine the three setup guides
into one page that is dynamic based on a URL parameter.

Change-Id: If8a8855bdb8e8ec9b0eefedd35ae24ea60497741
2014-06-11 20:17:05 -07:00
Craig Mautner
28084383c1 am e33010a2: Merge "Add NO_ANIMATION flag to ActivityView Intents." into klp-modular-dev
* commit 'e33010a261d881426ce0af9a9e2177137ec3f6b9':
  Add NO_ANIMATION flag to ActivityView Intents.
2014-06-11 17:42:06 +00:00
Calin Juravle
cdd1fd7a8f am b0492d69: am 16719591: Merge "Shrink profiler.start-immediately to fit in the maximum property size"
* commit 'b0492d6943fc590c2569dd2fc393db54a73986d3':
  Shrink profiler.start-immediately to fit in the maximum property size
2014-06-11 17:32:50 +00:00
Calin Juravle
5fc4e48742 am b0f59cdc: am 2f84b69b: Merge "Improved profile.start-immediately comment"
* commit 'b0f59cdcb4d2205faa3811277163bbf215b68dfc':
  Improved profile.start-immediately comment
2014-06-11 17:32:40 +00:00
Calin Juravle
b0492d6943 am 16719591: Merge "Shrink profiler.start-immediately to fit in the maximum property size"
* commit '16719591f4a6b2139b1f3555dcde92d35f488b6a':
  Shrink profiler.start-immediately to fit in the maximum property size
2014-06-11 17:28:33 +00:00
Calin Juravle
b0f59cdcb4 am 2f84b69b: Merge "Improved profile.start-immediately comment"
* commit '2f84b69bf5afcf67469704e30866067b770ae786':
  Improved profile.start-immediately comment
2014-06-11 17:28:29 +00:00
Winson Chung
ec464ed728 Merge "Clipping the task bar against the task view." 2014-06-11 08:41:11 +00:00
Ido Ofir
7bb38dbb3c Merge "Adding permission for launching the trust agent settings." 2014-06-12 05:34:42 +00:00
Ido Ofir
29372ab484 Adding permission for launching the trust agent settings.
Change-Id: Iac5bde57ca8d465fdf0fa5848d6716fc88801aeb
2014-06-13 14:52:19 -07:00
Andrew Solovay
a0f0c783d0 am 79130d1d: am 81be9239: am bd8ca9f9: am 4737af8b: docs: Added "Verifying for ART" to TOC.
* commit '79130d1de32380f346a95d277dc8403b37ad97b9':
  docs: Added "Verifying for ART" to TOC.
2014-06-13 21:50:33 +00:00
Qiwen Zhao
677d4ae6ea Merge "Merge commit '0f3d3dd2'" 2014-06-13 21:09:46 +00:00
Qiwen Zhao
220cad6d97 Merge commit '0f3d3dd2'
Conflicts:
	services/core/java/com/android/server/am/ActivityStack.java
	services/core/java/com/android/server/am/ActivityStackSupervisor.java
2014-06-13 14:43:51 -07:00
Zhijun He
0cb41fd5ad Merge "Camera2: Add rollingShutterSkew tag" 2014-06-13 21:09:46 +00:00
Zhijun He
0bda31afe0 Camera2: Add rollingShutterSkew tag
Change-Id: Icbedaeda9fc64a9dda509493ad9d14569c56cd18
2014-06-13 14:38:39 -07:00
Baligh Uddin
e31d9438db Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-12 21:07:47 +00:00
Baligh Uddin
0ce9237391 Import translations. DO NOT MERGE
Change-Id: Ic15fd186de8247f8a5cad5cce87218ebec6cd81e
Auto-generated-cl: translation import
2014-06-13 07:23:57 -07:00
Baligh Uddin
da8a64b80b Import translations. DO NOT MERGE
Change-Id: Ibdd11bf4b5a0ebb0394400688dd0e38a70660a62
Auto-generated-cl: translation import
2014-06-13 07:20:46 -07:00
Eino-Ville Talvala
fb587f4f6b Merge "camera2 docs: Fix instructions for using SurfaceView." into lmp-preview-dev 2014-06-12 17:09:07 +00:00
Eino-Ville Talvala
5ae1ca5b69 camera2 docs: Fix instructions for using SurfaceView.
Bug: 15597178
Change-Id: I802369e61725451ddd8df855c384608c80e12693
2014-06-12 17:02:17 -07:00
Sol Boucher
b8cee5175d camera2: Remove stray </p> in CameraDevice#createCaptureSession
This was causing strange indentation.
The change also clarifies how to get the supported output sizes in the
ImageReader flow: Although the doc (correctly) instructed the developer to use
StreamConfigurationMap#getOutputSizes(int) with an ImageReader, this instruction
appeared after the bulleted list of output types. Since all other items in that
list specify that getOutputSizes(Class<?>) should be used, the reader shouldn't
be expected to read beyond the list only in this specific case.

Bug: 15574400
Change-Id: Id952b46ae52322d75abbcaffea678d5ba50b22a5
2014-06-12 17:39:11 +00:00
Ihab Awad
879d8b3308 Merge "DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)" into lmp-preview-dev 2014-06-12 17:09:07 +00:00
Craig Mautner
e33010a261 Merge "Add NO_ANIMATION flag to ActivityView Intents." into klp-modular-dev 2014-06-11 08:41:11 +00:00
Fabrice Di Meglio
2b3818e9a8 Merge "Fix bug #15414236 Define a framework theme for system settings" 2014-06-11 08:41:11 +00:00
Fabrice Di Meglio
fb82d4837f Fix bug #15414236 Define a framework theme for system settings
- add missing Material preferencePanelStyle / preferenceHeaderPanelStyle /
preferenceListStyle / preferenceFragmentListStyle / preferenceFragmentPaddingSide
- add needed material dimens
- fixed PreferenceFragment.Material
- done it for the normal and light theme

Change-Id: Ib25288a499ab6b1ee42b2d0c72a2e5a1be084e5f
2014-06-13 14:15:34 -07:00
Wink Saville
24683f1e15 Merge "Merge kwd to master" 2014-06-12 05:34:42 +00:00
Wink Saville
fb40dd4d00 Merge kwd to master
Add initial IMS and MSIM support from klp-wireless-dev-mirror

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
2014-06-13 13:30:57 +00:00
Przemyslaw Szczepaniak
6dfa6e2a9b Fix typo and broken sdk build.
Change-Id: Icd1641955d1ca88396219db05312a4a9fd77ea80
2014-06-13 13:43:26 +01:00
Alan Viverette
f39fa37612 Merge "Only start AnimationDrawable on visibility change when animating" 2014-06-12 21:07:47 +00:00
Christian Robertson
3fe7830f20 am 48a85854: Merge "New geometric system bar icons" into lmp-preview-dev
* commit '48a85854d6b7b3d5092808d7d4c957faf692181d':
  New geometric system bar icons
2014-06-13 20:50:08 +00:00
Christian Robertson
3aedfc2192 am a99b2404: Merge "Tunings for touch ripple animations" into lmp-preview-dev
* commit 'a99b2404caae8f29cd2bf3b13c8a41b320205aee':
  Tunings for touch ripple animations
2014-06-13 20:50:02 +00:00
Alan Viverette
97fb0aa509 Only start AnimationDrawable on visibility change when animating
BUG: 15532494
Change-Id: I5663fc86e64c34db84385238865e08297fb1f817
2014-06-13 13:43:35 -07:00
Selim Gurun
4ffd507e67 am a5aa4b48: Merge "Address the API review" into lmp-preview-dev
* commit 'a5aa4b4879761a93c936303cf5c34d499aa0fe76':
  Address the API review
2014-06-13 19:25:35 +00:00
Winson Chung
e4f7224d29 am 870b4c31: Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)
* commit '870b4c31c58aefaed1de3912e7dfe0fc6cc46f17':
  Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)
2014-06-13 19:20:47 +00:00
Winson Chung
47f166dd8c Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)
Change-Id: Ie25f0037a4f8bf8c3069d50e3a0ad670125be9a1
2014-06-13 16:01:05 +00:00
Christian Robertson
38187927cd Merge "Tunings for touch ripple animations" into lmp-preview-dev 2014-06-12 21:07:47 +00:00
Christian Robertson
4b65f0ebee Tunings for touch ripple animations
Added a log based interpolator (it's faster in the beginning and smoother
at the finish than the decelerate interpolator)

Scaled the timing and opacity of the falloff ripple based on the size
of the outer bounding radius. Backing circles aren't as apparent for
Smaller touch targets.

BUG: 15591274
2014-06-13 00:19:40 +00:00
Winson Chung
4b5b892ca8 Merge "Enabling Home->Recents transition." 2014-06-12 17:09:07 +00:00
Mike Lockwood
94b59de852 BluetoothAvrcpController: Move AVRCP controller support to new BluetoothProfile subclass
Change-Id: Id988040a7ce623ed68e0349920301ff48db1fbce
2014-06-13 09:06:36 -07:00
Hemant Gupta
3b76a4b2b6 Add Support for AVRCP Controller Feature
- Provide support for AVRCP Controller CAT 1 and CAT 2
    passthrough commands.

Change-Id: Iefbb7fcd6273c49dc8a305b7a25ec6e94c60a5a9
2014-06-13 09:06:36 -07:00
Mike Lockwood
2263dd1ddd BluetoothA2dpSink: Add new BluetoothProfile subclass for A2DP sink
Change-Id: I09d5cb8fdaea4c4828f333949b7c18deffd22722
2014-06-13 09:06:35 -07:00
Mike Lockwood
0b611b5f3b Add BluetoothHeadsetClientCall.toString method
Change-Id: I8a95fda4f67daa09dfefedffec804c06af53ebe0
2014-06-13 09:06:35 -07:00
Mike Lockwood
cf916d3467 Rename BluetoothHandsfreeClient to BluetoothHeadsetClient
This makes our terminology consistent with the existing BluetoothHeadset profile

Also updated arguments to Context.bindService()

Change-Id: I27cc5a6fde256b1f5dccca53a7a15ec8f58691c2
2014-06-13 09:06:35 -07:00
Hemant Gupta
7aca90fcc0 Bluetooth: Add support for HFP Client role.
Implementation changes in frameworks to support
HFP Client role.

Change-Id: Ifb10527cd6c1301297cae4f923b20734af672034
2014-06-13 09:06:35 -07:00
Baligh Uddin
cee3edd125 am 408b5adc: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-preview-dev
* commit '408b5adceb2ead4c773c5df0906bfe965e0991e9':
  Import translations. DO NOT MERGE
2014-06-13 14:28:16 +00:00
Baligh Uddin
20e1f39d61 am feed8571: (-s ours) Import translations. DO NOT MERGE
* commit 'feed8571eeea3d863c7e9c9a5964a68fe3b4692d':
  Import translations. DO NOT MERGE
2014-06-13 14:28:10 +00:00
Kenny Guy
17c9d69d70 Don't remove a user already being removed.
Check if UserManager is already removing
a user before starting to remove it.

Bug: 15583858
Change-Id: If9763e9b47355d9ae35cc621367c74725029aa90
2014-06-13 14:10:29 +01:00
Selim Gurun
4473427f85 Merge "Address the API review" into lmp-preview-dev 2014-06-12 05:34:42 +00:00
Selim Gurun
ee89ab4dd5 Address the API review
Bug: 15432556

The api council asks to change the interface to an abstract class
and clarify the clearClientCertPreferences api. This change addresses
these.

Change-Id: I7979788c7c041bacbfef5ea4d94309f91279ef22
2014-06-13 10:53:55 -07:00