194285 Commits

Author SHA1 Message Date
Alex Klyubin
df6c67028a Merge "Streamline Android Keystore delete entry operation." into mnc-dev 2015-06-04 21:06:29 +00:00
Alex Klyubin
b070e486c8 Merge "Reliably delete keys if key generation fails." into mnc-dev 2015-06-04 21:05:41 +00:00
Eino-Ville Talvala
05ae9b56ae Merge "Camera: Change origin of poseTranslation." into mnc-dev 2015-06-04 20:52:02 +00:00
Chris Craik
0ee780a993 Merge "Ensure RenderScript tracing is always balanced via try/finally" into mnc-dev 2015-06-04 20:47:34 +00:00
Ruben Brunk
74fc1837e0 Merge "Fix CameraManager#open exception handling." into mnc-dev 2015-06-04 20:43:16 +00:00
Alex Klyubin
ccbe88a505 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
2015-06-04 13:42:43 -07:00
Eino-Ville Talvala
d3dbfb3f75 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
2015-06-04 13:41:56 -07:00
Vadim Tryshev
c1a6c658ae 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
2015-06-04 13:26:53 -07:00
Alex Klyubin
97a27a73e6 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
2015-06-04 13:19:50 -07:00
Eino-Ville Talvala
ea7547f155 Merge "CameraManager: Ensure all public methods connect to camera service." into mnc-dev 2015-06-04 20:13:41 +00:00
Eino-Ville Talvala
2ef01737af 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
2015-06-04 12:58:01 -07:00
ztenghui
83a52031fd Setup the animation callback for AnimatedVectorDrawable
b/21341096

Change-Id: I84e20366db21ceaa4f044be3e322f9215bb06ad2
2015-06-04 12:55:21 -07:00
Adam Powell
1da56b51d5 Merge "Make WindowInsets#hasInsets check for stable insets as well" into mnc-dev 2015-06-04 19:49:36 +00:00
Chad Brubaker
43e77bf620 Merge "Add optional additional entropy to finish" into mnc-dev 2015-06-04 19:48:29 +00:00
Clara Bayarri
7938cdbf98 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
2015-06-04 20:46:19 +01:00
Adam Lesinski
581cc1ee59 Merge "AAPT2: Change xml file parsing to DOM based" into mnc-dev 2015-06-04 19:40:34 +00:00
Adam Powell
05e967820d Make WindowInsets#hasInsets check for stable insets as well
Bug 20091509

Change-Id: Ia7dda5ab94a0904277c1078f3f73a59a735860d8
2015-06-04 12:38:13 -07:00
Adam Powell
2b710c29e2 Merge "Add DENSITY_360" into mnc-dev 2015-06-04 19:36:47 +00:00
Ruben Brunk
a45aa0d549 Fix CameraManager#open exception handling.
Bug: 21620938
Change-Id: I062989c5fed6f99c0566da2f56bfb6b657734a33
2015-06-04 12:26:10 -07:00
Amit Mahajan
b2556363e7 Fixed punctuation in comment.
Bug: 21559800
Change-Id: I47dc8e7be809cc586c307e72c7e9e11d5268cd5f
2015-06-04 12:19:40 -07:00
Amit Mahajan
b8a4ba86d8 Merge "Update getVoiceMessageCount() comments." into mnc-dev 2015-06-04 19:14:07 +00:00
Eric Laurent
01b9c4cdb3 Merge "Ringtone: keep a reference until playback completion." into mnc-dev 2015-06-04 19:13:47 +00:00
Amit Mahajan
5347753188 Update getVoiceMessageCount() comments.
Bug: 21559800
Change-Id: I7a737ae8a93c59391f232b5da6e3b36874126f3a
2015-06-04 12:05:18 -07:00
Nancy Chen
97f5ccd1cc 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
2015-06-04 12:00:25 -07:00
Feixiong Zhang
170d44083f Merge "Fix the empty reason field in connectivity change intent." into mnc-dev 2015-06-04 18:54:49 +00:00
Feixiong Zhang
376133f606 Fix the empty reason field in connectivity change intent.
The code set it to null instead of info.getReason.

Change-Id: I1b26ad040c23da7080dbfaeb5376181998115805
2015-06-04 11:38:41 -07:00
Adam Lesinski
75f3a55cc5 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
2015-06-04 11:37:05 -07:00
Alex Klyubin
6c03bf523d Streamline Android Keystore delete entry operation.
This ensures that all four entry subtypes are deleted.

Bug: 18088752
Change-Id: Ia020dbede562a123c8c81cc9449ba5ab4aac61dd
2015-06-04 11:36:26 -07:00
Dmitriy Ivanov
f8e5993c2c Merge "Fix abi detection for system apks" into mnc-dev 2015-06-04 18:33:36 +00:00
Jorim Jaggi
6e18e00a24 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
2015-06-04 11:22:48 -07:00
Jorim Jaggi
88f3db9e21 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
2015-06-04 11:22:37 -07:00
Jorim Jaggi
900fb48d26 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
2015-06-04 11:21:49 -07:00
Dmitriy Ivanov
a25a3d6187 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
2015-06-04 11:12:51 -07:00
Jason Monk
ed9d3494a8 Merge "Fix Flashlight tile animation" into mnc-dev 2015-06-04 18:10:33 +00:00
Alan Viverette
97e1be8ef6 Account for margins in ScrollView onMeasure() when filling viewport
Bug: 19247610
Change-Id: I8e43cd9c28652cd8a0fed9b896394b976c9817a9
2015-06-04 10:56:27 -07:00
John Reck
41300274cf 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
2015-06-04 10:49:08 -07:00
Paul Lawrence
1c62cbbdfe 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
2015-06-04 10:44:43 -07:00
Johnson Hsieh
1ef714a284 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
2015-06-04 10:43:19 -07:00
Alex Klyubin
4bbfeb4856 Reliably delete keys if key generation fails.
Bug: 18088752
Change-Id: Iea68f3f96fc872d5628f163a1314ebd080c9d39e
2015-06-04 10:42:59 -07:00
Adam Powell
f6d9cd19e2 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
2015-06-04 10:41:44 -07:00
Joe Fernandez
edaf008c5e am b0ebbc86: Merge "Revert "docs: studio 1.2.2.0 updates"" into mnc-preview-docs
* commit 'b0ebbc8625b9ca165c9cfa2ec0023c8fc1af61a8':
  Revert "docs: studio 1.2.2.0 updates"
2015-06-04 17:37:24 +00:00
Jason Monk
9128b1e241 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
2015-06-04 13:36:14 -04:00
George Mount
e50b091df9 Merge "Clean up the enter transition even if there is not entering fragment." into mnc-dev 2015-06-04 17:32:53 +00:00
Android (Google) Code Review
a1b35394b6 Merge "Don't leak windows on removal with dummy animations" into mnc-dev 2015-06-04 17:30:05 +00:00
George Mount
ec3364cc32 Clean up the enter transition even if there is not entering fragment.
Bug 21618103

Change-Id: Id670465afd0b743f964d24d7d36d49706b459ac8
2015-06-04 10:28:54 -07:00
Stefan Kuhne
79f4718d7c 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
2015-06-04 10:28:07 -07:00
Joe Fernandez
b0ebbc8625 Merge "Revert "docs: studio 1.2.2.0 updates"" into mnc-preview-docs 2015-06-04 17:27:22 +00:00
Joe Fernandez
c9032b1472 Revert "docs: studio 1.2.2.0 updates"
This reverts commit bda2bb39717accd08fe56f997b7a46e56f997c5d.

Change-Id: I734cce1d0fdccefa64577b7e0ba68f8afdbfb2d6
2015-06-04 17:24:59 +00:00
Alan Viverette
2e4e5d745f Merge "Revert "Synchronize selected item data on-demand after data set invalidation"" into mnc-dev 2015-06-04 17:19:27 +00:00
Alan Viverette
31ff78b146 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
2015-06-04 17:18:34 +00:00