OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Add eglSwapBuffersWithDamageKHR support" into mnc-dev
John Reck [Fri, 8 May 2015 18:06:51 +0000 (18:06 +0000)]
Merge "Add eglSwapBuffersWithDamageKHR support" into mnc-dev

9 years agoMerge "Switch to KeyguardManager.isDeviceSecure." into mnc-dev
Alex Klyubin [Fri, 8 May 2015 18:06:34 +0000 (18:06 +0000)]
Merge "Switch to KeyguardManager.isDeviceSecure." into mnc-dev

9 years agoMerge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-dev
Adam Powell [Fri, 8 May 2015 17:59:29 +0000 (17:59 +0000)]
Merge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-dev

9 years agoAdd eglSwapBuffersWithDamageKHR support
John Reck [Fri, 8 May 2015 17:04:36 +0000 (10:04 -0700)]
Add eglSwapBuffersWithDamageKHR support

BUG: 20761426
Disabled temporarily

Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5

9 years agoam 4e19b9a0: am 27e82e7b: Merge "Doc change: remove design content that has moved...
Dirk Dougherty [Fri, 8 May 2015 17:19:50 +0000 (17:19 +0000)]
am 4e19b9a0: am 27e82e7b: Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs

* commit '4e19b9a01e1a9b37aa4b2b02ff2baac764824a33':
  Doc change: remove design content that has moved to material spec.

9 years agoam 259a73b5: am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference...
Joe Fernandez [Fri, 8 May 2015 17:19:40 +0000 (17:19 +0000)]
am 259a73b5: am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page

* commit '259a73b560b3acbd653167b2617810920a6f4b22':
  docs: remove obsolete renderscript reference framer page

9 years agoMerge "Fix IMMS#mInputShown state inconsistency." into mnc-dev
Yohei Yukawa [Fri, 8 May 2015 17:11:21 +0000 (17:11 +0000)]
Merge "Fix IMMS#mInputShown state inconsistency." into mnc-dev

9 years agoMerge "Replace "TEE" with "secure hardware"." into mnc-dev
Alex Klyubin [Fri, 8 May 2015 16:23:58 +0000 (16:23 +0000)]
Merge "Replace "TEE" with "secure hardware"." into mnc-dev

9 years agoMerge "multiuser: postpone user cleanup to systemready" into mnc-dev
Xiaohui Chen [Fri, 8 May 2015 16:06:30 +0000 (16:06 +0000)]
Merge "multiuser: postpone user cleanup to systemready" into mnc-dev

9 years agoReplace "TEE" with "secure hardware".
Alex Klyubin [Fri, 8 May 2015 16:02:38 +0000 (09:02 -0700)]
Replace "TEE" with "secure hardware".

This is to make the Android KeyStore API more generic.

Bug: 18088752
Change-Id: I18bcc96db4af17127e5dc038becc9deb85bb48aa

9 years agoSwitch to KeyguardManager.isDeviceSecure.
Alex Klyubin [Fri, 8 May 2015 15:44:59 +0000 (08:44 -0700)]
Switch to KeyguardManager.isDeviceSecure.

isKeyguardSecure also returns true when SIM PIN is required. We don't
care about that because entering SIM PIN does not unlock keys
requiring user authentication. isDeviceSecure returns true only if
secure lock screen is set up, which is exactly what we want.

Bug: 18088752
Change-Id: I47b21f3351f55c11e8e9bcfd7654762973dd9271

9 years agoMerge "Always destroy virtual display on Binder death." into mnc-dev
Michael Wright [Fri, 8 May 2015 14:58:11 +0000 (14:58 +0000)]
Merge "Always destroy virtual display on Binder death." into mnc-dev

9 years agoMerge "Optionally add a default MOBILE request." into mnc-dev
Erik Kline [Fri, 8 May 2015 07:27:27 +0000 (07:27 +0000)]
Merge "Optionally add a default MOBILE request." into mnc-dev

9 years agoOptionally add a default MOBILE request.
Erik Kline [Thu, 30 Apr 2015 03:58:40 +0000 (12:58 +0900)]
Optionally add a default MOBILE request.

This enables persisting the mobile internet data connection, even
when Wi-Fi is enabled and serving as the default network (for faster
network switching).

Change-Id: I9d1512b3a8413c4f163c63d57e66bded017101e4

9 years agoam 27e82e7b: Merge "Doc change: remove design content that has moved to material...
Dirk Dougherty [Fri, 8 May 2015 03:46:49 +0000 (03:46 +0000)]
am 27e82e7b: Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs

* commit '27e82e7b3824b886ae1179c58c2f7073831d6c6a':
  Doc change: remove design content that has moved to material spec.

9 years agoFix IMMS#mInputShown state inconsistency.
Seigo Nonaka [Wed, 15 Apr 2015 09:31:32 +0000 (18:31 +0900)]
Fix IMMS#mInputShown state inconsistency.

The goal of this CL is to keep IMMS#mInputShown consistent with the
actual visibility of the software keyboard.  Doing it indeed fixes many
user-visible inconsistency, especially when a physical keyboards is
attached.

It turned out that there are much more cases where IMMS#mInputShown
should have been updated.  Basically every time when the software
keyboard is shown or hiden by non-user actions, IMMS#mInputShown was not
updated to the new state.  Typical cases are:
 - the IME shows its Emoji keyboard when the ALT key is pressed.
 - the system hides software keyboard when physical keyboard is
   connected.

With this CL, all known issues will disapper by updating
IMMS#mInputShown in IMMS#setImeWindowStatus().

Note that this CL depends on following preparation CLs directly or
indirectly.
- I7002ff063e490928309e9a9a0f6557ce3d12e6aa
- I1e50ee42838a1bf64a612da4904aa93458d44ea4
- I3decaf37198e5864a1763a059df4a36ebc70c5a7
- Id156c85535a221235737ea6dcc15a67f1c4b9f71
- I9f797d07ba02363fab58ceb9aecb3cc11fbc407e
- I60963f1474457ff37cca85e262460dca8105acff

Simply cherry-picking this CL into L branch is supposed to be
insufficient to fix all the issues and would result in different
regressions indeed.

BUG: 18722991
BUG: 20763994
BUG: 20764441
BUG: 20926844
Change-Id: I20ae2749a93bc33840df560aa71d4635e9ec849a

9 years agoMerge "Doc change: remove design content that has moved to material spec." into mnc...
Dirk Dougherty [Fri, 8 May 2015 03:35:56 +0000 (03:35 +0000)]
Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs

9 years agoMerge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev
Selim Cinek [Fri, 8 May 2015 02:04:51 +0000 (02:04 +0000)]
Merge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev

9 years agoMerge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev
Siva Velusamy [Fri, 8 May 2015 01:51:19 +0000 (01:51 +0000)]
Merge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev

9 years agoMerge "Improve hierarchy viewer dump hierarchy latency" into mnc-dev
Siva Velusamy [Fri, 8 May 2015 01:50:43 +0000 (01:50 +0000)]
Merge "Improve hierarchy viewer dump hierarchy latency" into mnc-dev

9 years agoUse new hierarchy viewer protocol in all View subclasses
Siva Velusamy [Tue, 5 May 2015 22:07:00 +0000 (15:07 -0700)]
Use new hierarchy viewer protocol in all View subclasses

A previous CL introduced a new way of encoding view properties for
use by heirarchy viewer. This CL updates all views using the old
@ExportedProperty annotation to use this new method. The older
mechanism will be removed in a subsequent CL.

Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452

9 years agoImprove hierarchy viewer dump hierarchy latency
Siva Velusamy [Wed, 22 Apr 2015 17:23:56 +0000 (10:23 -0700)]
Improve hierarchy viewer dump hierarchy latency

Hierarchy Viewer obtains the properties for each view by using
reflection and looking for fields and methods that have the
@ExportedProperty annotation. Using reflection made it quite slow
for large view hierarchies.

This CL adds a new method (encode) to each class that wishes to
export data to hiererachy viewer. Inside this method, the object
can write a sequence of key, value pairs corresponding to the
values it wants exported.

With this change, the dump hierarchy operation that used to take
more than 10 seconds can be performed in a few hundred milliseconds.

Change-Id: I199ac2e7ca3c59ebcfec7e6bd201e134c41fd583

9 years agoFixed a bug with svelte and voice assist
Selim Cinek [Fri, 8 May 2015 01:12:51 +0000 (18:12 -0700)]
Fixed a bug with svelte and voice assist

Handling the case that no info is around.
Bug: 20925281

Change-Id: Id5a4c4373877909a898c8852891a854eacbc1f6c

9 years agoMerge "Add URL bar to captive portal login app." into mnc-dev
Paul Jensen [Fri, 8 May 2015 01:08:52 +0000 (01:08 +0000)]
Merge "Add URL bar to captive portal login app." into mnc-dev

9 years agoMerge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-dev
Wei Wang [Fri, 8 May 2015 00:40:26 +0000 (00:40 +0000)]
Merge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-dev

9 years agoFixed a bug where the heads-up would not show when full screen
Selim Cinek [Thu, 7 May 2015 19:50:19 +0000 (12:50 -0700)]
Fixed a bug where the heads-up would not show when full screen

Bug: 20728541
Change-Id: I74bc74c4936b003a4c0c37b7c7da2d1fa138c077

9 years agoAllow obtaining BLE capabilities in BLE scan only mode.
Wei Wang [Thu, 7 May 2015 23:25:33 +0000 (16:25 -0700)]
Allow obtaining BLE capabilities in BLE scan only mode.

Bug:20923734
Change-Id: I7f3e5fd4410da39922be4512e4ba6ccdeb32887d

9 years agoUpdate LayoutLib for theme key changes to fix build
Alan Viverette [Thu, 7 May 2015 23:24:10 +0000 (16:24 -0700)]
Update LayoutLib for theme key changes to fix build

Change-Id: I47b400b320f16688cd32c1d8955a660637d93f4d

9 years agoMediaPlayer: pause media time when buffering
Chong Zhang [Wed, 6 May 2015 20:14:59 +0000 (13:14 -0700)]
MediaPlayer: pause media time when buffering

bug: 20500732
Change-Id: Ife7f75f5cc587af56451c85ea8adbdc380f38348

9 years agoam b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page
Joe Fernandez [Thu, 7 May 2015 22:42:50 +0000 (22:42 +0000)]
am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page

* commit 'b2152a43ea8b44772fab5d29dea436f2a4ddc89b':
  docs: remove obsolete renderscript reference framer page

9 years agoam 1dc26b8c: docs: remove obsolete renderscript reference framer page
Joe Fernandez [Thu, 7 May 2015 22:29:55 +0000 (22:29 +0000)]
am 1dc26b8c: docs: remove obsolete renderscript reference framer page

* commit '1dc26b8c1eaa6b5aa288cecf9202e77217507fd3':
  docs: remove obsolete renderscript reference framer page

9 years agodocs: remove obsolete renderscript reference framer page
Joe Fernandez [Thu, 7 May 2015 22:14:31 +0000 (15:14 -0700)]
docs: remove obsolete renderscript reference framer page

Change-Id: I9ec7ad462584d2e2b7132b1ddbf9306c9df83b10

9 years agoMerge "Disable ActionBar animations pending more involved fix" into mnc-dev
Chet Haase [Thu, 7 May 2015 22:00:17 +0000 (22:00 +0000)]
Merge "Disable ActionBar animations pending more involved fix" into mnc-dev

9 years agoMerge "Consider punctuation treatment when selecting text." into mnc-dev
Mady Mellor [Thu, 7 May 2015 21:59:35 +0000 (21:59 +0000)]
Merge "Consider punctuation treatment when selecting text." into mnc-dev

9 years agoDisable ActionBar animations pending more involved fix
Chet Haase [Thu, 7 May 2015 14:43:22 +0000 (07:43 -0700)]
Disable ActionBar animations pending more involved fix

Recycling of ActionBar items can cause problems with the current
ActionBar animations, as the system animates views that represent both
pre- and post-layout changes, sometimes causing opposit animations to
run on the same view, resulting in unpredictable effect slike views
remaining invisible.

This 'fix' is a workaround to disable item animations pending a more
complete and robust fix that involves a more involved system of view
recycling that would avoid recycling views that are currently being used
in animations.

Issue #20538912 Menu missing in Downloads app

Change-Id: I7b1d3baf94378e4788f868801a452c6583353842

9 years agoMerge "Fix: A part of grapheme cluster can be selected." into mnc-dev
Keisuke Kuroyanagi [Thu, 7 May 2015 21:37:47 +0000 (21:37 +0000)]
Merge "Fix: A part of grapheme cluster can be selected." into mnc-dev

9 years agoMerge "Add IntentFilter auto verification - part 8" into mnc-dev
Fabrice Di Meglio [Thu, 7 May 2015 21:29:14 +0000 (21:29 +0000)]
Merge "Add IntentFilter auto verification - part 8" into mnc-dev

9 years agoMerge "MidiManager: Improve output of "dumpsys midi"" into mnc-dev
Mike Lockwood [Thu, 7 May 2015 21:23:25 +0000 (21:23 +0000)]
Merge "MidiManager: Improve output of "dumpsys midi"" into mnc-dev

9 years agoMerge "Improve keying for theme caches, rebase system theme on config change" into...
Alan Viverette [Thu, 7 May 2015 21:19:57 +0000 (21:19 +0000)]
Merge "Improve keying for theme caches, rebase system theme on config change" into mnc-dev

9 years agoMerge "Revert "Text selection - Don't select vertical white space"" into mnc-dev
Mady Mellor [Thu, 7 May 2015 21:13:42 +0000 (21:13 +0000)]
Merge "Revert "Text selection - Don't select vertical white space"" into mnc-dev

9 years agoMerge "Replace Material text cursor with XML shape" into mnc-dev
Alan Viverette [Thu, 7 May 2015 21:06:31 +0000 (21:06 +0000)]
Merge "Replace Material text cursor with XML shape" into mnc-dev

9 years agoConsider punctuation treatment when selecting text.
Mady Mellor [Wed, 15 Apr 2015 21:23:26 +0000 (14:23 -0700)]
Consider punctuation treatment when selecting text.

This treats punctuation as "words", so groups of punctuation will be
selected together, i.e. "Hmm... yay!!!" would be treated as four words:
Hmm-...-yay-!!!

Bug: 19950062
Change-Id: Ic9514c524092734fad1abdf19a736bfa1406157b

9 years agoRevert "Text selection - Don't select vertical white space"
Mady Mellor [Thu, 7 May 2015 18:26:37 +0000 (11:26 -0700)]
Revert "Text selection - Don't select vertical white space"

This reverts commit b9bbbb1d97adb8ffdda2af14921401aabcec8cdd.

Bug: 20653654
Change-Id: Id96409ac17783bd1e7055913f14de8741d0f9caf

9 years agoReplace Material text cursor with XML shape
Alan Viverette [Thu, 7 May 2015 21:02:28 +0000 (14:02 -0700)]
Replace Material text cursor with XML shape

Bug: 20754494
Change-Id: Ide1c9d7f37863a1ee88b69b5e7f478c124bb7eae

9 years agoFix build
John Reck [Thu, 7 May 2015 20:50:55 +0000 (13:50 -0700)]
Fix build

Change-Id: I233f943041ce46b0d69e0e2f5e0dcda9aa9b7d4b

9 years agoMerge "Fix clang warnings on unused variable, mismatched tag, print format." into...
Chih-Hung Hsieh [Thu, 7 May 2015 20:29:20 +0000 (20:29 +0000)]
Merge "Fix clang warnings on unused variable, mismatched tag, print format." into mnc-dev

9 years agoMerge "Remove SkBitmap from ResourceCache" into mnc-dev
John Reck [Thu, 7 May 2015 20:28:56 +0000 (20:28 +0000)]
Merge "Remove SkBitmap from ResourceCache" into mnc-dev

9 years agoMerge "camera2: allow mixing regular/reprocess requests" into mnc-dev
Chien-Yu Chen [Thu, 7 May 2015 20:24:48 +0000 (20:24 +0000)]
Merge "camera2: allow mixing regular/reprocess requests" into mnc-dev

9 years agoMerge "Properly cancel animators when View doesn't exist in starting state." into...
George Mount [Thu, 7 May 2015 20:22:59 +0000 (20:22 +0000)]
Merge "Properly cancel animators when View doesn't exist in starting state." into mnc-dev

9 years agoMerge "Fix broke NDK sensor manager API" into mnc-dev
Svet Ganov [Thu, 7 May 2015 20:19:26 +0000 (20:19 +0000)]
Merge "Fix broke NDK sensor manager API" into mnc-dev

9 years agoRemove SkBitmap from ResourceCache
John Reck [Thu, 7 May 2015 20:14:15 +0000 (13:14 -0700)]
Remove SkBitmap from ResourceCache

Bug: 18928352

Fully-proper refcounting via SkBitmap/SkPixelRef, no more
side-channel refcounting via ResourceCache. Makes HWUI
more resilient to the bitmap being modified as well as
the SkBitmap's info & rowBytes() is updated every time
a DisplayList is recorded instead of relying on buggy
cache eviction logic

Change-Id: I2e8292d62ab6c257a2cfa1542387bf2bf1ade816

9 years agoMerge "Only resize list popup if it's still attached to a window" into mnc-dev
Alan Viverette [Thu, 7 May 2015 20:07:47 +0000 (20:07 +0000)]
Merge "Only resize list popup if it's still attached to a window" into mnc-dev

9 years agoMidiManager: Improve output of "dumpsys midi"
Mike Lockwood [Thu, 7 May 2015 20:02:01 +0000 (13:02 -0700)]
MidiManager: Improve output of "dumpsys midi"

- Include each device's port status from MidiDeviceStatus
- MidiDeviceInfo.toString() now outputs all the names and values in the properties Bundle

Change-Id: Ic9329153e4ae4d5619e274d27a420943473377e5

9 years agoOnly resize list popup if it's still attached to a window
Alan Viverette [Thu, 7 May 2015 20:00:25 +0000 (13:00 -0700)]
Only resize list popup if it's still attached to a window

We can't rely on ListPopupWindow.dismiss() to get called before the popup
is removed, for example when the activity hosting the popup is finished,
but we can easily ensure that the popup is still attached to a window.

Bug: 20831507
Change-Id: I9dcaa46e68df3f2b301cf299fa64d460c7e177fd

9 years agoProperly cancel animators when View doesn't exist in starting state.
George Mount [Thu, 7 May 2015 17:18:43 +0000 (10:18 -0700)]
Properly cancel animators when View doesn't exist in starting state.

Bug 19290065

When a transition was interrupted, if a View was not in the start
state, but in the end state, then any animator on that View was
not canceled. This detects that situation and allows canceling
the animator on that View.

Change-Id: Ib1d0579bb6b211782c40c6327be59b0c59682731

9 years agoFix broke NDK sensor manager API
Svet Ganov [Thu, 7 May 2015 17:49:07 +0000 (10:49 -0700)]
Fix broke NDK sensor manager API

Change-Id: I0f4e2a3ce20ce20e0aa5a7d38d1f988497c033c0

9 years agoam a7f27a76: (-s ours) am 504bb9e7: Merge "Temporarily increase saved tombstone size...
Christopher Ferris [Thu, 7 May 2015 19:42:02 +0000 (19:42 +0000)]
am a7f27a76: (-s ours) am 504bb9e7: Merge "Temporarily increase saved tombstone size. DO NOT MERGE" into lmp-mr1-modular-dev

* commit 'a7f27a767347af8383c78be656fb5d809ee60951':
  Temporarily increase saved tombstone size. DO NOT MERGE

9 years agoFix clang warnings on unused variable, mismatched tag, print format.
Chih-Hung Hsieh [Wed, 6 May 2015 21:42:04 +0000 (14:42 -0700)]
Fix clang warnings on unused variable, mismatched tag, print format.

BUG: 20890093
Change-Id: I91588f481d80b69823bc9d104b8bd09167ee5373

9 years agoam 504bb9e7: Merge "Temporarily increase saved tombstone size. DO NOT MERGE" into...
Christopher Ferris [Thu, 7 May 2015 19:29:02 +0000 (19:29 +0000)]
am 504bb9e7: Merge "Temporarily increase saved tombstone size. DO NOT MERGE" into lmp-mr1-modular-dev

* commit '504bb9e7709cd51500b68f4220fffb61e11a5e1b':
  Temporarily increase saved tombstone size. DO NOT MERGE

9 years agoMerge "Update the rowBytes when reconfiguring to match the new imageInfo." into mnc-dev
Derek Sollenberger [Thu, 7 May 2015 19:28:29 +0000 (19:28 +0000)]
Merge "Update the rowBytes when reconfiguring to match the new imageInfo." into mnc-dev

9 years agoMerge "add logging to quick settings tiles" into mnc-dev
Chris Wren [Thu, 7 May 2015 19:23:33 +0000 (19:23 +0000)]
Merge "add logging to quick settings tiles" into mnc-dev

9 years agoMerge "Temporarily increase saved tombstone size. DO NOT MERGE" into lmp-mr1-modular-dev
Christopher Ferris [Thu, 7 May 2015 19:19:32 +0000 (19:19 +0000)]
Merge "Temporarily increase saved tombstone size. DO NOT MERGE" into lmp-mr1-modular-dev

9 years agoadd logging to quick settings tiles
Chris Wren [Wed, 6 May 2015 21:50:34 +0000 (17:50 -0400)]
add logging to quick settings tiles

  QS Grid visibility
  Tiles that are visibile in the grid
  Taps on tiles
  Detail visibility for DND, Users, and Data

Bug: 20264417
Change-Id: I95e65484a9be0a53a071bc12ce8195120582621e

9 years agoMerge "improve app crash detection in compatibility test" into mnc-dev
Guang Zhu [Thu, 7 May 2015 19:05:47 +0000 (19:05 +0000)]
Merge "improve app crash detection in compatibility test" into mnc-dev

9 years agoimprove app crash detection in compatibility test
Guang Zhu [Thu, 7 May 2015 17:51:29 +0000 (10:51 -0700)]
improve app crash detection in compatibility test

In addition to ensuring that process exists, we also need to
check that it's the right state. Because crashed foreground
activity can still get started as background service.

Bug: 20899208
Change-Id: I101e556ce757af1afb66686827c5851dd6fda620

9 years agoUpdate the rowBytes when reconfiguring to match the new imageInfo.
Derek Sollenberger [Thu, 7 May 2015 17:56:14 +0000 (13:56 -0400)]
Update the rowBytes when reconfiguring to match the new imageInfo.

bug: 20872840
Change-Id: Ic98a9d16e095c27ddcc193a18641732c1ee4bad0

9 years agoMerge "Delete a bunch of dead code" into mnc-dev
John Reck [Thu, 7 May 2015 18:11:04 +0000 (18:11 +0000)]
Merge "Delete a bunch of dead code" into mnc-dev

9 years agoDelete a bunch of dead code
John Reck [Thu, 7 May 2015 17:49:55 +0000 (10:49 -0700)]
Delete a bunch of dead code

Rotation wasn't supported, so just nuke all the code
around it. Fixes some unused field warnings

Change-Id: Ic33d56ed3b42e3261bddc5007c5a029831254f83

9 years agoMerge "Take into account scroll offset for transition animation" into mnc-dev
Doris Liu [Thu, 7 May 2015 17:56:45 +0000 (17:56 +0000)]
Merge "Take into account scroll offset for transition animation" into mnc-dev

9 years agoMerge "Document that new APIs for asymmetric crypto have no effect." into mnc-dev
Alex Klyubin [Thu, 7 May 2015 17:54:43 +0000 (17:54 +0000)]
Merge "Document that new APIs for asymmetric crypto have no effect." into mnc-dev

9 years agoMerge "Check parameters in KeyGenerator.init." into mnc-dev
Alex Klyubin [Thu, 7 May 2015 17:54:20 +0000 (17:54 +0000)]
Merge "Check parameters in KeyGenerator.init." into mnc-dev

9 years agoMerge "Remove dead code from EpicenterTranslateClipReveal" into mnc-dev
Alan Viverette [Thu, 7 May 2015 17:52:46 +0000 (17:52 +0000)]
Merge "Remove dead code from EpicenterTranslateClipReveal" into mnc-dev

9 years agoCheck parameters in KeyGenerator.init.
Alex Klyubin [Tue, 5 May 2015 19:57:50 +0000 (12:57 -0700)]
Check parameters in KeyGenerator.init.

KeyGenerator.init is supposed to check whether all provided parameters
are OK. This is because KeyGenerator.generateKey cannot throw checked
exceptions. This CL makes AndroidKeyStore KeyGenerator implementation
do just that. Unfortunately, keymaster/kestore doesn't provide a way
to check whether all the parameters are OK without actually generating
a key. Thus, this KeyGenerator does its best inside init method
(before Keymaster is called), and then surfaces any remaining issues
(flagged by Keymaster/keystore) as unchecked IllegalStateException.

Bug: 18088752
Change-Id: I9a04da880dcbe26c37f41d1477e41bdc74db04c9

9 years agoMerge "Use ProviderException in AndroidKeyStore." into mnc-dev
Alex Klyubin [Thu, 7 May 2015 17:43:29 +0000 (17:43 +0000)]
Merge "Use ProviderException in AndroidKeyStore." into mnc-dev

9 years agoDocument that new APIs for asymmetric crypto have no effect.
Alex Klyubin [Thu, 7 May 2015 16:36:01 +0000 (09:36 -0700)]
Document that new APIs for asymmetric crypto have no effect.

Bug: 18088752
Change-Id: Idfcf57251e76185425b9271d6a2001c5556f9f59

9 years agoMerge "Always mix in additional entropy into keymaster." into mnc-dev
Alex Klyubin [Thu, 7 May 2015 17:38:39 +0000 (17:38 +0000)]
Merge "Always mix in additional entropy into key" into mnc-dev

9 years agoRemove dead code from EpicenterTranslateClipReveal
Alan Viverette [Thu, 7 May 2015 17:38:26 +0000 (10:38 -0700)]
Remove dead code from EpicenterTranslateClipReveal

Change-Id: Id2ba801b61cf419b43188514b36cf869b4f836a6

9 years agoMerge "Filter list of possible default dialers" into mnc-dev
Yorke Lee [Thu, 7 May 2015 17:34:53 +0000 (17:34 +0000)]
Merge "Filter list of possible default dialers" into mnc-dev

9 years agoMerge "Adjust the Javadoc for user authentication timeout." into mnc-dev
Alex Klyubin [Thu, 7 May 2015 17:34:21 +0000 (17:34 +0000)]
Merge "Adjust the Javadoc for user authentication timeout." into mnc-dev

9 years agoMerge "Define String constants for AndroidKeyStore crypto." into mnc-dev
Alex Klyubin [Thu, 7 May 2015 17:33:58 +0000 (17:33 +0000)]
Merge "Define String constants for AndroidKeyStore crypto." into mnc-dev

9 years agoTemporarily increase saved tombstone size. DO NOT MERGE
Christopher Ferris [Thu, 7 May 2015 17:31:17 +0000 (10:31 -0700)]
Temporarily increase saved tombstone size. DO NOT MERGE

Bug: 20829534
Change-Id: I2af16d342196da1acda43b0f6d7341413ef51820

9 years agoMerge "Make popup window enter animation more like app transition enter" into mnc-dev
Alan Viverette [Thu, 7 May 2015 17:25:36 +0000 (17:25 +0000)]
Merge "Make popup window enter animation more like app transition enter" into mnc-dev

9 years agoam b65b66cc: am 2224eac3: Merge "bootanimation: fix garbage line issue when screen...
Chris Elliott [Thu, 7 May 2015 17:17:03 +0000 (17:17 +0000)]
am b65b66cc: am 2224eac3: Merge "bootanimation: fix garbage line issue when screen height is odd." into lmp-mr1-modular-dev

* commit 'b65b66ccc251371c817abe75176a73f84565410e':
  bootanimation: fix garbage line issue when screen height is odd.

9 years agoMerge "Remove tools attributes from framework XML" into mnc-dev
Alan Viverette [Thu, 7 May 2015 17:13:08 +0000 (17:13 +0000)]
Merge "Remove tools attributes from framework XML" into mnc-dev

9 years agoMake popup window enter animation more like app transition enter
Alan Viverette [Thu, 7 May 2015 17:07:42 +0000 (10:07 -0700)]
Make popup window enter animation more like app transition enter

Merges the translate and clip reveal so that we can adjust the clip
position based on the current translate position. This ensures the
clip appears to expand from the center of the translated popup and
never extends outside the window bounds.

Change-Id: I8bbb9c0e2293a25f7807d71d9b8779bb782d4784

9 years agoam 2224eac3: Merge "bootanimation: fix garbage line issue when screen height is odd...
Chris Elliott [Thu, 7 May 2015 17:06:47 +0000 (17:06 +0000)]
am 2224eac3: Merge "bootanimation: fix garbage line issue when screen height is odd." into lmp-mr1-modular-dev

* commit '2224eac30375a731f4ad38d6930dbc37b0855a0d':
  bootanimation: fix garbage line issue when screen height is odd.

9 years agoRemove tools attributes from framework XML
Alan Viverette [Thu, 7 May 2015 17:01:01 +0000 (10:01 -0700)]
Remove tools attributes from framework XML

Bug: 20494934
Change-Id: Iaf43abddf6b533c107350254e467e7a029ccc88d

9 years agoTake into account scroll offset for transition animation
Doris Liu [Fri, 1 May 2015 18:02:01 +0000 (11:02 -0700)]
Take into account scroll offset for transition animation

This CL fixed the issue where scroll offset was ignored when shared
elements are added to the ghost view and when they are laid out.

Bug: 20349408
Change-Id: Ifaeb821bffe6fcfe303221a1732125bf1c4a91b7

9 years agoMerge "Fix leak in LayoutTransition" into mnc-dev
Chet Haase [Thu, 7 May 2015 16:56:42 +0000 (16:56 +0000)]
Merge "Fix leak in LayoutTransition" into mnc-dev

9 years agoAdjust the Javadoc for user authentication timeout.
Alex Klyubin [Thu, 7 May 2015 16:51:21 +0000 (09:51 -0700)]
Adjust the Javadoc for user authentication timeout.

The Javadoc incorrectly stated that:
* 0 means authentication required for every use.
* -1 means that timeout is not specified and the key can be any time.

Bug: 18088752
Change-Id: Ie5f37e74dc207f23443527ac1725ae8a37213d75

9 years agoMerge "bootanimation: fix garbage line issue when screen height is odd." into lmp...
Chris Elliott [Thu, 7 May 2015 16:51:07 +0000 (16:51 +0000)]
Merge "bootanimation: fix garbage line issue when screen height is odd." into lmp-mr1-modular-dev

9 years agoMerge "Don't strip country and variant from locale." into mnc-dev
Niels Egberts [Thu, 7 May 2015 16:22:47 +0000 (16:22 +0000)]
Merge "Don't strip country and variant from locale." into mnc-dev

9 years agoMerge "Add warning if an in-use Bitmap is reconfigured" into mnc-dev
John Reck [Thu, 7 May 2015 16:16:14 +0000 (16:16 +0000)]
Merge "Add warning if an in-use Bitmap is reconfigured" into mnc-dev

9 years agoMerge "Avoid NPE when sendMessage is called after disconnect." into mnc-dev
Paul Jensen [Thu, 7 May 2015 15:30:46 +0000 (15:30 +0000)]
Merge "Avoid NPE when sendMessage is called after disconnect." into mnc-dev

9 years agoDon't strip country and variant from locale.
Niels Egberts [Mon, 16 Feb 2015 13:51:55 +0000 (13:51 +0000)]
Don't strip country and variant from locale.

When the synthesizer returns LANG_AVAILABLE or LANG_COUNTRY_AVAILABLE
for a certain locale, we strip the country and variant from the locale
before asking the synthesizer for the default voice name for this
locale.

This can prevent the synthesizer from picking the right locale. For
instance it prevents the synthesizer from picking en-gb if en-au is
requested, now it can only have a single preferred voice for all English
countries.

The solution is not to strip the country and variant from the locale.
This is not likely to break anything, because the input to
onGetDefaultVoiceNameFor was never expected to be a subset of all
supported language-country-variant combinations. The default
implementation handles this correctly.

Change-Id: I017f69d321039c7aa7a3ef5a09ba138e35b66670
(cherry picked from commit 4758e99783493fc546e6819b5fe9d44e1ef8c318)

9 years agoAvoid NPE when sendMessage is called after disconnect.
Paul Jensen [Thu, 7 May 2015 14:44:32 +0000 (10:44 -0400)]
Avoid NPE when sendMessage is called after disconnect.

This avoids an NPE that could occur when:
1. disconnect() is called
2. sendMessage() is called but encounters a RemoteException
3. replyDisconnected() will attempt to dereference mSrcHandler
There does not appear to be any callers that rely on the NPE.
All callers erase their reference to the AsyncChannel after
calling disconnect(), except for NetworkAgentInfo which can
cause ConnectivityService to crash.  This fix addresses that.

bug:20647016
Change-Id: I89864885dc3371941407a036b7b7647e0ec037b8

9 years agoMerge "Add CallbackRegistry." into mnc-dev
George Mount [Thu, 7 May 2015 14:34:56 +0000 (14:34 +0000)]
Merge "Add CallbackRegistry." into mnc-dev

9 years agoMerge "Fix crash during Activity Transition with TextureView." into mnc-dev
George Mount [Thu, 7 May 2015 14:34:01 +0000 (14:34 +0000)]
Merge "Fix crash during Activity Transition with TextureView." into mnc-dev

9 years agoRemove FloatMath methods from the API
Neil Fuller [Thu, 12 Feb 2015 10:13:45 +0000 (10:13 +0000)]
Remove FloatMath methods from the API

Also removing FloatMathTest. The tests are being
moved into a legacy CTS suite.

Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I397fd6bcc4d988db6301245f9d47460bd6c28821

9 years agoMerge "Remove incomplete media router API." into mnc-dev
Jeff Brown [Thu, 7 May 2015 08:00:02 +0000 (08:00 +0000)]
Merge "Remove incomplete media router API." into mnc-dev