OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 06ae68aa: am 902ec1c7: Merge "Fix framestats docs ordering" into mnc-preview-docs
John Reck [Fri, 5 Jun 2015 02:27:26 +0000 (02:27 +0000)]
am 06ae68aa: am 902ec1c7: Merge "Fix framestats docs ordering" into mnc-preview-docs

* commit '06ae68aac222e1ba06169c5125e0689a30d13b09':
  Fix framestats docs ordering

9 years agoam cae82287: am 6bffab80: Merge "Docs: Fixes several typos on Android Studio index...
David Friedman [Fri, 5 Jun 2015 02:18:53 +0000 (02:18 +0000)]
am cae82287: am 6bffab80: Merge "Docs: Fixes several typos on Android Studio index.html page." into mnc-preview-docs

* commit 'cae82287c704c000d304fdd3447dd693e2801c14':
  Docs: Fixes several typos on Android Studio index.html page.

9 years agoam 392f5321: am 5c117ae1: Merge "Fix dependency specs for data binding." into mnc...
Dirk Dougherty [Fri, 5 Jun 2015 02:18:42 +0000 (02:18 +0000)]
am 392f5321: am 5c117ae1: Merge "Fix dependency specs for data binding." into mnc-preview-docs

* commit '392f532104aeba2d395bdf940cc08a1247bd3de5':
  Fix dependency specs for data binding.

9 years agoam 93634166: am d88e4d50: Merge "ActivityView: set surface on a background thread...
Filip Gruszczynski [Fri, 5 Jun 2015 02:18:35 +0000 (02:18 +0000)]
am 93634166: am d88e4d50: Merge "ActivityView: set surface on a background thread." into cw-d-mr1-dev

* commit '93634166c8c78bdeccf045c62a0f601dceed74e3':
  ActivityView: set surface on a background thread.

9 years agoam 78ab4c38: am 6042f351: Merge "Rework systrace analysis documentation" into mnc...
Chris Craik [Fri, 5 Jun 2015 02:18:29 +0000 (02:18 +0000)]
am 78ab4c38: am 6042f351: Merge "Rework systrace analysis documentation" into mnc-preview-docs

* commit '78ab4c3867af40b512d2e0c046abd5c8b040d05f':
  Rework systrace analysis documentation

9 years agoam ab1fb237: am 79106d1c: docs: Remove ADT-1 RMA form link
Joe Fernandez [Fri, 5 Jun 2015 02:18:23 +0000 (02:18 +0000)]
am ab1fb237: am 79106d1c: docs: Remove ADT-1 RMA form link

* commit 'ab1fb23712c66286285ffdce2d1488c41565650f':
  docs: Remove ADT-1 RMA form link

9 years agoMerge "Fix Toolbar is not refreshed after Select All" into mnc-dev
Clara Bayarri [Fri, 5 Jun 2015 02:05:43 +0000 (02:05 +0000)]
Merge "Fix Toolbar is not refreshed after Select All" into mnc-dev

9 years agoFix Toolbar is not refreshed after Select All
Clara Bayarri [Tue, 2 Jun 2015 23:46:29 +0000 (00:46 +0100)]
Fix Toolbar is not refreshed after Select All

Bug: 21361248
Change-Id: Iab913bd610c208e5881d3d0eb5574efdf9eb5d92

9 years agoMerge "AAPT2: Add manifest merging" into mnc-dev
Adam Lesinski [Fri, 5 Jun 2015 01:35:13 +0000 (01:35 +0000)]
Merge "AAPT2: Add manifest merging" into mnc-dev

9 years agoMerge "Camera2: implement high speed video APIs" into mnc-dev
Zhijun He [Fri, 5 Jun 2015 01:07:51 +0000 (01:07 +0000)]
Merge "Camera2: implement high speed video APIs" into mnc-dev

9 years agoAAPT2: Add manifest merging
Adam Lesinski [Wed, 20 May 2015 22:24:01 +0000 (15:24 -0700)]
AAPT2: Add manifest merging

Now that AAPT2 is library-aware, it needs to take care of
all library related work, including merging manifests.
The logic was taken from the current Java ManifestMerger.

Change-Id: Id93f713f27ae8617922bf89e325e45be9f863c06

9 years agoMerge "Make ListView's EdgeEffect respect the clipToPadding flag" into mnc-dev
Doris Liu [Fri, 5 Jun 2015 00:57:30 +0000 (00:57 +0000)]
Merge "Make ListView's EdgeEffect respect the clipToPadding flag" into mnc-dev

9 years agoMerge "Fix drawer selection to match Material spec." into mnc-dev
Ben Kwa [Fri, 5 Jun 2015 00:51:53 +0000 (00:51 +0000)]
Merge "Fix drawer selection to match Material spec." into mnc-dev

9 years agoMake ListView's EdgeEffect respect the clipToPadding flag
Doris Liu [Thu, 4 Jun 2015 18:11:14 +0000 (11:11 -0700)]
Make ListView's EdgeEffect respect the clipToPadding flag

This CL sets the position of EdgeEffect based on whether
clipToPadding is enabled. When enabled, the EdgeEffect will be
bounded to the padding. Otherwise, it will be drawn at the view's
bounds.

Bug: 21595866
Change-Id: I3968e5b8d3a75ce2d7607e2037bc372024694d5b

9 years agoMerge "Update the pdfium library - framework" into mnc-dev
Svet Ganov [Fri, 5 Jun 2015 00:49:42 +0000 (00:49 +0000)]
Merge "Update the pdfium library - framework" into mnc-dev

9 years agoMerge "Separate the SelectionActionMode into Insertion and Selection." into mnc-dev
Clara Bayarri [Fri, 5 Jun 2015 00:40:41 +0000 (00:40 +0000)]
Merge "Separate the SelectionActionMode into Insertion and Selection." into mnc-dev

9 years agoMerge "TIF: Add sanitization code for the current position" into mnc-dev
Dongwon Kang [Fri, 5 Jun 2015 00:27:01 +0000 (00:27 +0000)]
Merge "TIF: Add sanitization code for the current position" into mnc-dev

9 years agoTIF: Add sanitization code for the current position
Dongwon Kang [Tue, 2 Jun 2015 06:05:33 +0000 (15:05 +0900)]
TIF: Add sanitization code for the current position

+ More documentation on the currnet position

Bug: 21573422
Change-Id: I51d184d03a61270d3ea36b36f880f1f052a99cd1

9 years agoMerge "Always have a handler for PendingIntents sent in the system process" into...
Wale Ogunwale [Fri, 5 Jun 2015 00:23:25 +0000 (00:23 +0000)]
Merge "Always have a handler for PendingIntents sent in the system process" into mnc-dev

9 years agoMerge "Move NotoSansSymbols higher than CJK in the fallback chain." into mnc-dev
Roozbeh Pournader [Thu, 4 Jun 2015 23:45:26 +0000 (23:45 +0000)]
Merge "Move NotoSansSymbols higher than CJK in the fallback chain." into mnc-dev

9 years agoMerge "Updates AlarmClock intent API." into mnc-dev
Johnson Hsieh [Thu, 4 Jun 2015 23:34:35 +0000 (23:34 +0000)]
Merge "Updates AlarmClock intent API." into mnc-dev

9 years agoFix drawer selection to match Material spec.
Ben Kwa [Thu, 4 Jun 2015 16:10:05 +0000 (09:10 -0700)]
Fix drawer selection to match Material spec.

- highlighted text changed to match the application primary color
- change highlighted background to light gray
- remove highlight icon tinting (provides insufficient contrast against
  the new light gray background)

BUG=18685226

Change-Id: I4040fa951fd2822cea324e0bd1924d10024b6a11

9 years agoMerge "Report EditorInfo#packageName based on the actual uid." into mnc-dev
Yohei Yukawa [Thu, 4 Jun 2015 23:12:02 +0000 (23:12 +0000)]
Merge "Report EditorInfo#packageName based on the actual uid." into mnc-dev

9 years agoMerge "Change option label from "Duplex" to "Two-sided"" into mnc-dev
Makoto Onuki [Thu, 4 Jun 2015 22:46:33 +0000 (22:46 +0000)]
Merge "Change option label from "Duplex" to "Two-sided"" into mnc-dev

9 years agoMerge "Manually jump ripples when preemptively aborting RT animation" into mnc-dev
Alan Viverette [Thu, 4 Jun 2015 22:41:15 +0000 (22:41 +0000)]
Merge "Manually jump ripples when preemptively aborting RT animation" into mnc-dev

9 years agoMove NotoSansSymbols higher than CJK in the fallback chain.
Roozbeh Pournader [Thu, 4 Jun 2015 22:22:11 +0000 (15:22 -0700)]
Move NotoSansSymbols higher than CJK in the fallback chain.

This makes sure that symbol characters who have both an alternative
or "full-width" version in the CJK fonts and a more regular version
in the symbols font get the default or "half-width" version by
default in non-CJK locales.

This is not a complete fix: such "full-width" symbol characters only
exist in the Simplfied Chinese font for now, which means in
Traditional Chinese, Japanese, and Korean locales, they characters
would now appear "half-width", which *may* be sub-optimal. The
complete fix would make sure the ones that actually need to be
"full-width" in TC/J/K are also included in the TC/J/K font.

Bug: 21525318
Bug: 21525012
Bug: 21524421
Bug: 21521330
Bug: 21520316
Bug: 21518544
Bug: 21517912
Bug: 21503807
Bug: 21502245
Bug: 21501669
Bug: 21525905
Bug: 21524018
Bug: 21503952
Bug: 21502678
Change-Id: I93cf7119b45ed3c080cd39d631a687e0ef9fd8ce

9 years agoManually jump ripples when preemptively aborting RT animation
Alan Viverette [Thu, 4 Jun 2015 22:33:52 +0000 (15:33 -0700)]
Manually jump ripples when preemptively aborting RT animation

Bug: 21079749
Change-Id: If79dcef59aba616c0446efc623863f563cb16250

9 years agoMerge "Speed up recents -> app #2" into mnc-dev
Jorim Jaggi [Thu, 4 Jun 2015 22:30:47 +0000 (22:30 +0000)]
Merge "Speed up recents -> app #2" into mnc-dev

9 years agoMerge "Speed up recents -> app" into mnc-dev
Jorim Jaggi [Thu, 4 Jun 2015 22:30:26 +0000 (22:30 +0000)]
Merge "Speed up recents -> app" into mnc-dev

9 years agoCamera2: implement high speed video APIs
Zhijun He [Mon, 1 Jun 2015 23:36:06 +0000 (16:36 -0700)]
Camera2: implement high speed video APIs

Bug: 21442271
Change-Id: Ia0ae5bbd3e8c81bad293c29987301a2457817d12

9 years agoMerge "Export KeyFactory backed by Android Keystore." into mnc-dev
Alex Klyubin [Thu, 4 Jun 2015 22:16:17 +0000 (22:16 +0000)]
Merge "Export KeyFactory backed by Android Keystore." into mnc-dev

9 years agoUpdate the pdfium library - framework
Svet Ganov [Thu, 4 Jun 2015 21:49:16 +0000 (14:49 -0700)]
Update the pdfium library - framework

Change-Id: I4880e9310c02c6e26d4560fb8515f2ce51c597f4

9 years agoMerge "Iterate step of launch & iterate" into mnc-dev
John Reck [Thu, 4 Jun 2015 21:54:07 +0000 (21:54 +0000)]
Merge "Iterate step of launch & iterate" into mnc-dev

9 years agoMerge "Make entering recents a lot faster" into mnc-dev
Jorim Jaggi [Thu, 4 Jun 2015 21:52:00 +0000 (21:52 +0000)]
Merge "Make entering recents a lot faster" into mnc-dev

9 years agoMerge "DO NOT MERGE Fix DropBoxManager.Entry parcels with fds." into mnc-dev
Tim Kilbourn [Thu, 4 Jun 2015 21:40:14 +0000 (21:40 +0000)]
Merge "DO NOT MERGE Fix DropBoxManager.Entry parcels with fds." into mnc-dev

9 years agoMerge "Make IMMS#mSettingsObserver multiuser-aware." into mnc-dev
Yohei Yukawa [Thu, 4 Jun 2015 21:38:09 +0000 (21:38 +0000)]
Merge "Make IMMS#mSettingsObserver multiuser-aware." into mnc-dev

9 years agoDO NOT MERGE Fix DropBoxManager.Entry parcels with fds.
Tim Kilbourn [Tue, 2 Jun 2015 22:57:45 +0000 (15:57 -0700)]
DO NOT MERGE Fix DropBoxManager.Entry parcels with fds.

When the socketpair communication channel was added to
ParcelFileDescriptor, the CREATOR method for DropBoxManager.Entry was
not updated to read the extra fd from the Parcel. This was causing reads
to end too early.

Also removed comments referring to the now-deleted native methods in
the native Parcel implementation.

Change-Id: I49a9691da6ea927382ceb2fcbfdc7985a601111b
(cherry picked from commit ba953230f71e5117d819d9e7153da8304b141695)

9 years agoMerge "Move crypt commands to a different listener in vold" into mnc-dev
Paul Lawrence [Thu, 4 Jun 2015 21:32:14 +0000 (21:32 +0000)]
Merge "Move crypt commands to a different listener in vold" into mnc-dev

9 years agoAdd a missing check for null pointer.
Pavlin Radoslavov [Thu, 4 Jun 2015 18:46:22 +0000 (11:46 -0700)]
Add a missing check for null pointer.

There is a race condition when processing intents inside
PairingCancelHandler.onReceive() that could trigger NPE.
A speculative list of events (untested) that could trigger it:

1. Trigger Pairing Cancel for a Bluetooth device.
2. Turn Off Bluetooth
   This should call CachedBluetoothDeviceManager.onBluetoothStateChanged()
   and should remove the device from (1) from the list of cached devices
3. BluetoothEventManager.PairincCancelHander.onReceive() receives
   an intent about about Pairing Cancel event.
   Within the processing of that intent, cachedDevice.getName()
   is called without checking whether cachedDevice is null.
   In this specific example, cachedDevice could be null because of (2)

Bug: 21368124
Change-Id: I86f5d5287b440d1d2e0fe147278b1c2257902e95

9 years agoMerge "Expose RSA and ECDSA Signature from Android Keystore Provider." into mnc-dev
Alex Klyubin [Thu, 4 Jun 2015 21:19:36 +0000 (21:19 +0000)]
Merge "Expose RSA and ECDSA Signature from Android Keystore Provider." into mnc-dev

9 years agoChange option label from "Duplex" to "Two-sided"
Makoto Onuki [Thu, 4 Jun 2015 21:17:03 +0000 (14:17 -0700)]
Change option label from "Duplex" to "Two-sided"

Bug 21640154

Change-Id: Icab4754e0aeb23fc4da178e7306f5c7a74108c22

9 years agoMerge changes If241e329,Ib69b6987 into mnc-dev
Jeff Brown [Thu, 4 Jun 2015 21:10:57 +0000 (21:10 +0000)]
Merge changes If241e329,Ib69b6987 into mnc-dev

* changes:
  Clarify docs on registerContentObserver.
  Add missing docs to StateSet.

9 years agoMerge "Add carrier package name field to check for carrier vvm app." into mnc-dev
Nancy Chen [Thu, 4 Jun 2015 21:09:38 +0000 (21:09 +0000)]
Merge "Add carrier package name field to check for carrier vvm app." into mnc-dev

9 years agoMerge "Processing non-long clicks on application icon." into mnc-dev
Vadim Tryshev [Thu, 4 Jun 2015 21:07:36 +0000 (21:07 +0000)]
Merge "Processing non-long clicks on application icon." into mnc-dev

9 years agoMerge "Streamline Android Keystore delete entry operation." into mnc-dev
Alex Klyubin [Thu, 4 Jun 2015 21:06:11 +0000 (21:06 +0000)]
Merge "Streamline Android Keystore delete entry operation." into mnc-dev

9 years agoMerge "Reliably delete keys if key generation fails." into mnc-dev
Alex Klyubin [Thu, 4 Jun 2015 21:05:39 +0000 (21:05 +0000)]
Merge "Reliably delete keys if key generation fails." into mnc-dev

9 years agoMerge "Camera: Change origin of poseTranslation." into mnc-dev
Eino-Ville Talvala [Thu, 4 Jun 2015 20:51:52 +0000 (20:51 +0000)]
Merge "Camera: Change origin of poseTranslation." into mnc-dev

9 years agoMerge "Ensure RenderScript tracing is always balanced via try/finally" into mnc-dev
Chris Craik [Thu, 4 Jun 2015 20:47:33 +0000 (20:47 +0000)]
Merge "Ensure RenderScript tracing is always balanced via try/finally" into mnc-dev

9 years agoMerge "Fix CameraManager#open exception handling." into mnc-dev
Ruben Brunk [Thu, 4 Jun 2015 20:43:15 +0000 (20:43 +0000)]
Merge "Fix CameraManager#open exception handling." into mnc-dev

9 years agoExpose RSA and ECDSA Signature from Android Keystore Provider.
Alex Klyubin [Wed, 3 Jun 2015 21:30:10 +0000 (14:30 -0700)]
Expose RSA and ECDSA Signature from Android Keystore Provider.

The RSA Signature supports PKCS#1 and PSS padding.

Bug: 18088752
Bug: 20912868
Change-Id: I03cdc86d1935af36f7c87a0b23d67f813829cfb0

9 years agoCamera: Change origin of poseTranslation.
Eino-Ville Talvala [Sat, 30 May 2015 00:17:04 +0000 (17:17 -0700)]
Camera: Change origin of poseTranslation.

No actual defined center for the Android sensor coordinate system
exists, so define the translation relative to the largest camera
device facing the same way.

Bug: 20123879
Change-Id: Ica33d23717c976c063c26b768af5b6148483909c

9 years agoProcessing non-long clicks on application icon.
Vadim Tryshev [Thu, 4 Jun 2015 15:57:56 +0000 (08:57 -0700)]
Processing non-long clicks on application icon.

This CL alone doens't fix the whole bug, see the bug
for the AI list.

In normal mode, clicking at application icon on a task view
is ignored to avoid accidental clicks. To open app properties,
we need a long click.

In accessibility mode, we want to make it easier to open app
properties, and accidental clicks are less likely. Hence, allowing
"simple" clicks.

Bug: 20945599
Change-Id: Iec3f911dced1eda09175500fc1e798dd09b6f9e2

9 years agoExport KeyFactory backed by Android Keystore.
Alex Klyubin [Thu, 4 Jun 2015 20:04:43 +0000 (13:04 -0700)]
Export KeyFactory backed by Android Keystore.

The KeyFactory can be used to obtain information (KeyInfo) about
Android Keystore private keys.

Bug: 18088752
Change-Id: Ied1a69928f391537de6765cef7dc7d7241cf62bb

9 years agoMerge "CameraManager: Ensure all public methods connect to camera service." into...
Eino-Ville Talvala [Thu, 4 Jun 2015 20:13:39 +0000 (20:13 +0000)]
Merge "CameraManager: Ensure all public methods connect to camera service." into mnc-dev

9 years agoCameraManager: Ensure all public methods connect to camera service.
Eino-Ville Talvala [Sun, 31 May 2015 00:56:37 +0000 (17:56 -0700)]
CameraManager: Ensure all public methods connect to camera service.

Otherwise, registerAvailabilityCallback won't actually cause caller to
receive callbacks, if no other methods on CameraManager are ever
invoked.

Bug: 21536556
Change-Id: I5cded8a59846a971d6272ac3bced44678a533165

9 years agoMerge "Make WindowInsets#hasInsets check for stable insets as well" into mnc-dev
Adam Powell [Thu, 4 Jun 2015 19:49:33 +0000 (19:49 +0000)]
Merge "Make WindowInsets#hasInsets check for stable insets as well" into mnc-dev

9 years agoMerge "Add optional additional entropy to finish" into mnc-dev
Chad Brubaker [Thu, 4 Jun 2015 19:48:27 +0000 (19:48 +0000)]
Merge "Add optional additional entropy to finish" into mnc-dev

9 years agoSeparate the SelectionActionMode into Insertion and Selection.
Clara Bayarri [Tue, 2 Jun 2015 19:03:45 +0000 (20:03 +0100)]
Separate the SelectionActionMode into Insertion and Selection.

When we got rid of the paste popup, we merged it into the Selection
ActionMode and moved all its invocations to the ActionMode. Some apps
actually want the paste popup without the Selection ActionMode, hence
separating them again allows them to cancel the one they want.

Bug: 21571422
Change-Id: I91bcd0d9c3e68d9c736698fe0bec010b4c9f5cf3

9 years agoMerge "AAPT2: Change xml file parsing to DOM based" into mnc-dev
Adam Lesinski [Thu, 4 Jun 2015 19:40:32 +0000 (19:40 +0000)]
Merge "AAPT2: Change xml file parsing to DOM based" into mnc-dev

9 years agoMake WindowInsets#hasInsets check for stable insets as well
Adam Powell [Thu, 4 Jun 2015 19:38:13 +0000 (12:38 -0700)]
Make WindowInsets#hasInsets check for stable insets as well

Bug 20091509

Change-Id: Ia7dda5ab94a0904277c1078f3f73a59a735860d8

9 years agoMerge "Add DENSITY_360" into mnc-dev
Adam Powell [Thu, 4 Jun 2015 19:36:39 +0000 (19:36 +0000)]
Merge "Add DENSITY_360" into mnc-dev

9 years agoFix CameraManager#open exception handling.
Ruben Brunk [Thu, 4 Jun 2015 02:40:22 +0000 (19:40 -0700)]
Fix CameraManager#open exception handling.

Bug: 21620938
Change-Id: I062989c5fed6f99c0566da2f56bfb6b657734a33

9 years agoFixed punctuation in comment.
Amit Mahajan [Thu, 4 Jun 2015 19:17:00 +0000 (12:17 -0700)]
Fixed punctuation in comment.

Bug: 21559800
Change-Id: I47dc8e7be809cc586c307e72c7e9e11d5268cd5f

9 years agoMerge "Update getVoiceMessageCount() comments." into mnc-dev
Amit Mahajan [Thu, 4 Jun 2015 19:13:52 +0000 (19:13 +0000)]
Merge "Update getVoiceMessageCount() comments." into mnc-dev

9 years agoMerge "Ringtone: keep a reference until playback completion." into mnc-dev
Eric Laurent [Thu, 4 Jun 2015 19:13:46 +0000 (19:13 +0000)]
Merge "Ringtone: keep a reference until playback completion." into mnc-dev

9 years agoUpdate getVoiceMessageCount() comments.
Amit Mahajan [Thu, 4 Jun 2015 19:05:18 +0000 (12:05 -0700)]
Update getVoiceMessageCount() comments.

Bug: 21559800
Change-Id: I7a737ae8a93c59391f232b5da6e3b36874126f3a

9 years agoAdd carrier package name field to check for carrier vvm app.
Nancy Chen [Thu, 4 Jun 2015 19:00:25 +0000 (12:00 -0700)]
Add carrier package name field to check for carrier vvm app.

The carrier's vvm app's package name will be checked so that if it is
already installed, the dialer vvm will be disabled.

Bug: 2112648e#
Change-Id: I0433037f3bc5c5a380c76a03090d61c430e47e4b

9 years agoMerge "Fix the empty reason field in connectivity change intent." into mnc-dev
Feixiong Zhang [Thu, 4 Jun 2015 18:54:41 +0000 (18:54 +0000)]
Merge "Fix the empty reason field in connectivity change intent." into mnc-dev

9 years agoFix the empty reason field in connectivity change intent.
Feixiong Zhang [Tue, 2 Jun 2015 01:07:58 +0000 (18:07 -0700)]
Fix the empty reason field in connectivity change intent.

The code set it to null instead of info.getReason.

Change-Id: I1b26ad040c23da7080dbfaeb5376181998115805

9 years agoAAPT2: Change xml file parsing to DOM based
Adam Lesinski [Wed, 3 Jun 2015 21:54:23 +0000 (14:54 -0700)]
AAPT2: Change xml file parsing to DOM based

We modify the XML of layouts and AndroidManifest enough
that it warrants we operate on the tree in memory.
These files are never very large so this should be fine.

Change-Id: I5d597abdb3fca2a203cf7c0b40fcd926aecb3137

9 years agoStreamline Android Keystore delete entry operation.
Alex Klyubin [Thu, 4 Jun 2015 18:36:26 +0000 (11:36 -0700)]
Streamline Android Keystore delete entry operation.

This ensures that all four entry subtypes are deleted.

Bug: 18088752
Change-Id: Ia020dbede562a123c8c81cc9449ba5ab4aac61dd

9 years agoMerge "Fix abi detection for system apks" into mnc-dev
Dmitriy Ivanov [Thu, 4 Jun 2015 18:32:06 +0000 (18:32 +0000)]
Merge "Fix abi detection for system apks" into mnc-dev

9 years agoSpeed up recents -> app #2
Jorim Jaggi [Wed, 3 Jun 2015 00:07:39 +0000 (17:07 -0700)]
Speed up recents -> app #2

Creating the thumbnail of the header for the transition was on the
critical path for starting the activity. This moves it off this path
by doing it after onPause().

Change-Id: Ic54a104d5ad4c40e88638566a3a69cc265a0a0fe

9 years agoSpeed up recents -> app
Jorim Jaggi [Tue, 2 Jun 2015 23:29:40 +0000 (16:29 -0700)]
Speed up recents -> app

Because we created a bunch of layers, this delayed calling start
activity in the window manager. Disable these layers, as they are
not really needed.

Change-Id: I59343a92726665f72215a0699c52ead76e78a4b3

9 years agoMake entering recents a lot faster
Jorim Jaggi [Tue, 2 Jun 2015 22:07:33 +0000 (15:07 -0700)]
Make entering recents a lot faster

- Precache the bitmap for the window animation in the preload phase
- Remove some post's so we have a faster path from UP -> startActivity
- Don't dim the headers in the first frame drawn, because layer
creation is slow. Instead, do it in the second frame, when the window
animation is already running.

All these changes combined make going to recents about 40-50ms faster.

Change-Id: I3e4060af1ac57b3f359fe7f86f9e3814c6490323

9 years agoFix abi detection for system apks
Dmitriy Ivanov [Mon, 1 Jun 2015 21:13:20 +0000 (14:13 -0700)]
Fix abi detection for system apks

Prebuilts open their libraries directly from  apk.
Because of that abi detection is no longer as
special as it was before.

Bug: 20810492
Bug: 8076853
Change-Id: Icbd39d6062f3c1fcad2038e712b98fbdd9aa2196

9 years agoMerge "Fix Flashlight tile animation" into mnc-dev
Jason Monk [Thu, 4 Jun 2015 18:10:29 +0000 (18:10 +0000)]
Merge "Fix Flashlight tile animation" into mnc-dev

9 years agoIterate step of launch & iterate
John Reck [Wed, 3 Jun 2015 21:42:34 +0000 (14:42 -0700)]
Iterate step of launch & iterate

Bug: 18052916

Tweaked colors, merged some categories
Reduced significance of fast frames
Increased visual weight of janky frames

Change-Id: I5b4e86164c4d51debad7de0e0f8715dda34c7a60

9 years agoMove crypt commands to a different listener in vold
Paul Lawrence [Wed, 3 Jun 2015 21:14:52 +0000 (14:14 -0700)]
Move crypt commands to a different listener in vold

In order to prevent this bug from happening, we must allow vold cryptfs
commands to complete while a long running mount is underway.

While waiting for vold to be changed to a binder interface, we will simply
create two listeners, one for cryptfs and one for everything else.

Bug: 19197175
Change-Id: I8c40211dc1ef5ecec765ab587f093e757f1173d3

9 years agoUpdates AlarmClock intent API.
Johnson Hsieh [Tue, 2 Jun 2015 00:55:07 +0000 (17:55 -0700)]
Updates AlarmClock intent API.

Changes to the AlarmClock intent API based on feedback from Alarm team:

1. s/VOICE_CANCEL_ALARM/DISMISS_ALARM/g - "Cancel" is a bit unclear, so we're
changing it to "dismiss". Also, remove "VOICE_" since we should also add
support for this in multi-modal.

2. Removed DELETE_ALARM - we will likely not complete this for Android M.

3. Removed ALARM_SEARCH_MODE_NONE = "none". Instead, if
EXTRA_ALARM_SEARCH_MODE is missing (and alarm data URI is not given), then:
* If exactly one active alarm exists, it is dismissed.
* If more than one active alarm exists, the user is prompted to choose
  the alarm to dismiss.

4. Add ALARM_SEARCH_MODE_LABEL, which allows searching for alarms by a
(partially) matching label.

5. Add SNOOZE_ALARM for snoozing an alarm, with optional
extra EXTRA_ALARM_SNOOZE_DURATION.

Change-Id: I39502532e54d5f0fe51a8545a4c586615f5e5e89

9 years agoReliably delete keys if key generation fails.
Alex Klyubin [Thu, 4 Jun 2015 17:42:59 +0000 (10:42 -0700)]
Reliably delete keys if key generation fails.

Bug: 18088752
Change-Id: Iea68f3f96fc872d5628f163a1314ebd080c9d39e

9 years agoAdd DENSITY_360
Adam Powell [Wed, 3 Jun 2015 22:50:48 +0000 (15:50 -0700)]
Add DENSITY_360

Add 360dpi as a supported screen density to closer match some
hardware's physical specifications. This gives a dp multiplier of
2.25.

Bug 19529059

Change-Id: Ibf9c768fba53765ea684ff228d24caf091f27a3e

9 years agoFix Flashlight tile animation
Jason Monk [Thu, 4 Jun 2015 17:36:14 +0000 (13:36 -0400)]
Fix Flashlight tile animation

Don't refresh the state if its not different.
(This way setAllowAnimation won't get called when it shouldn't)

Bug: 21335624
Change-Id: Id6f8961b32d12141db5ac0bb847e4751b8a159b8

9 years agoMerge "Clean up the enter transition even if there is not entering fragment." into...
George Mount [Thu, 4 Jun 2015 17:32:52 +0000 (17:32 +0000)]
Merge "Clean up the enter transition even if there is not entering fragment." into mnc-dev

9 years agoMerge "Don't leak windows on removal with dummy animations" into mnc-dev
Android (Google) Code Review [Thu, 4 Jun 2015 17:30:05 +0000 (17:30 +0000)]
Merge "Don't leak windows on removal with dummy animations" into mnc-dev

9 years agoClean up the enter transition even if there is not entering fragment.
George Mount [Wed, 3 Jun 2015 22:47:44 +0000 (15:47 -0700)]
Clean up the enter transition even if there is not entering fragment.

Bug 21618103

Change-Id: Id670465afd0b743f964d24d7d36d49706b459ac8

9 years agoDon't leak windows on removal with dummy animations
Stefan Kuhne [Wed, 3 Jun 2015 21:45:26 +0000 (14:45 -0700)]
Don't leak windows on removal with dummy animations

Dummy animations might never end. Do not hold a window removal
for it.

Bug: 21403998
Change-Id: Ie907d31f51e130e245a70249a983d490f3d42b21

9 years agoMerge "Revert "Synchronize selected item data on-demand after data set invalidation...
Alan Viverette [Thu, 4 Jun 2015 17:19:25 +0000 (17:19 +0000)]
Merge "Revert "Synchronize selected item data on-demand after data set invalidation"" into mnc-dev

9 years agoRevert "Synchronize selected item data on-demand after data set invalidation"
Alan Viverette [Thu, 4 Jun 2015 17:18:34 +0000 (17:18 +0000)]
Revert "Synchronize selected item data on-demand after data set invalidation"

This CL was a can of worms. More extensive changes are
needed to decouple AdapterView state from measure/layout
passes.

This reverts commit abed07f6c0186e16e1c8e8aaceaf8cf961695c66.

Change-Id: I4e4e01692a1f660a04e9dfd16db882f13c3d0b94

9 years agoMerge "Also refresh FloatingToolbar for "icon" menu item changes." into mnc-dev
Abodunrinwa Toki [Thu, 4 Jun 2015 17:09:09 +0000 (17:09 +0000)]
Merge "Also refresh FloatingToolbar for "icon" menu item changes." into mnc-dev

9 years agoAdd optional additional entropy to finish
Chad Brubaker [Fri, 29 May 2015 19:32:51 +0000 (12:32 -0700)]
Add optional additional entropy to finish

If provided the extra entropy will be added to the device before calling
finish. If entropy is provided and the device does not support supplying
additional entropy then finish will fail with KM_ERROR_UNIMPLEMENTED.

(cherry-picked from commit 9ce30624a448f439e19960d0dd88103c04676e7d)

Change-Id: If26be118bf382604f6f8e96e833b76e6f9e94d58

9 years agoMerge "More API changes." into mnc-dev
Dianne Hackborn [Thu, 4 Jun 2015 16:56:39 +0000 (16:56 +0000)]
Merge "More API changes." into mnc-dev

9 years agoMerge "Prevent poorly-extended ParcelableSpans from writing to parcels" into mnc-dev
Alan Viverette [Thu, 4 Jun 2015 16:55:56 +0000 (16:55 +0000)]
Merge "Prevent poorly-extended ParcelableSpans from writing to parcels" into mnc-dev

9 years agoMerge changes Ia219ff78,I3fd52525 into mnc-dev
Yorke Lee [Thu, 4 Jun 2015 16:34:53 +0000 (16:34 +0000)]
Merge changes Ia219ff78,I3fd52525 into mnc-dev

* changes:
  Add phone permissions to Shell
  Add adb shell command to register/unregister phone accounts

9 years agoRingtone: keep a reference until playback completion.
Eric Laurent [Thu, 4 Jun 2015 01:54:41 +0000 (18:54 -0700)]
Ringtone: keep a reference until playback completion.

Keep a reference on active Ringtones to avoid garbage collection
before playback is complete.

Bug: 11366759.
Change-Id: Icb04da427c20e0b4657e9e8b13b3ecab98e5a333

9 years agoEnabled expansion and dragging down when QS is expanded
Selim Cinek [Wed, 3 Jun 2015 14:56:13 +0000 (16:56 +0200)]
Enabled expansion and dragging down when QS is expanded

Previously going to the full shade and expanding notifications
where disabled when QS was expanded even though there was enough
space to allow it. This is now allowed again in order to have
a consistent experience.

Bug: 19712809
Change-Id: Ie756d9c3fbf9dc2e60a05d02f0f4cc5dd6c7ebe0

9 years agoMoved the circle finishing animation to the RenderThread
Selim Cinek [Wed, 3 Jun 2015 13:32:16 +0000 (15:32 +0200)]
Moved the circle finishing animation to the RenderThread

Now the preview clipper animation and our own circle drawing
are in sync again when launching an affordance!

Bug: 21440634
Change-Id: I96cda04926fb9ae62db6690ddebaf73df38e9ca9

9 years agoFixed layer trashing when opening / closing the shade
Selim Cinek [Wed, 3 Jun 2015 12:11:03 +0000 (14:11 +0200)]
Fixed layer trashing when opening / closing the shade

Bug: 21445574
Change-Id: I67ed5f28581a366a4fa7fdc6355371c1fdd0dac3

9 years agoFixed the touch handling when QS was open
Selim Cinek [Tue, 2 Jun 2015 17:58:09 +0000 (19:58 +0200)]
Fixed the touch handling when QS was open

When QS was open, the panel could not always be correctly
scrolled.

Bug: 21525300
Change-Id: If18878d08d20254d9d822d80a295163703d897aa

9 years agoAlways have a handler for PendingIntents sent in the system process
Wale Ogunwale [Tue, 2 Jun 2015 20:41:00 +0000 (13:41 -0700)]
Always have a handler for PendingIntents sent in the system process

It is possible for deadlocks to occur when sending/processing
PendingIntents due to components like AMS holding global service
locks when dispatching the broadcast without specifying an
handler and the receiver calling back into AMS.

We now set a default handler to process the broadcast on if we
are in the system process and a handler wasn't specified.

Bug: 19502993
Change-Id: Iccde32c6c1df997784155bc41ef39e52ee0f7243