OSDN Git Service

android-x86/frameworks-base.git
9 years agoam d4d802be: Merge "Fix: Don\'t display the drag handles when focus is lost" into...
Mady Mellor [Thu, 25 Jun 2015 16:03:22 +0000 (16:03 +0000)]
am d4d802be: Merge "Fix: Don\'t display the drag handles when focus is lost" into mnc-dev

* commit 'd4d802be39c67bf207bbb693d32c6a59c78ed3bb':
  Fix: Don't display the drag handles when focus is lost

9 years agoam 3d7109a1: Merge "EditText - can not drag handles in extracted mode" into mnc-dev
Andrei Stingaceanu [Thu, 25 Jun 2015 16:03:18 +0000 (16:03 +0000)]
am 3d7109a1: Merge "EditText - can not drag handles in extracted mode" into mnc-dev

* commit '3d7109a1f6be56417367ecfdfb2a77c7fe4de3a9':
  EditText - can not drag handles in extracted mode

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 agoam f1900b50: Merge "[LockSettings] clear secure user id when user is removed" into...
Andres Morales [Thu, 25 Jun 2015 15:52:35 +0000 (15:52 +0000)]
am f1900b50: Merge "[LockSettings] clear secure user id when user is removed" into mnc-dev

* commit 'f1900b500f71c372376b5d951d581afcca8d7b57':
  [LockSettings] clear secure user id when user is removed

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 agoam c781405f: Merge "Use standard copyright banner in android/security/keymaster....
Alex Klyubin [Thu, 25 Jun 2015 15:14:52 +0000 (15:14 +0000)]
am c781405f: Merge "Use standard copyright banner in android/security/key" into mnc-dev

* commit 'c781405f43ca06041777f2e382c0d5b7bdeac43a':
  Use standard copyright banner in android/security/keymaster.

9 years agoam 6223b7e9: Merge "Track rename of INT and LONG Keymaster tag types." into mnc-dev
Alex Klyubin [Thu, 25 Jun 2015 15:14:48 +0000 (15:14 +0000)]
am 6223b7e9: Merge "Track rename of INT and LONG Keymaster tag types." into mnc-dev

* commit '6223b7e911b764ed163cb5030fff5f3744724a7f':
  Track rename of INT and LONG Keymaster tag types.

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 agoam 107cb81f: Merge "Make BluetoothEventManager listen to ALIAS_CHANGED" into mnc-dev
Jason Monk [Thu, 25 Jun 2015 14:14:06 +0000 (14:14 +0000)]
am 107cb81f: Merge "Make BluetoothEventManager listen to ALIAS_CHANGED" into mnc-dev

* commit '107cb81f9054a406b94e249c99fd7d64be71faec':
  Make BluetoothEventManager listen to ALIAS_CHANGED

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 agoam 729ffa29: ICU format support for pseudolocalizes.
Igor Viarheichyk [Thu, 25 Jun 2015 09:46:17 +0000 (09:46 +0000)]
am 729ffa29: ICU format support for pseudolocalizes.

* commit '729ffa299ca786eb21ba8330096b33c7bcd66fbf':
  ICU format support for pseudolocalizes.

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 agoam e42441a2: Merge "Don\'t lose critical success/failure messages" into mnc-dev
Erik Kline [Thu, 25 Jun 2015 05:08:52 +0000 (05:08 +0000)]
am e42441a2: Merge "Don\'t lose critical success/failure messages" into mnc-dev

* commit 'e42441a232ae1a75cdd2541f974ed8da258b97cd':
  Don't lose critical success/failure messages

9 years agoam 57f2dac7: Merge "iUpdate the sensor group description" into mnc-dev
Svetoslav [Thu, 25 Jun 2015 05:08:38 +0000 (05:08 +0000)]
am 57f2dac7: Merge "iUpdate the sensor group description" into mnc-dev

* commit '57f2dac721e01ad92843511b142cfc5ed738dda9':
  iUpdate the sensor group description

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 agoam 2e2d030b: am a50fa710: (-s ours) am 001df9ca: DO NOT MERGE: Introduce stem keycode...
Anthony Hugh [Thu, 25 Jun 2015 01:43:46 +0000 (01:43 +0000)]
am 2e2d030b: am a50fa710: (-s ours) am 001df9ca: DO NOT MERGE: Introduce stem keycodes for Wear

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

9 years agoam 656fd493: Merge "Make NONEwithECDSA truncate input when necessary." into mnc-dev
Alex Klyubin [Thu, 25 Jun 2015 01:43:42 +0000 (01:43 +0000)]
am 656fd493: Merge "Make NONEwithECDSA truncate input when necessary." into mnc-dev

* commit '656fd49386ddd55e0dfe19ae7287413af7fff295':
  Make NONEwithECDSA truncate input when necessary.

9 years agoam 8f7ae66e: Merge "Frameworks/base: Add tracing system properties" into mnc-dev
Andreas Gampe [Thu, 25 Jun 2015 01:43:38 +0000 (01:43 +0000)]
am 8f7ae66e: Merge "Frameworks/base: Add tracing system properties" into mnc-dev

* commit '8f7ae66e47181ee87985da63d8aa6ef0cad20ab2':
  Frameworks/base: Add tracing system properties

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 agoam ecff75a1: Merge "Revert "Throw IAE on invalid measure spec size"" into mnc-dev
Dave Langemak [Thu, 25 Jun 2015 01:30:46 +0000 (01:30 +0000)]
am ecff75a1: Merge "Revert "Throw IAE on invalid measure spec size"" into mnc-dev

* commit 'ecff75a158db0514dc019eb3ec9b3f04c1a8f420':
  Revert "Throw IAE on invalid measure spec size"

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 agoam 3704da0d: Merge "No need to check WRITE_SETTINGS permission in ContentProvider...
Amith Yamasani [Thu, 25 Jun 2015 00:38:09 +0000 (00:38 +0000)]
am 3704da0d: Merge "No need to check WRITE_SETTINGS permission in ContentProvider" into mnc-dev

* commit '3704da0d9e45605e0ff38408a30de38b672ff83e':
  No need to check WRITE_SETTINGS permission in ContentProvider

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 agoam 10bf27e2: Merge "Avoid negative childSpecSize in RelativeLayout" into mnc-dev
Alan Viverette [Thu, 25 Jun 2015 00:17:58 +0000 (00:17 +0000)]
am 10bf27e2: Merge "Avoid negative childSpecSize in RelativeLayout" into mnc-dev

* commit '10bf27e2c90f05a8acad3cf902a9bf3ab8dbcca3':
  Avoid negative childSpecSize in RelativeLayout

9 years agoam 91feb107: Merge "Fix ChooserActivity check for still-alive ChooserTargets" into...
Adam Powell [Thu, 25 Jun 2015 00:17:54 +0000 (00:17 +0000)]
am 91feb107: Merge "Fix ChooserActivity check for still-alive ChooserTargets" into mnc-dev

* commit '91feb107f2c7b51bf3cbdef43bea2fb61b56a8ee':
  Fix ChooserActivity check for still-alive ChooserTargets

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 agoam 93666e86: Merge "Resize the VectorDrawable according to the virtual Dpi" into...
ztenghui [Wed, 24 Jun 2015 23:44:36 +0000 (23:44 +0000)]
am 93666e86: Merge "Resize the VectorDrawable according to the virtual Dpi" into mnc-dev

* commit '93666e8691c9b41855add5c1c92bfc9e0912764e':
  Resize the VectorDrawable according to the virtual Dpi

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 agoam 6acb521f: Merge "Update local state when creating LayerDrawable from constant...
Alan Viverette [Wed, 24 Jun 2015 23:26:41 +0000 (23:26 +0000)]
am 6acb521f: Merge "Update local state when creating LayerDrawable from constant state" into mnc-dev

* commit '6acb521f7c5d13b4f9891822db6121dcedce268a':
  Update local state when creating LayerDrawable from constant state

9 years agoam e5c7ca7d: Rename and add carrier config keys for volte and ims.
Junda Liu [Wed, 24 Jun 2015 23:26:36 +0000 (23:26 +0000)]
am e5c7ca7d: Rename and add carrier config keys for volte and ims.

* commit 'e5c7ca7d792f0ecb8219c217d756080d1d4c3933':
  Rename and add carrier config keys for volte and ims.

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 agoam 948c6ecc: Merge "add cpuset support" into mnc-dev
Tim Murray [Wed, 24 Jun 2015 23:08:43 +0000 (23:08 +0000)]
am 948c6ecc: Merge "add cpuset support" into mnc-dev

* commit '948c6ecc5a460ce78dc1d012ccb3efc844699985':
  add cpuset support

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 agoam 1cc86956: Merge "Fixed an inconsistency when booting up with SIMPIn" into mnc-dev
Selim Cinek [Wed, 24 Jun 2015 22:25:30 +0000 (22:25 +0000)]
am 1cc86956: Merge "Fixed an inconsistency when booting up with SIMPIn" into mnc-dev

* commit '1cc869561e6615bf8c473cdf5dfc8773e4c839e5':
  Fixed an inconsistency when booting up with SIMPIn

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

* commit '3b9fbd2f2de75e53a836d3cb73bcfc25fdb3a67a':
  Fixed a bug with encryption where the keyguard was never shown with PIN

9 years agoam 749d66b8: Merge "remove setLatestEventInfo" into mnc-dev
Chris Wren [Wed, 24 Jun 2015 22:25:20 +0000 (22:25 +0000)]
am 749d66b8: Merge "remove setLatestEventInfo" into mnc-dev

* commit '749d66b82fcfa82649536d2a0739a1a84edc0400':
  remove setLatestEventInfo

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 agoam cede20a7: am 1ee8470c: am 3eefa1f9: Merge "docs: Update Android support page"...
Joe Fernandez [Wed, 24 Jun 2015 22:11:15 +0000 (22:11 +0000)]
am cede20a7: am 1ee8470c: am 3eefa1f9: Merge "docs: Update Android support page" into mnc-preview-docs

* commit 'cede20a7c273279a9bc51750bdd99c1383816e3e':
  docs: Update Android support page

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 agoam b21a77fe: Merge "Allow callers holding PACKAGE_USAGE_STATS permission to call...
Adam Lesinski [Wed, 24 Jun 2015 21:44:21 +0000 (21:44 +0000)]
am b21a77fe: Merge "Allow callers holding PACKAGE_USAGE_STATS permission to call ActivityManager#getPackageImportance()" into mnc-dev

* commit 'b21a77fefca16b5bdc6e6f65e84f9e6548c5f717':
  Allow callers holding PACKAGE_USAGE_STATS permission to call ActivityManager#getPackageImportance()

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 agoam 9336eb5d: Merge "Update the internal test case to show the strokeWidth can scale...
ztenghui [Wed, 24 Jun 2015 21:32:10 +0000 (21:32 +0000)]
am 9336eb5d: Merge "Update the internal test case to show the strokeWidth can scale now" into mnc-dev

* commit '9336eb5d1c962d6e4cd66a1ce3333da510dfd6d5':
  Update the internal test case to show the strokeWidth can scale now

9 years agoam 6301d802: Merge "Catching launch errors when trying to go Home while Home is updat...
Winson Chung [Wed, 24 Jun 2015 21:32:06 +0000 (21:32 +0000)]
am 6301d802: Merge "Catching launch errors when trying to go Home while Home is updating." into mnc-dev

* commit '6301d802244f6e6c9fc6084e4bedd20ba0bd3064':
  Catching launch errors when trying to go Home while Home is updating.

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 agoam 420cf236: Merge "Make measureText(String, int, int) not use context" into mnc-dev
Raph Levien [Wed, 24 Jun 2015 21:23:17 +0000 (21:23 +0000)]
am 420cf236: Merge "Make measureText(String, int, int) not use context" into mnc-dev

* commit '420cf236762db164ef8d37b336ee18ba84aab5b6':
  Make measureText(String, int, int) not use context

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

9 years agoMerge "Make measureText(String, int, int) not use context" into mnc-dev
Raph Levien [Wed, 24 Jun 2015 21:12:33 +0000 (21:12 +0000)]
Merge "Make measureText(String, int, int) not use context" into mnc-dev

9 years agoCatching launch errors when trying to go Home while Home is updating.
Winson Chung [Tue, 23 Jun 2015 18:52:04 +0000 (11:52 -0700)]
Catching launch errors when trying to go Home while Home is updating.

Bug: 21442898

Change-Id: I7fc74422b220cb02acb195b5c9121ff72bc16dbe

9 years agoUpdate the internal test case to show the strokeWidth can scale now
ztenghui [Wed, 24 Jun 2015 21:06:53 +0000 (14:06 -0700)]
Update the internal test case to show the strokeWidth can scale now

Change-Id: I16b0a232eb4108aedc9289e51a52ec9472b9dfd0

9 years agoMake measureText(String, int, int) not use context
Raph Levien [Wed, 24 Jun 2015 16:36:31 +0000 (09:36 -0700)]
Make measureText(String, int, int) not use context

The measureText method when applied to a string should just measure
the substring, rather than treat the entire string as context. It was
less likely to cause problems than the similar issues with char
arrays, but still wrong. This patch makes the behavior consistent.

Bug: 20087437
Change-Id: I1c6e07a694b151f4fb097edae8e271805e996d06

9 years agoFix ChooserActivity check for still-alive ChooserTargets
Adam Powell [Wed, 24 Jun 2015 20:54:10 +0000 (13:54 -0700)]
Fix ChooserActivity check for still-alive ChooserTargets

Only prune ChooserTargets if the resolved activity source they came
from is still present after refreshing the list. Compare this directly
against the ComponentName rather than ResolveInfo.equals, as the
latter isn't implemented.

Bug 21953672

Change-Id: I6486bda85c19d7371167affe2a2b80a2668bd734

9 years agoam 1af5fe23: Merge "Require that verified intent filters only have http/https <data...
Christopher Tate [Wed, 24 Jun 2015 20:41:07 +0000 (20:41 +0000)]
am 1af5fe23: Merge "Require that verified intent filters only have http/https <data> decls" into mnc-dev

* commit '1af5fe230835881fee04ce706ddc71181e014db6':
  Require that verified intent filters only have http/https <data> decls

9 years agoam 94f5fe86: am f5222156: am 00ebd145: docs: Added "Single Use Devices" video to...
Andrew Solovay [Wed, 24 Jun 2015 20:41:03 +0000 (20:41 +0000)]
am 94f5fe86: am f5222156: am 00ebd145: docs: Added "Single Use Devices" video to Android for Work main page

* commit '94f5fe8612c3ec3cf233e7e1bfb081e9fb5455fd':
  docs: Added "Single Use Devices" video to Android for Work main page

9 years agoAllow callers holding PACKAGE_USAGE_STATS permission to call ActivityManager#getPacka...
Adam Lesinski [Wed, 24 Jun 2015 20:24:35 +0000 (13:24 -0700)]
Allow callers holding PACKAGE_USAGE_STATS permission to call ActivityManager#getPackageImportance()

Bug:22055550
Change-Id: I1e732e95698daf44bcb223cafde3d3c22746d232

9 years agoMerge "Require that verified intent filters only have http/https <data> decls" into...
Christopher Tate [Wed, 24 Jun 2015 20:35:17 +0000 (20:35 +0000)]
Merge "Require that verified intent filters only have http/https <data> decls" into mnc-dev

9 years agoam f5222156: am 00ebd145: docs: Added "Single Use Devices" video to Android for Work...
Andrew Solovay [Wed, 24 Jun 2015 20:27:51 +0000 (20:27 +0000)]
am f5222156: am 00ebd145: docs: Added "Single Use Devices" video to Android for Work main page

* commit 'f522215653bef1dc6bc5a140d6e1cb0cd2db7824':
  docs: Added "Single Use Devices" video to Android for Work main page

9 years agoRequire that verified intent filters only have http/https <data> decls
Christopher Tate [Wed, 24 Jun 2015 02:23:46 +0000 (19:23 -0700)]
Require that verified intent filters only have http/https <data> decls

It is malformed to write a single intent filter like this:

  <intent-filter android:autoVerify="true">
    <data android:host="foo.example"
          android:path="/"
          android:scheme="http" />
    <data android:host="*"
          android:path="/custom"
          android:scheme="fooexamplecustomscheme" />
  </intent-filter>

In practice this app is accidentally defining a filter that will match
"http://*".  This is now detected, and will never be auto-verified for
any of the mentioned domains.

Verified intent filters must *only* handle the http & https schemes.

Bug 21920537

Change-Id: I933cddbea23185d242565cac940e1e7a7e4e289b

9 years agoam 00ebd145: docs: Added "Single Use Devices" video to Android for Work main page
Andrew Solovay [Wed, 24 Jun 2015 20:15:17 +0000 (20:15 +0000)]
am 00ebd145: docs: Added "Single Use Devices" video to Android for Work main page

* commit '00ebd145d1572e0d12403ed0194d540926996f0e':
  docs: Added "Single Use Devices" video to Android for Work main page

9 years agoam d4e9e0e1: Merge "Keymaster INT, LONG and DATE tag values are unsigned." into mnc-dev
Alex Klyubin [Wed, 24 Jun 2015 20:14:40 +0000 (20:14 +0000)]
am d4e9e0e1: Merge "Keymaster INT, LONG and DATE tag values are unsigned." into mnc-dev

* commit 'd4e9e0e1d6b860c7cc93d06d8b5fdc0004e56b80':
  Keymaster INT, LONG and DATE tag values are unsigned.

9 years agoMerge "Keymaster INT, LONG and DATE tag values are unsigned." into mnc-dev
Alex Klyubin [Wed, 24 Jun 2015 20:03:08 +0000 (20:03 +0000)]
Merge "Keymaster INT, LONG and DATE tag values are unsigned." into mnc-dev

9 years agoam e16ee482: Merge "Notify on BAD_REMOVAL and pass fsUuid in broadcast" into mnc-dev
Tony Mantler [Wed, 24 Jun 2015 19:55:34 +0000 (19:55 +0000)]
am e16ee482: Merge "Notify on BAD_REMOVAL and pass fsUuid in broadcast" into mnc-dev

* commit 'e16ee482a6f1a44267e31193b1d61e5098694756':
  Notify on BAD_REMOVAL and pass fsUuid in broadcast

9 years agoam 80b60bbb: Merge "Fix NPE when walking the set of packages to update app link polic...
Christopher Tate [Wed, 24 Jun 2015 19:55:30 +0000 (19:55 +0000)]
am 80b60bbb: Merge "Fix NPE when walking the set of packages to update app link policy" into mnc-dev

* commit '80b60bbb5efa42acef12843cde0d7a97f800337d':
  Fix NPE when walking the set of packages to update app link policy

9 years agoMerge "Notify on BAD_REMOVAL and pass fsUuid in broadcast" into mnc-dev
Tony Mantler [Wed, 24 Jun 2015 19:48:32 +0000 (19:48 +0000)]
Merge "Notify on BAD_REMOVAL and pass fsUuid in broadcast" into mnc-dev

9 years agoMerge "Fix NPE when walking the set of packages to update app link policy" into mnc-dev
Christopher Tate [Wed, 24 Jun 2015 19:45:27 +0000 (19:45 +0000)]
Merge "Fix NPE when walking the set of packages to update app link policy" into mnc-dev

9 years agoam 0633ae74: Merge "Actually wait for installd" into mnc-dev
Makoto Onuki [Wed, 24 Jun 2015 19:36:29 +0000 (19:36 +0000)]
am 0633ae74: Merge "Actually wait for installd" into mnc-dev

* commit '0633ae7481045b96da09a6c9e1b360d79433a151':
  Actually wait for installd

9 years agoMerge "Actually wait for installd" into mnc-dev
Makoto Onuki [Wed, 24 Jun 2015 19:25:26 +0000 (19:25 +0000)]
Merge "Actually wait for installd" into mnc-dev

9 years agoFix NPE when walking the set of packages to update app link policy
Christopher Tate [Wed, 24 Jun 2015 19:18:05 +0000 (12:18 -0700)]
Fix NPE when walking the set of packages to update app link policy

Bug 21851441

Change-Id: I3616c5a7e40f5ff9ad9bbfee579a4a2fb2b1f7fd

9 years agoremove setLatestEventInfo
Chris Wren [Wed, 24 Jun 2015 19:18:34 +0000 (15:18 -0400)]
remove setLatestEventInfo

This has been deprecated since API 11.

Bug: 18510449
Change-Id: Ibd052572aa8c332daf5f6a604afe1925e8998a2b

9 years agodocs: Added "Single Use Devices" video to Android for Work main page
Andrew Solovay [Wed, 24 Jun 2015 18:56:56 +0000 (11:56 -0700)]
docs: Added "Single Use Devices" video to Android for Work main page

See first comment for doc stage location.

Change-Id: I0b64f8462eebc5d11c7972fd49147fdd1d6cdd3a

9 years agoam 6b0f384f: Merge "Volume Motion: Initial show and expand transition." into mnc-dev
John Spurlock [Wed, 24 Jun 2015 18:55:52 +0000 (18:55 +0000)]
am 6b0f384f: Merge "Volume Motion: Initial show and expand transition." into mnc-dev

* commit '6b0f384f0042c21129466c100e20aec1a325a8da':
  Volume Motion: Initial show and expand transition.

9 years agoam 67f17099: Merge "Fix unit issue in Slog.wtf output" into mnc-dev
Adam Lesinski [Wed, 24 Jun 2015 18:55:47 +0000 (18:55 +0000)]
am 67f17099: Merge "Fix unit issue in Slog.wtf output" into mnc-dev

* commit '67f170993fda3a5b629dc4c55ec52db99176d3df':
  Fix unit issue in Slog.wtf output

9 years agoMerge "Volume Motion: Initial show and expand transition." into mnc-dev
John Spurlock [Wed, 24 Jun 2015 18:46:51 +0000 (18:46 +0000)]
Merge "Volume Motion: Initial show and expand transition." into mnc-dev

9 years agoMerge "Fix unit issue in Slog.wtf output" into mnc-dev
Adam Lesinski [Wed, 24 Jun 2015 18:45:44 +0000 (18:45 +0000)]
Merge "Fix unit issue in Slog.wtf output" into mnc-dev

9 years agoNotify on BAD_REMOVAL and pass fsUuid in broadcast
Tony Mantler [Wed, 24 Jun 2015 18:45:25 +0000 (11:45 -0700)]
Notify on BAD_REMOVAL and pass fsUuid in broadcast

b/21328721

Change-Id: I6d2fd18468bcde72e4c050b975fd7286716fbc50

9 years agoFix unit issue in Slog.wtf output
Adam Lesinski [Wed, 24 Jun 2015 18:37:26 +0000 (11:37 -0700)]
Fix unit issue in Slog.wtf output

Bug:22063930
Change-Id: I02add66892eb32b1df7e845b8542beb928d2b3ca