OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Now showing unlocked icon if both trusted and fingerprint running" into mnc-dev
Selim Cinek [Fri, 26 Jun 2015 15:26:06 +0000 (15:26 +0000)]
Merge "Now showing unlocked icon if both trusted and fingerprint running" into mnc-dev

9 years agoMerge "Enforce FloatingToolbar themes." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 05:26:38 +0000 (05:26 +0000)]
Merge "Enforce FloatingToolbar themes." into mnc-dev

9 years agoMerge "Add JavaDoc for permission protection level" into mnc-dev
Svetoslav [Fri, 26 Jun 2015 05:24:41 +0000 (05:24 +0000)]
Merge "Add JavaDoc for permission protection level" into mnc-dev

9 years agoMerge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev
Keisuke Kuroyanagi [Fri, 26 Jun 2015 05:11:22 +0000 (05:11 +0000)]
Merge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev

9 years agoMerge "Do not show selection action mode when the TextView is not shown." into mnc-dev
Seigo Nonaka [Fri, 26 Jun 2015 05:10:33 +0000 (05:10 +0000)]
Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev

9 years agoam ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into...
Robert Schaub [Fri, 26 Jun 2015 02:23:09 +0000 (02:23 +0000)]
am ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs

* commit 'ba12e226981216116de772739165ace65fe59d5b':
  docs: Removed sentence from permissions doc

9 years agoAdd JavaDoc for permission protection level
Svetoslav [Fri, 26 Jun 2015 01:19:14 +0000 (18:19 -0700)]
Add JavaDoc for permission protection level

1. Add the permission protection level in the java doc

2. Make some system permissions that are not mean to be
   used by third-parties system API.

bug:21402257

Change-Id: Ic0ae8d6ca44dbbbf12848a9164acc0e908c90402

9 years agoNow showing unlocked icon if both trusted and fingerprint running
Selim Cinek [Thu, 25 Jun 2015 23:44:05 +0000 (19:44 -0400)]
Now showing unlocked icon if both trusted and fingerprint running

Bug: 21781452
Change-Id: I7b04975b36f7a135358cdd68c1bdae1e73f22cc0

9 years agoEnforce FloatingToolbar themes.
Abodunrinwa Toki [Wed, 24 Jun 2015 03:36:52 +0000 (20:36 -0700)]
Enforce FloatingToolbar themes.

This ensures that theme attribute values that affect the look and
feel of the FloatingToolbar views are the ones specified in the
framework.
The aim is to avoid apps modifying the toolbar's look and feel in
unexpected ways by overriding Theme attributes.

Bug: 21957785

Change-Id: Idd472b4e8511f0a039cd07f98b1fd3ce93ae97fa

9 years agoMerge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev
Doris Liu [Thu, 25 Jun 2015 22:43:12 +0000 (22:43 +0000)]
Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev

9 years agoHide assist when launching an activity over an action
Jorim Jaggi [Thu, 25 Jun 2015 22:01:29 +0000 (15:01 -0700)]
Hide assist when launching an activity over an action

Also make sure to resume app switches in this case.

Bug: 22071080
Change-Id: Ib30e064f4a5d0768b608e23183a34e326ada32e6

9 years agoUse long press of KeyButtonView to invoke assist
Jorim Jaggi [Thu, 25 Jun 2015 18:52:48 +0000 (11:52 -0700)]
Use long press of KeyButtonView to invoke assist

This makes sure that accessibility is handled properly.

Bug: 18778078
Change-Id: I967b387aabff973b5a9fea649a805540ee08eea8

9 years agoFix logic for whether beginning/end divider should be drawn
Doris Liu [Thu, 25 Jun 2015 22:16:54 +0000 (15:16 -0700)]
Fix logic for whether beginning/end divider should be drawn

Bug: 18945384
Change-Id: Ib8e785cb97d288e39a39b968bcb9c05410acbe34

9 years agoMerge "Don't throw TransactionTooLargeException for small payloads" into mnc-dev
Christopher Tate [Thu, 25 Jun 2015 22:28:01 +0000 (22:28 +0000)]
Merge "Don't throw TransactionTooLargeException for small payloads" into mnc-dev

9 years agoMerge "Ensure partially-detached AbsListView children are removed" into mnc-dev
Alan Viverette [Thu, 25 Jun 2015 22:22:31 +0000 (22:22 +0000)]
Merge "Ensure partially-detached AbsListView children are removed" into mnc-dev

9 years agoMerge "media: parse max-concurrent-instances." into mnc-dev
Ronghua Wu [Thu, 25 Jun 2015 22:14:57 +0000 (22:14 +0000)]
Merge "media: parse max-concurrent-instances." into mnc-dev

9 years agoMerge "Fix Formatter.formatBytes() crash on non-EN locales" into mnc-dev
Makoto Onuki [Thu, 25 Jun 2015 22:02:55 +0000 (22:02 +0000)]
Merge "Fix Formatter.formatBytes() crash on non-EN locales" into mnc-dev

9 years agoEnsure partially-detached AbsListView children are removed
Alan Viverette [Thu, 25 Jun 2015 21:49:29 +0000 (14:49 -0700)]
Ensure partially-detached AbsListView children are removed

Bug: 22052083
Change-Id: If8c30c622206257587441bbd4f02c83eb3a62b60

9 years agoSpeedup PIN/Pattern dismissal
Jorim Jaggi [Thu, 25 Jun 2015 21:47:24 +0000 (14:47 -0700)]
Speedup PIN/Pattern dismissal

Bug: 22096344
Change-Id: I50d5ecaa03aae94cecf9da173f0d6318faaf6a1a

9 years agoFix Formatter.formatBytes() crash on non-EN locales
Makoto Onuki [Thu, 25 Jun 2015 18:56:44 +0000 (11:56 -0700)]
Fix Formatter.formatBytes() crash on non-EN locales

Bug 22012651

Change-Id: I21b1834a35647527002e01d76a7eb3a6a0354512

9 years agoMerge "Limit dotProduct value to 1.0f, so acosf would not return NaN." into mnc-dev
Tenghui Zhu [Thu, 25 Jun 2015 21:45:31 +0000 (21:45 +0000)]
Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN." into mnc-dev

9 years agoLimit dotProduct value to 1.0f, so acosf would not return NaN.
Lazar Trsic [Tue, 23 Jun 2015 09:46:49 +0000 (11:46 +0200)]
Limit dotProduct value to 1.0f, so acosf would not return NaN.

Cherry pick of b561f39d01c211425bfefaaa7b31ebe097e7ba79 from AOSP master.

Due to precision loss of float math, we sometimes get 1.000001f for
dotProduct. This causes NaN result from acosf() and floor() funcs.

At the moment, this does not cause any problems on ARM, as casting
NaN to int results in 0. On mips however (possibly on x86), such cast
gives INT_MAX, so crash occurs when trying to use the resulting value.

Change-Id: I8e0285a0306a65b8469d9f4885c19665066fc4c8

9 years agoMerge "Preventing leak" into mnc-dev
Jerome Poichet [Thu, 25 Jun 2015 21:21:00 +0000 (21:21 +0000)]
Merge "Preventing leak" into mnc-dev

9 years agomedia: parse max-concurrent-instances.
Ronghua Wu [Thu, 25 Jun 2015 21:13:40 +0000 (14:13 -0700)]
media: parse max-concurrent-instances.

Bug: 22089269
Change-Id: I2b0af7c5c6a309c8396b595ea54b899451239b18

9 years agoMerge "Fix removeTarget to remove by ID instead of index." into mnc-dev
George Mount [Thu, 25 Jun 2015 20:55:33 +0000 (20:55 +0000)]
Merge "Fix removeTarget to remove by ID instead of index." into mnc-dev

9 years agoMerge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-dev
Alan Viverette [Thu, 25 Jun 2015 20:00:54 +0000 (20:00 +0000)]
Merge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-dev

9 years agoConstrain ListPopupWindow hint width spec to >= 0
Alan Viverette [Thu, 25 Jun 2015 20:00:03 +0000 (13:00 -0700)]
Constrain ListPopupWindow hint width spec to >= 0

Bug: 22092169
Change-Id: Ia05302cf8d167aae26eccbf53dd3fd21d09b326d

9 years agoMerge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" into...
Alan Viverette [Thu, 25 Jun 2015 19:57:01 +0000 (19:57 +0000)]
Merge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" into mnc-dev

9 years agoMerge "Handle back key to cancel text action mode in full-screen IME." into mnc-dev
Yohei Yukawa [Thu, 25 Jun 2015 19:39:31 +0000 (19:39 +0000)]
Merge "Handle back key to cancel text action mode in full-screen IME." into mnc-dev

9 years agoConstrain child width and height to >= 0 in FrameLayout.onMeasure()
Alan Viverette [Thu, 25 Jun 2015 19:24:27 +0000 (12:24 -0700)]
Constrain child width and height to >= 0 in FrameLayout.onMeasure()

Bug: 22093669
Change-Id: I55e8a0289f871b73ed07f3d73e8297786f9acac1

9 years agoPreventing leak
Jerome Poichet [Thu, 25 Jun 2015 19:03:02 +0000 (12:03 -0700)]
Preventing leak

When transitioning from ON to OFF with LE Advertisers, advertiser do not
get a chance to unregister themselves as the stopAdvertising checks the
state of the stack and throws before unregistering the object.

It will then never remove the callback objects causing a leak.

b/22092678 | Remote service crash after switching to restricted profile

Change-Id: I04817026a524d10d60abdd8b533554a71a0112e2

9 years agoam 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview...
Robert Schaub [Thu, 25 Jun 2015 19:06:53 +0000 (19:06 +0000)]
am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs

* commit '0b5d0509ad381fc7ab519a60e2d749f27db7a070':
  docs: Removed sentence from permissions doc

9 years agoMerge "docs: Removed sentence from permissions doc" into mnc-preview-docs
Robert Schaub [Thu, 25 Jun 2015 18:57:05 +0000 (18:57 +0000)]
Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs

9 years agoMerge "Add missing conditional in settings provider" into mnc-dev
Svetoslav [Thu, 25 Jun 2015 18:53:57 +0000 (18:53 +0000)]
Merge "Add missing conditional in settings provider" into mnc-dev

9 years agoAdd missing conditional in settings provider
Svetoslav [Thu, 25 Jun 2015 18:53:02 +0000 (11:53 -0700)]
Add missing conditional in settings provider

Change-Id: I717e8b87eccbedf1a1abead77e7856a2aa2405fa

9 years agoMerge "Fixed a HUN crash with notification children" into mnc-dev
Selim Cinek [Thu, 25 Jun 2015 18:37:54 +0000 (18:37 +0000)]
Merge "Fixed a HUN crash with notification children" into mnc-dev

9 years agoMerge "add banned packages to notification dumpsys" into mnc-dev
Chris Wren [Thu, 25 Jun 2015 18:21:01 +0000 (18:21 +0000)]
Merge "add banned packages to notification dumpsys" into mnc-dev

9 years agoMerge "Prevent certain actions of app has revoked permissions" into mnc-dev
Svetoslav [Thu, 25 Jun 2015 18:20:14 +0000 (18:20 +0000)]
Merge "Prevent certain actions of app has revoked permissions" into mnc-dev

9 years agoMerge "Apply thumbTint and trackTint styles to Switch from xml." into mnc-dev
Jun Mukai [Thu, 25 Jun 2015 18:16:55 +0000 (18:16 +0000)]
Merge "Apply thumbTint and trackTint styles to Switch from xml." into mnc-dev

9 years agoadd banned packages to notification dumpsys
Chris Wren [Thu, 25 Jun 2015 18:04:33 +0000 (14:04 -0400)]
add banned packages to notification dumpsys

Bug: 20451514
Change-Id: I4ae3adfc8dcd7e7625ca41950e5642c30b8cb25e

9 years agoPrevent certain actions of app has revoked permissions
Svetoslav [Thu, 25 Jun 2015 01:47:07 +0000 (18:47 -0700)]
Prevent certain actions of app has revoked permissions

bug:21808294

Change-Id: I7214c1fe47c15fe185423a54a74b58caf8d82daa

9 years agoMerge "Remove Webviewtests in frameworks" into mnc-dev
Selim Gurun [Thu, 25 Jun 2015 17:53:49 +0000 (17:53 +0000)]
Merge "Remove Webviewtests in frameworks" into mnc-dev

9 years agoDon't throw TransactionTooLargeException for small payloads
Christopher Tate [Thu, 25 Jun 2015 01:16:42 +0000 (18:16 -0700)]
Don't throw TransactionTooLargeException for small payloads

In practice, if we ever see an apparent transaction-too-large result
with a modest-sized payload, it means that the remote process died at
just the right time (with the binder transaction already in flight
so it wasn't detected as a DEAD_OBJECT up front).  Don't throw
TransactionTooLargeException in this case, because we really do need
to distinguish that from dead-remote more accurately.

In particular, certain common execution patterns on existing hardware
trigger this circumstance, and they wind up crashing the system.
This is bad, so now we avoid it unless we're pretty sure that is
really what happened.

Bug 21801759

Change-Id: Id05f1eecc0d23dc8d0505c402e2cb68396782135

9 years agoRemove Webviewtests in frameworks
Selim Gurun [Thu, 25 Jun 2015 17:35:51 +0000 (10:35 -0700)]
Remove Webviewtests in frameworks

Bug: 22090564

These tests were not touched for at least 3 years, and with webview
moving to chromium, they are tested at the chromium side.

Change-Id: I4424871dd97c5dc23bb3dbdcee0915d5ab893c7e

9 years agoMerge "Carrier Config API KEY_FORCE_HOME_NETWORK_BOOL" into mnc-dev
Chris Manton [Thu, 25 Jun 2015 17:42:16 +0000 (17:42 +0000)]
Merge "Carrier Config API KEY_FORCE_HOME_NETWORK_BOOL" into mnc-dev

9 years agoMerge "Let findSupportedAbi and hasRenderscriptBitcode scan only relevant files"...
Yusuke Sato [Thu, 25 Jun 2015 17:33:59 +0000 (17:33 +0000)]
Merge "Let findSupportedAbi and hasRenderscriptBitcode scan only relevant files" into mnc-dev

9 years agoMerge "Add comments for visual voicemail short codes in whitelist." into mnc-dev
Nancy Chen [Thu, 25 Jun 2015 17:32:22 +0000 (17:32 +0000)]
Merge "Add comments for visual voicemail short codes in whitelist." into mnc-dev

9 years agoMerge "Refactoring recents search bar widget logic." into mnc-dev
Winson Chung [Thu, 25 Jun 2015 17:24:53 +0000 (17:24 +0000)]
Merge "Refactoring recents search bar widget logic." into mnc-dev

9 years agoCarrier Config API KEY_FORCE_HOME_NETWORK_BOOL
Chris Manton [Wed, 24 Jun 2015 23:47:49 +0000 (16:47 -0700)]
Carrier Config API KEY_FORCE_HOME_NETWORK_BOOL

Bug: 20828356

Change-Id: I30a286e7af884a11c51363916dd6a4dc965d399a

9 years agoMerge "Constrain width and height to >= 0 in FastScroller layout" into mnc-dev
Alan Viverette [Thu, 25 Jun 2015 17:08:41 +0000 (17:08 +0000)]
Merge "Constrain width and height to >= 0 in FastScroller layout" into mnc-dev

9 years agoConstrain width and height to >= 0 in FastScroller layout
Alan Viverette [Thu, 25 Jun 2015 16:57:30 +0000 (09:57 -0700)]
Constrain width and height to >= 0 in FastScroller layout

Bug: 22071990
Change-Id: I9dcb2066ee069a3764b7d711cb341a4dfdc4445e

9 years agoMerge "Support RSA encrypt using private key and PKCS#1 paddding." into mnc-dev
Alex Klyubin [Thu, 25 Jun 2015 16:46:15 +0000 (16:46 +0000)]
Merge "Support RSA encrypt using private key and PKCS#1 paddding." into mnc-dev

9 years agoDo not show selection action mode when the TextView is not shown.
Seigo Nonaka [Thu, 25 Jun 2015 13:27:12 +0000 (22:27 +0900)]
Do not show selection action mode when the TextView is not shown.

OnPreDraw is called even if the View is not visible.
So need to check isShown() and hasWindowFocus() before calling
starting selection action mode.

This hack is originally introduced for keeping selection on device rotation.
I manually verified this issue does not revive with this CL.

Bug: 22036870
Change-Id: I814db6165e2345fcacedcbd399c1a3985501c8fd

9 years agoSupport RSA encrypt using private key and PKCS#1 paddding.
Alex Klyubin [Thu, 25 Jun 2015 16:04:37 +0000 (09:04 -0700)]
Support RSA encrypt using private key and PKCS#1 paddding.

Some apps such as OpenVPN Connect for some reason generate
PKCS#1-padded RSA signatures using Cipher (initialized in
Cipher.ENCRYPT_MODE with private key!) instead of using Signature.

Unfortunately, RI supports this strange behavior and previous releases
of Android Keystore did the same. So, we have to continue supporting
this craziness.

Bug: 22083023
Change-Id: Ife3950d0d4ceb4e44e08014635312c1252878b69

9 years agoMerge "Fix: Don't display the drag handles when focus is lost" into mnc-dev
Mady Mellor [Thu, 25 Jun 2015 15:53:59 +0000 (15:53 +0000)]
Merge "Fix: Don't display the drag handles when focus is lost" into mnc-dev

9 years agoMerge "EditText - can not drag handles in extracted mode" into mnc-dev
Andrei Stingaceanu [Thu, 25 Jun 2015 15:52:48 +0000 (15:52 +0000)]
Merge "EditText - can not drag handles in extracted mode" into mnc-dev

9 years agoMerge "[LockSettings] clear secure user id when user is removed" into mnc-dev
Andres Morales [Thu, 25 Jun 2015 15:43:11 +0000 (15:43 +0000)]
Merge "[LockSettings] clear secure user id when user is removed" into mnc-dev

9 years agoFix: Don't display the drag handles when focus is lost
Mady Mellor [Thu, 25 Jun 2015 15:40:27 +0000 (08:40 -0700)]
Fix: Don't display the drag handles when focus is lost

The text selection handles should be hidden / shown when the window
loses / regains focus.

Additionally renames method to make more sense.

Bug: 22062480
Change-Id: I6e160234cf112ee285367637e2f1c14defd82e89

9 years agoMerge "Use standard copyright banner in android/security/keymaster." into mnc-dev
Alex Klyubin [Thu, 25 Jun 2015 15:07:27 +0000 (15:07 +0000)]
Merge "Use standard copyright banner in android/security/key" into mnc-dev

9 years agoMerge "Track rename of INT and LONG Keymaster tag types." into mnc-dev
Alex Klyubin [Thu, 25 Jun 2015 15:06:47 +0000 (15:06 +0000)]
Merge "Track rename of INT and LONG Keymaster tag types." into mnc-dev

9 years agoFixed a HUN crash with notification children
Selim Cinek [Thu, 25 Jun 2015 15:04:20 +0000 (11:04 -0400)]
Fixed a HUN crash with notification children

Notification children were not properly handled
before when added lead to a crash.
This will fix this bug finally.

Bug: 21868047
Change-Id: I92f2f7e71659de8274711a448e370084d423ca9f

9 years agoMerge "Make BluetoothEventManager listen to ALIAS_CHANGED" into mnc-dev
Jason Monk [Thu, 25 Jun 2015 14:05:19 +0000 (14:05 +0000)]
Merge "Make BluetoothEventManager listen to ALIAS_CHANGED" into mnc-dev

9 years agoEditText - can not drag handles in extracted mode
Andrei Stingaceanu [Wed, 24 Jun 2015 10:56:43 +0000 (11:56 +0100)]
EditText - can not drag handles in extracted mode

In TextView's onPreDraw method, startSelectionActionMode()
is called, but the selection has already been started so
in startSelectionActionMode() it shows the
insertionController which hides the selectionController.
Fix this by adding a check to start the action mode only
if it is not already started.

Bug: 22028858
Change-Id: I2999423155b7a63a7d879bc8ea5032e17dff459f

9 years agoICU format support for pseudolocalizes.
Igor Viarheichyk [Fri, 15 May 2015 01:47:00 +0000 (18:47 -0700)]
ICU format support for pseudolocalizes.

Custom parser can handle nested ICU messages even if they
are split into multiple fragments. Code reworked to encapsulate
all pseudolocalization logic in Pseudolocalizer and PseudoMethods
classes. To minimize a changelist size, some static functions
remained. Fake BiDi pseudolocalization method is reimplemented
to handle word boundaries correctly. Unit tests added.

(cherry picked from commit cbb1e676b56677ae3585c067f29646dddffb4857)

bug: 22060509

Change-Id: I11968d81984d99501a4d9334ff2e7453a1eb7a00

9 years agoMerge "Don't lose critical success/failure messages" into mnc-dev
Erik Kline [Thu, 25 Jun 2015 03:46:33 +0000 (03:46 +0000)]
Merge "Don't lose critical success/failure messages" into mnc-dev

9 years agoMerge "iUpdate the sensor group description" into mnc-dev
Svetoslav [Thu, 25 Jun 2015 02:14:53 +0000 (02:14 +0000)]
Merge "iUpdate the sensor group description" into mnc-dev

9 years agoiUpdate the sensor group description
Svetoslav [Thu, 25 Jun 2015 02:12:28 +0000 (19:12 -0700)]
iUpdate the sensor group description

bug:21784262

Change-Id: I417e2170b8a977b274ca0f6b2364c670bbb5264a

9 years agoRefactoring recents search bar widget logic.
Winson Chung [Thu, 4 Jun 2015 00:31:39 +0000 (17:31 -0700)]
Refactoring recents search bar widget logic.

Bug: 19062975

Change-Id: I303710598675aeebca8f34ac57de6249462ec033

9 years agoam a50fa710: (-s ours) am 001df9ca: DO NOT MERGE: Introduce stem keycodes for Wear
Anthony Hugh [Thu, 25 Jun 2015 01:37:28 +0000 (01:37 +0000)]
am a50fa710: (-s ours) am 001df9ca: DO NOT MERGE: Introduce stem keycodes for Wear

* commit 'a50fa71044f759013dc506ae3dc5fce11e67494e':
  DO NOT MERGE: Introduce stem keycodes for Wear

9 years agoMerge "Make NONEwithECDSA truncate input when necessary." into mnc-dev
Alex Klyubin [Thu, 25 Jun 2015 01:31:17 +0000 (01:31 +0000)]
Merge "Make NONEwithECDSA truncate input when necessary." into mnc-dev

9 years agoApply thumbTint and trackTint styles to Switch from xml.
Jun Mukai [Thu, 25 Jun 2015 01:31:06 +0000 (18:31 -0700)]
Apply thumbTint and trackTint styles to Switch from xml.

Bug: 21664957
Change-Id: Id08ae89fb1586968df4b901816a8e108bb8570af

9 years agoMerge "Frameworks/base: Add tracing system properties" into mnc-dev
Andreas Gampe [Thu, 25 Jun 2015 01:29:36 +0000 (01:29 +0000)]
Merge "Frameworks/base: Add tracing system properties" into mnc-dev

9 years agoam 001df9ca: DO NOT MERGE: Introduce stem keycodes for Wear
Anthony Hugh [Thu, 25 Jun 2015 01:27:41 +0000 (01:27 +0000)]
am 001df9ca: DO NOT MERGE: Introduce stem keycodes for Wear

* commit '001df9ca900f3098222a4920a0048d2eb947bd4e':
  DO NOT MERGE: Introduce stem keycodes for Wear

9 years agoMerge "Revert "Throw IAE on invalid measure spec size"" into mnc-dev
Dave Langemak [Thu, 25 Jun 2015 01:17:57 +0000 (01:17 +0000)]
Merge "Revert "Throw IAE on invalid measure spec size"" into mnc-dev

9 years agoRevert "Throw IAE on invalid measure spec size"
Dave Langemak [Thu, 25 Jun 2015 01:14:26 +0000 (01:14 +0000)]
Revert "Throw IAE on invalid measure spec size"

This reverts commit ac6cfb32fec5e4b9ce47c4cde4bbcc7b43a0c4a7.

Change-Id: Ie60b48eac5f732071a5039b9b6bc7b18eb694d5b

9 years agoMerge "No need to check WRITE_SETTINGS permission in ContentProvider" into mnc-dev
Amith Yamasani [Thu, 25 Jun 2015 00:24:18 +0000 (00:24 +0000)]
Merge "No need to check WRITE_SETTINGS permission in ContentProvider" into mnc-dev

9 years agoMerge "Avoid negative childSpecSize in RelativeLayout" into mnc-dev
Alan Viverette [Thu, 25 Jun 2015 00:09:05 +0000 (00:09 +0000)]
Merge "Avoid negative childSpecSize in RelativeLayout" into mnc-dev

9 years agoMerge "Fix ChooserActivity check for still-alive ChooserTargets" into mnc-dev
Adam Powell [Thu, 25 Jun 2015 00:08:52 +0000 (00:08 +0000)]
Merge "Fix ChooserActivity check for still-alive ChooserTargets" into mnc-dev

9 years agoAvoid negative childSpecSize in RelativeLayout
Alan Viverette [Thu, 25 Jun 2015 00:03:48 +0000 (17:03 -0700)]
Avoid negative childSpecSize in RelativeLayout

Bug: 22071351
Change-Id: I951fd7c7973c49581d3ea30bae64d6c20bc362be

9 years agoMerge "Resize the VectorDrawable according to the virtual Dpi" into mnc-dev
ztenghui [Wed, 24 Jun 2015 23:32:16 +0000 (23:32 +0000)]
Merge "Resize the VectorDrawable according to the virtual Dpi" into mnc-dev

9 years agoMerge "Update local state when creating LayerDrawable from constant state" into mnc-dev
Alan Viverette [Wed, 24 Jun 2015 23:15:14 +0000 (23:15 +0000)]
Merge "Update local state when creating LayerDrawable from constant state" into mnc-dev

9 years agoDO NOT MERGE: Introduce stem keycodes for Wear
Anthony Hugh [Tue, 23 Jun 2015 17:44:17 +0000 (10:44 -0700)]
DO NOT MERGE: Introduce stem keycodes for Wear

Cherry-pick from master

This change adds four new stem keycodes for Android Wear. These
keycodes are intended to represent the various hardware buttons
around the watch.  There is one primary stem key that will be used
for power/settings and three generic stem keys that will be
customizable.

BUG: 21903503
Change-Id: I867cf79554c72d42c8acbb3ff8b1678e482d4fe2

9 years agoRename and add carrier config keys for volte and ims.
Junda Liu [Wed, 24 Jun 2015 21:41:14 +0000 (14:41 -0700)]
Rename and add carrier config keys for volte and ims.

Bug: b/21878236
Change-Id: I2bc36664969fce9e773ce8a53d56b92936d96971

9 years agoUse standard copyright banner in android/security/keymaster.
Alex Klyubin [Wed, 24 Jun 2015 23:06:55 +0000 (16:06 -0700)]
Use standard copyright banner in android/security/key

Bug: 18088752
Change-Id: I22eec18130cc46222d50481164069e7714154979

9 years agoMerge "add cpuset support" into mnc-dev
Tim Murray [Wed, 24 Jun 2015 22:59:51 +0000 (22:59 +0000)]
Merge "add cpuset support" into mnc-dev

9 years agoTrack rename of INT and LONG Keymaster tag types.
Alex Klyubin [Wed, 24 Jun 2015 22:46:45 +0000 (15:46 -0700)]
Track rename of INT and LONG Keymaster tag types.

Bug: 22008538
Change-Id: Id0091e59738c828a96305edbfc4f3958e712278b

9 years agoNo need to check WRITE_SETTINGS permission in ContentProvider
Amith Yamasani [Wed, 24 Jun 2015 22:46:09 +0000 (15:46 -0700)]
No need to check WRITE_SETTINGS permission in ContentProvider

Permission checks are enforced within the SettingsProvider specifically
for SECURE/SYSTEM/GLOBAL. Now WRITE_SETTINGS is runtime, so it shouldn't
apply to all the settings types.

Bug: 22044704
Change-Id: I9ed25d96b2fa4f46d3d049efa4300cd1d37bbd24

9 years agoMake NONEwithECDSA truncate input when necessary.
Alex Klyubin [Wed, 24 Jun 2015 19:25:52 +0000 (12:25 -0700)]
Make NONEwithECDSA truncate input when necessary.

Keymaster's implementation of ECDSA with digest NONE rejects input
longer than group size in bytes. RI's NONEwithECDSA accepts inputs
of arbitrary length by truncating them to the above size. This CL
makes Android Keystore's NONEwithECDSA do the truncation to keep
the JCA and Keymaster happy.

The change is inside AndroidKeyStoreECDSASignatureSpi$NONE. All other
small modifications are for supporting that change by making it
possible for AndroidKeyStoreSignatureSpiBase to pass in the signature
being verified into KeyStoreCryptoOperationStreamer. This in turn is
needed to make it possible for NONEwithECDSA implementation to provide
a wrapper streamer which truncates input.

Bug: 22030217
Change-Id: I26064f6df37ef8c631d70a36a356aa0b76a9ad29

9 years agoMerge "Fixed an inconsistency when booting up with SIMPIn" into mnc-dev
Selim Cinek [Wed, 24 Jun 2015 22:19:57 +0000 (22:19 +0000)]
Merge "Fixed an inconsistency when booting up with SIMPIn" into mnc-dev

9 years agoMerge "Fixed a bug with encryption where the keyguard was never shown with PIN" into...
Selim Cinek [Wed, 24 Jun 2015 22:19:37 +0000 (22:19 +0000)]
Merge "Fixed a bug with encryption where the keyguard was never shown with PIN" into mnc-dev

9 years agoMerge "remove setLatestEventInfo" into mnc-dev
Chris Wren [Wed, 24 Jun 2015 22:17:39 +0000 (22:17 +0000)]
Merge "remove setLatestEventInfo" into mnc-dev

9 years agoResize the VectorDrawable according to the virtual Dpi
ztenghui [Wed, 24 Jun 2015 20:23:40 +0000 (13:23 -0700)]
Resize the VectorDrawable according to the virtual Dpi

b/21928507

Change-Id: I9e596192a0fdf13fc91481f990a345c3b267f225

9 years agoam 1ee8470c: am 3eefa1f9: Merge "docs: Update Android support page" into mnc-preview...
Joe Fernandez [Wed, 24 Jun 2015 21:52:49 +0000 (21:52 +0000)]
am 1ee8470c: am 3eefa1f9: Merge "docs: Update Android support page" into mnc-preview-docs

* commit '1ee8470ca399362424544e763dcb67e515590b10':
  docs: Update Android support page

9 years agoUpdate local state when creating LayerDrawable from constant state
Alan Viverette [Wed, 24 Jun 2015 21:42:44 +0000 (14:42 -0700)]
Update local state when creating LayerDrawable from constant state

Also clears DrawableContainer's futures list when it's no longer needed,
correctly sets deep copy of state set in StateListDrawable, makes some
private methods into package-protected to avoid thunk, and propagates
state to StateListDrawable's super class so that getState() has correct
information.

Bug: 21840003
Change-Id: I0d4232807f280d663c03b4a80e4aab8626806440

9 years agoam 3eefa1f9: Merge "docs: Update Android support page" into mnc-preview-docs
Joe Fernandez [Wed, 24 Jun 2015 21:38:28 +0000 (21:38 +0000)]
am 3eefa1f9: Merge "docs: Update Android support page" into mnc-preview-docs

* commit '3eefa1f9de9e6466251373074f3c720936b62a8c':
  docs: Update Android support page

9 years agoMerge "Allow callers holding PACKAGE_USAGE_STATS permission to call ActivityManager...
Adam Lesinski [Wed, 24 Jun 2015 21:32:36 +0000 (21:32 +0000)]
Merge "Allow callers holding PACKAGE_USAGE_STATS permission to call ActivityManager#getPackageImportance()" into mnc-dev

9 years agoMerge "docs: Update Android support page" into mnc-preview-docs
Joe Fernandez [Wed, 24 Jun 2015 21:30:02 +0000 (21:30 +0000)]
Merge "docs: Update Android support page" into mnc-preview-docs

9 years agoMerge "Update the internal test case to show the strokeWidth can scale now" into...
ztenghui [Wed, 24 Jun 2015 21:27:14 +0000 (21:27 +0000)]
Merge "Update the internal test case to show the strokeWidth can scale now" into mnc-dev

9 years agodocs: Update Android support page
Joe Fernandez [Wed, 24 Jun 2015 20:48:26 +0000 (13:48 -0700)]
docs: Update Android support page

- remove Helpouts
- remove Merchant issue reporting link
- remove other dead links
- clean up page code

b\18579472
b\19355066

Change-Id: If55aa57b11604bdd328c55e26ad5bd4ba0b32de7

9 years agoMerge "Catching launch errors when trying to go Home while Home is updating." into...
Winson Chung [Wed, 24 Jun 2015 21:21:23 +0000 (21:21 +0000)]
Merge "Catching launch errors when trying to go Home while Home is updating." into mnc-dev