OSDN Git Service

android-x86/frameworks-base.git
9 years agoam f1a1160c: am c0d6b7cb: Merge "Fix typo"
Alex Klyubin [Wed, 8 Apr 2015 22:03:55 +0000 (22:03 +0000)]
am f1a1160c: am c0d6b7cb: Merge "Fix typo"

* commit 'f1a1160c68f6c289d3b82573f1a16f9c52aebab4':
  Fix typo

9 years agoMerge "Replaced zeros with UserHandle.USER_OWNER"
Fyodor Kupolov [Wed, 8 Apr 2015 22:03:51 +0000 (22:03 +0000)]
Merge "Replaced zeros with UserHandle.USER_OWNER"

9 years agoam c48e8cf0: am edd0e6c0: Merge "Refuse to reuse IV in encryption mode in AndroidKeyS...
Alex Klyubin [Wed, 8 Apr 2015 22:03:51 +0000 (22:03 +0000)]
am c48e8cf0: am edd0e6c0: Merge "Refuse to reuse IV in encryption mode in AndroidKeyStore."

* commit 'c48e8cf07a180e185948673579828d064e6efc7a':
  Refuse to reuse IV in encryption mode in AndroidKeyStore.

9 years agoam 0649c832: am 3283d2d2: Merge "Add BlockMode.GCM constant to AndroidKeyStore API."
Alex Klyubin [Wed, 8 Apr 2015 22:03:47 +0000 (22:03 +0000)]
am 0649c832: am 3283d2d2: Merge "Add BlockMode.GCM constant to AndroidKeyStore API."

* commit '0649c832b8285d1b07c6e07362dbfe3ca0535609':
  Add BlockMode.GCM constant to AndroidKeyStore API.

9 years agoMerge "Prevent windows from freezing screen while timeout"
Olawale Ogunwale [Wed, 8 Apr 2015 21:56:09 +0000 (21:56 +0000)]
Merge "Prevent windows from freezing screen while timeout"

9 years agoMake TransitionManager.endTransitions() public.
George Mount [Tue, 31 Mar 2015 17:22:33 +0000 (10:22 -0700)]
Make TransitionManager.endTransitions() public.

Bug 19231835

Change-Id: I151bae1d10aaab72f8fea73eaf0538f0aa5d810a

9 years agoAllow delay of showing/hiding shared element when transferring.
George Mount [Wed, 8 Apr 2015 21:48:02 +0000 (14:48 -0700)]
Allow delay of showing/hiding shared element when transferring.

Bug 18932344

Change-Id: Ic967551a4dd27967d2312a6c6c8a83b34c220031

9 years agoFix some jank when expanding quick settings
Jorim Jaggi [Wed, 8 Apr 2015 21:41:43 +0000 (14:41 -0700)]
Fix some jank when expanding quick settings

Change-Id: Iba0ceb8b6085bec9fdee588eead073527a44540d

9 years agoam c0d6b7cb: Merge "Fix typo"
Alex Klyubin [Wed, 8 Apr 2015 21:37:26 +0000 (21:37 +0000)]
am c0d6b7cb: Merge "Fix typo"

* commit 'c0d6b7cb752b50ed37197e15cc6f305a0038e61b':
  Fix typo

9 years agoam edd0e6c0: Merge "Refuse to reuse IV in encryption mode in AndroidKeyStore."
Alex Klyubin [Wed, 8 Apr 2015 21:37:11 +0000 (21:37 +0000)]
am edd0e6c0: Merge "Refuse to reuse IV in encryption mode in AndroidKeyStore."

* commit 'edd0e6c09820b08f22937bbbc00149adc6d66f07':
  Refuse to reuse IV in encryption mode in AndroidKeyStore.

9 years agoam 3283d2d2: Merge "Add BlockMode.GCM constant to AndroidKeyStore API."
Alex Klyubin [Wed, 8 Apr 2015 21:37:04 +0000 (21:37 +0000)]
am 3283d2d2: Merge "Add BlockMode.GCM constant to AndroidKeyStore API."

* commit '3283d2d208c0686fa964008e1520179948886adb':
  Add BlockMode.GCM constant to AndroidKeyStore API.

9 years agoMerge "Add more digests to AndroidKeyStore API."
Alex Klyubin [Wed, 8 Apr 2015 21:32:08 +0000 (21:32 +0000)]
Merge "Add more digests to AndroidKeyStore API."

9 years agoAdd more digests to AndroidKeyStore API.
Alex Klyubin [Wed, 8 Apr 2015 21:15:57 +0000 (14:15 -0700)]
Add more digests to AndroidKeyStore API.

This adds MD5, SHA-1, SHA-224, SHA-384, and SHA-512. SHA-256 was
already there.

MD5 is not exposed for HMAC on purpose, because MD5 has been
deprecated for years.

Bug: 18088752
Change-Id: I4df3d3f6cf10805c7910a1bdb577a91c85055945

9 years agoMerge "Clear hyphenEdit from Layout's paint"
Raph Levien [Wed, 8 Apr 2015 21:08:56 +0000 (21:08 +0000)]
Merge "Clear hyphenEdit from Layout's paint"

9 years agoMerge "Hide and make systemapi visual voicemail-related apis."
Nancy Chen [Wed, 8 Apr 2015 20:57:52 +0000 (20:57 +0000)]
Merge "Hide and make systemapi visual voicemail-related apis."

9 years agoMerge "camera2: add reprocess format map"
Chien-Yu Chen [Wed, 8 Apr 2015 20:42:39 +0000 (20:42 +0000)]
Merge "camera2: add reprocess format map"

9 years agoClear hyphenEdit from Layout's paint
Raph Levien [Wed, 8 Apr 2015 20:35:03 +0000 (13:35 -0700)]
Clear hyphenEdit from Layout's paint

The paint of a layout may be reused with other things (in particular,
it can be passed to a BoringLayout), so make sure the hyphenEdit is
zeroed out after use.

Change-Id: If58c5588af9642c3ba827acefea7895e814daab9

9 years agoMerge "Apps can request permissions only on platforms that have runtime permissions."
Svetoslav [Wed, 8 Apr 2015 19:27:56 +0000 (19:27 +0000)]
Merge "Apps can request permissions only on platforms that have runtime permissions."

9 years agoam 163e5016: am ff5e9554: am 67f0c8db: am a147451a: am c61fd055: am ff4c6325: Merge...
Quddus Chong [Wed, 8 Apr 2015 19:21:23 +0000 (19:21 +0000)]
am 163e5016: am ff5e9554: am 67f0c8db: am a147451a: am c61fd055: am ff4c6325: Merge "cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e" into

* commit '163e501609c8f17c1ab20b78c3d5d6691abc2bc2':
  cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e

9 years agoMerge "Revert "Camera2: Add camera pose and distortion fields""
Timothy Knight [Wed, 8 Apr 2015 19:14:36 +0000 (19:14 +0000)]
Merge "Revert "Camera2: Add camera pose and distortion fields""

9 years agoRevert "Camera2: Add camera pose and distortion fields"
Timothy Knight [Wed, 8 Apr 2015 19:13:43 +0000 (19:13 +0000)]
Revert "Camera2: Add camera pose and distortion fields"

This reverts commit da1e6411be6d69650d7e8ae42e738f2dbb356777.

Change-Id: Id04cc86cf9740a2a9bf5eb047b633a2abd90f561

9 years agoam ff5e9554: am 67f0c8db: am a147451a: am c61fd055: am ff4c6325: Merge "cherrypick...
Quddus Chong [Wed, 8 Apr 2015 19:10:47 +0000 (19:10 +0000)]
am ff5e9554: am 67f0c8db: am a147451a: am c61fd055: am ff4c6325: Merge "cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e" into lmp-docs

* commit 'ff5e9554cf0a1a2eaf2e353698b91400a3c57f17':
  cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e

9 years agoMerge "Prototype the destination picking."
Ben Kwa [Wed, 8 Apr 2015 19:05:24 +0000 (19:05 +0000)]
Merge "Prototype the destination picking."

9 years agoMerge "Add SIM activation constants to TelephonyManager"
Santos Cordon [Wed, 8 Apr 2015 19:01:31 +0000 (19:01 +0000)]
Merge "Add SIM activation constants to TelephonyManager"

9 years agoam 67f0c8db: am a147451a: am c61fd055: am ff4c6325: Merge "cherrypick from lmp-mr1...
Quddus Chong [Wed, 8 Apr 2015 18:59:37 +0000 (18:59 +0000)]
am 67f0c8db: am a147451a: am c61fd055: am ff4c6325: Merge "cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e" into lmp-docs

* commit '67f0c8db35be1c43b3f588e3414557749a277e6f':
  cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e

9 years agoMerge "ImageReader/Writer: implement opaque format operations"
Zhijun He [Wed, 8 Apr 2015 18:57:54 +0000 (18:57 +0000)]
Merge "ImageReader/Writer: implement opaque format operations"

9 years agoPrototype the destination picking.
Ben Kwa [Tue, 7 Apr 2015 22:43:39 +0000 (15:43 -0700)]
Prototype the destination picking.

- Add an intent to open a destination picker, and refactor
DocumentsActivity accordingly.
- Modify CopyService to take a destination for the copy, and to use URIs
and PFDs instead of Files and Streams, for better error handling &
cleanup.

Change-Id: I69dc43823a703674dc29d2215e2df23b33ad7882

9 years agoMerge "Camera2: Add camera pose and distortion fields"
Timothy Knight [Wed, 8 Apr 2015 18:52:27 +0000 (18:52 +0000)]
Merge "Camera2: Add camera pose and distortion fields"

9 years agoam a147451a: am c61fd055: am ff4c6325: Merge "cherrypick from lmp-mr1-dev. Fixed...
Quddus Chong [Wed, 8 Apr 2015 18:48:57 +0000 (18:48 +0000)]
am a147451a: am c61fd055: am ff4c6325: Merge "cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e" into lmp-docs

* commit 'a147451ab92e29141cd85d5c75a881586d5959df':
  cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e

9 years agoam 5985981b: am b49748cf: am 0c5752be: am c736e8cf: am f0ab39c1: Merge "Fixed broken...
Quddus Chong [Wed, 8 Apr 2015 18:44:02 +0000 (18:44 +0000)]
am 5985981b: am b49748cf: am 0c5752be: am c736e8cf: am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873" into lmp-mr1-dev

* commit '5985981ba45b97e381312ba53f191396607b447d':
  Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873

9 years agoam c61fd055: am ff4c6325: Merge "cherrypick from lmp-mr1-dev. Fixed broken link in...
Quddus Chong [Wed, 8 Apr 2015 18:38:47 +0000 (18:38 +0000)]
am c61fd055: am ff4c6325: Merge "cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e" into lmp-docs

* commit 'c61fd05581a80bcecf50509acb220ea3e2817e56':
  cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e

9 years agoCamera2: Add camera pose and distortion fields
Eino-Ville Talvala [Mon, 9 Feb 2015 23:56:40 +0000 (15:56 -0800)]
Camera2: Add camera pose and distortion fields

- android.lens.info.poseRotation
- android.lens.info.poseTranslation
- android.lens.info.intrinsicCalibration
- android.lens.info.radialDistortion

Change-Id: I3f8cf258b600bc58d0743e44aa6c456cd4b8a906

9 years agoam b49748cf: am 0c5752be: am c736e8cf: am f0ab39c1: Merge "Fixed broken link in UiAut...
Quddus Chong [Wed, 8 Apr 2015 18:33:43 +0000 (18:33 +0000)]
am b49748cf: am 0c5752be: am c736e8cf: am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873" into lmp-mr1-dev

* commit 'b49748cfd3a4f87c394307787665c09521faa77d':
  Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873

9 years agoam ff4c6325: Merge "cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation...
Quddus Chong [Wed, 8 Apr 2015 18:27:56 +0000 (18:27 +0000)]
am ff4c6325: Merge "cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e" into lmp-docs

* commit 'ff4c632592cce177997d63b3ff81c0b2be9cf9bb':
  cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e

9 years agoam 0c5752be: am c736e8cf: am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRu...
Quddus Chong [Wed, 8 Apr 2015 18:23:52 +0000 (18:23 +0000)]
am 0c5752be: am c736e8cf: am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873" into lmp-mr1-dev

* commit '0c5752be40a9e7ced5be2659965f3c4ba3c3f4eb':
  Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873

9 years agoMerge "cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey...
Quddus Chong [Wed, 8 Apr 2015 18:16:56 +0000 (18:16 +0000)]
Merge "cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e" into lmp-docs

9 years agoMerge "Fix typo"
Alex Klyubin [Wed, 8 Apr 2015 18:16:36 +0000 (18:16 +0000)]
Merge "Fix typo"

9 years agoam c736e8cf: am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey...
Quddus Chong [Wed, 8 Apr 2015 18:11:55 +0000 (18:11 +0000)]
am c736e8cf: am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873" into lmp-mr1-dev

* commit 'c736e8cf41445e7a32721da617d6d7eacd189703':
  Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873

9 years agoMerge "Fix crash when removing draw listener"
Jorim Jaggi [Wed, 8 Apr 2015 18:11:42 +0000 (18:11 +0000)]
Merge "Fix crash when removing draw listener"

9 years agoFix typo
Alex Klyubin [Wed, 8 Apr 2015 18:08:37 +0000 (11:08 -0700)]
Fix typo

Change-Id: I1c47ade98ad3ae41dc55e7bcafcad6901b559c89

9 years agoMerge "Refuse to reuse IV in encryption mode in AndroidKeyStore."
Alex Klyubin [Wed, 8 Apr 2015 18:04:38 +0000 (18:04 +0000)]
Merge "Refuse to reuse IV in encryption mode in AndroidKeyStore."

9 years agoAdd SIM activation constants to TelephonyManager
Santos Cordon [Mon, 6 Apr 2015 17:50:17 +0000 (10:50 -0700)]
Add SIM activation constants to TelephonyManager

Change-Id: I43fe5de4a1137bede4e81f4d51f272ad92dc80d5

9 years agocherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() metho...
Quddus Chong [Tue, 7 Apr 2015 20:03:29 +0000 (13:03 -0700)]
cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description.
bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e

Change-Id: I48d1e2f8e1f7d94dffac61a274f9c1a2df31a822

9 years agoam f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method descrip...
Quddus Chong [Wed, 8 Apr 2015 17:53:44 +0000 (17:53 +0000)]
am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873" into lmp-mr1-dev

* commit 'f0ab39c10b614514ba4a600aa6fd4354253cde73':
  Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873

9 years agoMerge "Add BlockMode.GCM constant to AndroidKeyStore API."
Alex Klyubin [Wed, 8 Apr 2015 17:51:12 +0000 (17:51 +0000)]
Merge "Add BlockMode.GCM constant to AndroidKeyStore API."

9 years agoFix crash when removing draw listener
Jorim Jaggi [Wed, 8 Apr 2015 17:47:22 +0000 (10:47 -0700)]
Fix crash when removing draw listener

The same behavior can be achieved by using a predraw listener, which
can be removed while the callback is called, so it doesn't crash.

Change-Id: I3a7138ba49936159dc95b7758c9603366dcf808c

9 years agoMerge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug...
Quddus Chong [Wed, 8 Apr 2015 17:46:20 +0000 (17:46 +0000)]
Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873" into lmp-mr1-dev

9 years agoImageReader/Writer: implement opaque format operations
Zhijun He [Sun, 29 Mar 2015 23:33:59 +0000 (16:33 -0700)]
ImageReader/Writer: implement opaque format operations

Implement attach/detach for image reader and writer.

Bug: 19872821
Change-Id: Ib45a054c6be0b56b370fa8d709b47b0298ba5ea7

9 years agoMerge "Relabel emergency button"
Adrian Roos [Wed, 8 Apr 2015 16:58:57 +0000 (16:58 +0000)]
Merge "Relabel emergency button"

9 years agoRelabel emergency button
Adrian Roos [Wed, 8 Apr 2015 16:56:38 +0000 (18:56 +0200)]
Relabel emergency button

Bug: 19574098
Change-Id: Iddf96ba2206838712980aea00c9ea304f590c8b3

9 years agoam 81954cf3: am 8ddc3e26: am 393f89f2: Merge "[ActivityManager] Avoid NullPointerExce...
Olawale Ogunwale [Wed, 8 Apr 2015 16:51:01 +0000 (16:51 +0000)]
am 81954cf3: am 8ddc3e26: am 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if no crash info"

* commit '81954cf30816a007186fbf3be375feed5a7936cc':
  [ActivityManager] Avoid NullPointerException if no crash info

9 years agoRefuse to reuse IV in encryption mode in AndroidKeyStore.
Alex Klyubin [Wed, 8 Apr 2015 16:42:16 +0000 (09:42 -0700)]
Refuse to reuse IV in encryption mode in AndroidKeyStore.

This makes IV-using Cipher implementations backed by AndroidKeyStore
refuse to be reused. After Cipher.doFinal completes, invoking update
or doFinal will raise an exception. This is to make it harder to
violate the security best practice of not reusing IV in encryption
mode.

Bug: 18088752
Change-Id: I5102f9e8b2ff428254294703e48948ea8576603d

9 years agoam 8ddc3e26: am 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if...
Olawale Ogunwale [Wed, 8 Apr 2015 16:40:24 +0000 (16:40 +0000)]
am 8ddc3e26: am 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if no crash info"

* commit '8ddc3e26e6534adc6f0cdc5c8b9e6ddc3fe3dd10':
  [ActivityManager] Avoid NullPointerException if no crash info

9 years agoam 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if no crash info"
Olawale Ogunwale [Wed, 8 Apr 2015 16:28:52 +0000 (16:28 +0000)]
am 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if no crash info"

* commit '393f89f26df724a3da7a21b28925a21fe5fb253f':
  [ActivityManager] Avoid NullPointerException if no crash info

9 years agoPrevent windows from freezing screen while timeout
tiger_huang [Tue, 7 Apr 2015 09:35:13 +0000 (17:35 +0800)]
Prevent windows from freezing screen while timeout

The original logic lets windows be able to freeze screen again (by
setting win.mOrientationChanging=true) after WINDOW_FREEZE_TIMEOUT is
triggered before mInnerFields.mOrientationChangeComplete is set to
true. In this case, we would lose the protection of
WINDOW_FREEZE_TIMEOUT. If the app never finishes drawing the window,
the screen would keep freezing that the user cannot operate the
device.

Change-Id: I45a0a9e4b3f8d5b0b0043229bfa4890236ae8ab2

9 years agoMerge "[ActivityManager] Avoid NullPointerException if no crash info"
Olawale Ogunwale [Wed, 8 Apr 2015 16:07:44 +0000 (16:07 +0000)]
Merge "[ActivityManager] Avoid NullPointerException if no crash info"

9 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 8 Apr 2015 15:41:10 +0000 (15:41 +0000)]
Merge "Import translations. DO NOT MERGE"

9 years agoMerge "Allow disabling the lock screen when multiple users are present"
Benjamin Franz [Wed, 8 Apr 2015 15:02:40 +0000 (15:02 +0000)]
Merge "Allow disabling the lock screen when multiple users are present"

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Apr 2015 14:43:35 +0000 (07:43 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id26cdcbd9afee8df2e9f8435383923dcc4d96feb
Auto-generated-cl: translation import

9 years agoMerge "Animate ActionBar items"
Chet Haase [Wed, 8 Apr 2015 14:11:35 +0000 (14:11 +0000)]
Merge "Animate ActionBar items"

9 years agoMerge "Use default theme for StandaloneActivity (DocumentsUI)."
Tomasz Mikolajewski [Wed, 8 Apr 2015 13:33:10 +0000 (13:33 +0000)]
Merge "Use default theme for StandaloneActivity (DocumentsUI)."

9 years agoam ce5bdfea: am 380415b6: am 1bdbce29: Merge "[ActivityManager] Finish the failed...
Olawale Ogunwale [Wed, 8 Apr 2015 13:30:03 +0000 (13:30 +0000)]
am ce5bdfea: am 380415b6: am 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"

* commit 'ce5bdfea12657c1705d910a47cc48b65abc81723':
  [ActivityManager] Finish the failed-to-pause activity

9 years agoMerge "Add StubProvider::isChildDocument()."
Tomasz Mikolajewski [Wed, 8 Apr 2015 13:28:53 +0000 (13:28 +0000)]
Merge "Add StubProvider::isChildDocument()."

9 years agoam 380415b6: am 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"
Olawale Ogunwale [Wed, 8 Apr 2015 13:19:02 +0000 (13:19 +0000)]
am 380415b6: am 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"

* commit '380415b6431adeb8138bc328a926807b8ae41df9':
  [ActivityManager] Finish the failed-to-pause activity

9 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 8 Apr 2015 13:18:40 +0000 (13:18 +0000)]
Merge "Import translations. DO NOT MERGE"

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Apr 2015 13:13:49 +0000 (06:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2e860f32f21ae0449ca98dda3519e4733d2d614e
Auto-generated-cl: translation import

9 years agoam 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"
Olawale Ogunwale [Wed, 8 Apr 2015 13:09:42 +0000 (13:09 +0000)]
am 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"

* commit '1bdbce295cd7978e50b5444420ed222ec6c6281c':
  [ActivityManager] Finish the failed-to-pause activity

9 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 8 Apr 2015 12:55:19 +0000 (12:55 +0000)]
Merge "Import translations. DO NOT MERGE"

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Apr 2015 12:52:41 +0000 (05:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib75733c03e1a3350e192c9967a0f8b2e4b49e8c2
Auto-generated-cl: translation import

9 years agoMerge "[ActivityManager] Finish the failed-to-pause activity"
Olawale Ogunwale [Wed, 8 Apr 2015 12:51:11 +0000 (12:51 +0000)]
Merge "[ActivityManager] Finish the failed-to-pause activity"

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Apr 2015 12:35:59 +0000 (05:35 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0f9b0b3036a149b304b874fbaa2d95cf56e4e816
Auto-generated-cl: translation import

9 years agoUse default theme for StandaloneActivity (DocumentsUI).
Tomasz Mikolajewski [Wed, 8 Apr 2015 11:35:33 +0000 (20:35 +0900)]
Use default theme for StandaloneActivity (DocumentsUI).

Change-Id: I41841702e0b68123cb73ff1203ca6e6fe5eae320

9 years agoAdd StubProvider::isChildDocument().
Tomasz Mikolajewski [Wed, 8 Apr 2015 10:38:55 +0000 (19:38 +0900)]
Add StubProvider::isChildDocument().

Change-Id: Ib17df4307c1f658c42468f86e1f66d4469eefe58

9 years ago[ActivityManager] Avoid NullPointerException if no
louis_chang [Wed, 8 Apr 2015 10:04:11 +0000 (18:04 +0800)]
[ActivityManager] Avoid NullPointerException if no
crash info

Symptom:
This issue happens because the ANR process got killed
(because it crashed) before the ANR dialog dismissed.
In that case, the process record is marked as crashed
(ProcessRecord.crashing = true). When the ANR dialog
dismissed by user, it will cause NullPointerException
when writeToParcel while performing IPC because there
is no crash info (ApplicationErrorReport.crashInfo = null)

Solution:
Check crashinfo before access it

Change-Id: I2995de57684c1e13aab8297f5eea1e82ca3b7ad8

9 years ago[ActivityManager] Finish the failed-to-pause activity
louis_chang [Wed, 8 Apr 2015 08:35:55 +0000 (16:35 +0800)]
[ActivityManager] Finish the failed-to-pause activity

Symptom:
In some scenario, the mPausingActivity may be replaced by other
activity. When previous activity paused, the completePausedLocked()
won't be invoked because it is no longer the mPausingActivity. If
the activity is also pending to finish, it would never be done
because the activity kept in PAUSING state. Since the activity's
window also remain visible and is above on Wallpaper, user would
see it when back to home.

Solution:
Finish the failed-to-pause activity if the activity is pending to
finish.

A Real Case:
(1) Screen turn off
(2) The top activity T1 crashed
(3) When finish activity T1, the next top activity T2 will be
    scheduled to resume and pause (due to screen off).
(4) The activity T2 is also set to finishing due to T1 crashed.
(5) Before T2 paused and before paused timeout occurs, there has
    a new process started which brings up the next top activity T3
    to resume and pause. So the pausing activity is now replaced.
(6) When activity T2 paused, it cannot completed the pause operation
    T2 will remain in PAUSING and finishing state with its window
    visible. The process won't be killed because the oomadj stays
    at 1 (Visible).

Change-Id: Ib10fded891b21c774b26a93071c717fa50516e22

9 years agoMerge "Floating toolbar: Create the FloatingActionMode and use it in DecorView."
Clara Bayarri [Wed, 8 Apr 2015 07:59:58 +0000 (07:59 +0000)]
Merge "Floating toolbar: Create the FloatingActionMode and use it in DecorView."

9 years agoam 5b61a282: am e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
Romain Guy [Wed, 8 Apr 2015 07:38:58 +0000 (07:38 +0000)]
am 5b61a282: am e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"

* commit '5b61a282255b5273f5194db73f3c88550dc11a57':
  Prevent possible memory leak in SpanSet

9 years agoam e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
Romain Guy [Wed, 8 Apr 2015 07:27:58 +0000 (07:27 +0000)]
am e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"

* commit 'e4d787b277a4b9435688c7e6f380bfc367751f76':
  Prevent possible memory leak in SpanSet

9 years agoam 80e455e3: Merge "Prevent possible memory leak in SpanSet"
Romain Guy [Wed, 8 Apr 2015 07:14:35 +0000 (07:14 +0000)]
am 80e455e3: Merge "Prevent possible memory leak in SpanSet"

* commit '80e455e32580fb909af18ad0a21fccc6b433dd4b':
  Prevent possible memory leak in SpanSet

9 years agoMerge "Prevent possible memory leak in SpanSet"
Romain Guy [Wed, 8 Apr 2015 06:56:24 +0000 (06:56 +0000)]
Merge "Prevent possible memory leak in SpanSet"

9 years agoMerge "TIF: Redefine time shift status and change callback and position APIs"
Jae Seo [Wed, 8 Apr 2015 04:42:33 +0000 (04:42 +0000)]
Merge "TIF: Redefine time shift status and change callback and position APIs"

9 years agoMerge "Add an initial version for a StubProvider for DocumentsUI."
Tomasz Mikolajewski [Wed, 8 Apr 2015 04:19:39 +0000 (04:19 +0000)]
Merge "Add an initial version for a StubProvider for DocumentsUI."

9 years agoAdd an initial version for a StubProvider for DocumentsUI.
Tomasz Mikolajewski [Wed, 8 Apr 2015 00:21:08 +0000 (09:21 +0900)]
Add an initial version for a StubProvider for DocumentsUI.

It will be used for testing as well as for development.

Change-Id: I1556836e1070d9e4483d2574bba40aa2fdfde229

9 years agoam d242647a: am 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge...
Eric Gilmore [Wed, 8 Apr 2015 02:15:51 +0000 (02:15 +0000)]
am d242647a: am 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit 'd242647afa201cb160db1582ac53dec074292446':
  Fixing date.

9 years agoMerge "Fix Google app crash"
Selim Gurun [Wed, 8 Apr 2015 01:54:42 +0000 (01:54 +0000)]
Merge "Fix Google app crash"

9 years agoam 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date...
Eric Gilmore [Wed, 8 Apr 2015 01:49:50 +0000 (01:49 +0000)]
am 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit '1fb61c4688c37677020c66b96f067074b1dab3b4':
  Fixing date.

9 years agoFix Google app crash
Selim Gurun [Wed, 8 Apr 2015 01:40:14 +0000 (18:40 -0700)]
Fix Google app crash

Bug: 20110378

Until chromium imlementation lands, use the base implementation.

Change-Id: Icd8e83503770471219718fb38a131938b1bbf0c2

9 years agoam b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp...
Eric Gilmore [Wed, 8 Apr 2015 01:29:10 +0000 (01:29 +0000)]
am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit 'b1044aaf29227b2075e08098b6f5ed5eaf7cf2c0':
  Fixing date.

9 years agoMerge "Fix 64-bit build."
Ying Wang [Wed, 8 Apr 2015 01:05:28 +0000 (01:05 +0000)]
Merge "Fix 64-bit build."

9 years agoFix 64-bit build.
Ying Wang [Wed, 8 Apr 2015 01:03:31 +0000 (18:03 -0700)]
Fix 64-bit build.

Change-Id: I9f2e2edf276f98864b65708b746bf938a4a3c8d6

9 years agoMerge "Fix broken tests in DocumentsUI."
Tomasz Mikolajewski [Wed, 8 Apr 2015 00:55:50 +0000 (00:55 +0000)]
Merge "Fix broken tests in DocumentsUI."

9 years agoFix broken tests in DocumentsUI.
Tomasz Mikolajewski [Tue, 7 Apr 2015 09:52:06 +0000 (18:52 +0900)]
Fix broken tests in DocumentsUI.

Change-Id: Ia41eda4d9f500882ca7eb62b13a4bca60978bc33

9 years agoam 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
Eric Gilmore [Wed, 8 Apr 2015 00:53:50 +0000 (00:53 +0000)]
am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit '8ba1380fb59d3b7adec7e99f354eccabcead65b6':
  Fixing date.

9 years agoam a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
Eric Gilmore [Wed, 8 Apr 2015 00:43:41 +0000 (00:43 +0000)]
am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit 'a4f72eb079938bed57e8183e8110da044fe03429':
  Fixing date.

9 years agoTIF: Redefine time shift status and change callback and position APIs
Jae Seo [Tue, 7 Apr 2015 01:40:46 +0000 (18:40 -0700)]
TIF: Redefine time shift status and change callback and position APIs

Also added/modified the documentation and addressed feedback from the
previous CL.

Change-Id: I046970cd0d2688886039d37a332bbe11bc5a4b0f

9 years agoam aac938a8: Merge "Fixing date." into lmp-docs
Eric Gilmore [Wed, 8 Apr 2015 00:33:07 +0000 (00:33 +0000)]
am aac938a8: Merge "Fixing date." into lmp-docs

* commit 'aac938a8597efb8d71ce7dc124779f1d268510eb':
  Fixing date.

9 years agoMerge "Add IntentFilter auto verification - part 3"
Fabrice Di Meglio [Wed, 8 Apr 2015 00:30:35 +0000 (00:30 +0000)]
Merge "Add IntentFilter auto verification - part 3"

9 years agoAdd IntentFilter auto verification - part 3
Fabrice Di Meglio [Tue, 7 Apr 2015 02:41:28 +0000 (19:41 -0700)]
Add IntentFilter auto verification - part 3

- add private API PackageManager.getAllIntentFilters(String)
for getting all IntentFilters from a given package
- update IntentFilterVerificationInfo to use an ArrayList<String>
for domains instead of a String[]
- if you make an App a default domain handler then make the
others as non default
- create an IntentVerificationInfo even if the App IntentFilters
do not need to be verified. This would be done only if the App
has some domain URLs defined and would allow to make it the
default handler for a domain
- a few code optimizations here and there

Change-Id: I4535372a0bb1a2c8e662e1485be8ca700003e9b3

9 years agoApps can request permissions only on platforms that have runtime permissions.
Svetoslav [Fri, 3 Apr 2015 20:58:33 +0000 (13:58 -0700)]
Apps can request permissions only on platforms that have runtime permissions.

Change-Id: Id0e53c37c9d472287f5bd6a610d446aef6b695b9

9 years agoMerge "Fixing date." into lmp-docs
Eric Gilmore [Wed, 8 Apr 2015 00:05:27 +0000 (00:05 +0000)]
Merge "Fixing date." into lmp-docs