OSDN Git Service

android-x86/frameworks-base.git
9 years agoam da164973: Merge "Add dalvik subitems for -d in dumpsys meminfo "Total PSS by categ...
Mathieu Chartier [Thu, 9 Apr 2015 23:36:06 +0000 (23:36 +0000)]
am da164973: Merge "Add dalvik subitems for -d in dumpsys meminfo "Total PSS by category""

* commit 'da164973f35aa32e44d0b9336deef28df5b13544':
  Add dalvik subitems for -d in dumpsys meminfo "Total PSS by category"

9 years agoMerge "Add dalvik subitems for -d in dumpsys meminfo "Total PSS by category""
Mathieu Chartier [Thu, 9 Apr 2015 23:14:27 +0000 (23:14 +0000)]
Merge "Add dalvik subitems for -d in dumpsys meminfo "Total PSS by category""

9 years agoAdd dalvik subitems for -d in dumpsys meminfo "Total PSS by category"
Mathieu Chartier [Thu, 9 Apr 2015 21:32:31 +0000 (14:32 -0700)]
Add dalvik subitems for -d in dumpsys meminfo "Total PSS by category"

Example output of "adb shell dumpsys meminfo -d":

Total PSS by category:
   193605 kB: Dalvik
               87561 kB: .Heap
               77863 kB: .LOS
               15333 kB: .Zygote
               12848 kB: .NonMoving
                6770 kB: .GC
                2597 kB: .LinearAlloc
                1180 kB: .JITCache
                1180 kB: .IndirectRef
   103936 kB: EGL mtrack
   101827 kB: Native

Bug: 17643507

(cherry picked from commit 546edc5a31bb5a843048e11d8afb0b1f6441ddb4)

Change-Id: If34627cf93ba5305b428d2278f350a2649d63d5e

9 years agoam 1d3c77a2: Merge "Start passing volume UUID to installd."
Jeff Sharkey [Thu, 9 Apr 2015 21:57:41 +0000 (21:57 +0000)]
am 1d3c77a2: Merge "Start passing volume UUID to installd."

* commit '1d3c77a21e9c8fc59200b42503d9f0effd3f1551':
  Start passing volume UUID to installd.

9 years agoam 97d2d7c4: Merge "Fix minor issues in new Javadocs of AndroidKeyStore."
Alex Klyubin [Thu, 9 Apr 2015 21:57:35 +0000 (21:57 +0000)]
am 97d2d7c4: Merge "Fix minor issues in new Javadocs of AndroidKeyStore."

* commit '97d2d7c42752a52b5fe890cdb9a5dcbbf53837cc':
  Fix minor issues in new Javadocs of AndroidKeyStore.

9 years agoMerge "Start passing volume UUID to installd."
Jeff Sharkey [Thu, 9 Apr 2015 21:41:11 +0000 (21:41 +0000)]
Merge "Start passing volume UUID to installd."

9 years agoMerge "Fix minor issues in new Javadocs of AndroidKeyStore."
Alex Klyubin [Thu, 9 Apr 2015 21:40:58 +0000 (21:40 +0000)]
Merge "Fix minor issues in new Javadocs of AndroidKeyStore."

9 years agoFix minor issues in new Javadocs of AndroidKeyStore.
Alex Klyubin [Thu, 9 Apr 2015 21:33:11 +0000 (14:33 -0700)]
Fix minor issues in new Javadocs of AndroidKeyStore.

Bug: 18088752
Change-Id: Ie84cc6066c82f2659da17a1eb158c2e3acf5094d

9 years agoStart passing volume UUID to installd.
Jeff Sharkey [Thu, 9 Apr 2015 20:18:44 +0000 (13:18 -0700)]
Start passing volume UUID to installd.

This change adds new method overloads to provide volume UUID.  The
older methods remain for now, and pass through the "null" UUID to
reference internal storage.

Follows the existing pattern where null arguments are passed as "!".

Bug: 19993667
Change-Id: Ia1b7c8550cabc13e4f6e1182eabb650f2c33e44f

9 years agoam aeae0f38: Merge "Add asymmetric crypto constants for AndroidKeyStore API."
Alex Klyubin [Thu, 9 Apr 2015 20:15:02 +0000 (20:15 +0000)]
am aeae0f38: Merge "Add asymmetric crypto constants for AndroidKeyStore API."

* commit 'aeae0f384f72d4deca698697b125b82b322f7f90':
  Add asymmetric crypto constants for AndroidKeyStore API.

9 years agoam 8c58ba87: Merge "Add missing mapping between JCA and keystore HMAC names."
Alex Klyubin [Thu, 9 Apr 2015 20:14:56 +0000 (20:14 +0000)]
am 8c58ba87: Merge "Add missing mapping between JCA and keystore HMAC names."

* commit '8c58ba87bb82993b2bd5dbdd948d15fe3297d08e':
  Add missing mapping between JCA and keystore HMAC names.

9 years agoMerge "Add asymmetric crypto constants for AndroidKeyStore API."
Alex Klyubin [Thu, 9 Apr 2015 20:02:39 +0000 (20:02 +0000)]
Merge "Add asymmetric crypto constants for AndroidKeyStore API."

9 years agoMerge "Add missing mapping between JCA and keystore HMAC names."
Alex Klyubin [Thu, 9 Apr 2015 19:57:12 +0000 (19:57 +0000)]
Merge "Add missing mapping between JCA and keystore HMAC names."

9 years agoAdd asymmetric crypto constants for AndroidKeyStore API.
Alex Klyubin [Thu, 9 Apr 2015 18:38:44 +0000 (11:38 -0700)]
Add asymmetric crypto constants for AndroidKeyStore API.

Bug: 18088752
Change-Id: Iee72a4c230f3a2cd30d9eb4d29c4301f3e113f31

9 years agoam d9f32b16: Merge "Ensure alignment of Res_png_9patch."
Dan Albert [Thu, 9 Apr 2015 18:26:34 +0000 (18:26 +0000)]
am d9f32b16: Merge "Ensure alignment of Res_png_9patch."

* commit 'd9f32b164be11b6c42ee36ca6945623073e82c99':
  Ensure alignment of Res_png_9patch.

9 years agoam 0b1610ff: am 2489a7fd: am 9d6e9587: am 36e3f512: Merge "docs: remove studio progua...
Rich Slogar [Thu, 9 Apr 2015 18:21:06 +0000 (18:21 +0000)]
am 0b1610ff: am 2489a7fd: am 9d6e9587: am 36e3f512: Merge "docs: remove studio proguard settings from play services" into lmp-docs

* commit '0b1610ff49b042df19fc9071f2811efb642f7df9':
  docs: remove studio proguard settings from play services

9 years agoam 2489a7fd: am 9d6e9587: am 36e3f512: Merge "docs: remove studio proguard settings...
Rich Slogar [Thu, 9 Apr 2015 18:11:24 +0000 (18:11 +0000)]
am 2489a7fd: am 9d6e9587: am 36e3f512: Merge "docs: remove studio proguard settings from play services" into lmp-docs

* commit '2489a7fd5fbafde339ac58f2f1e7a5854e7e4936':
  docs: remove studio proguard settings from play services

9 years agoMerge "Ensure alignment of Res_png_9patch."
Dan Albert [Thu, 9 Apr 2015 18:09:09 +0000 (18:09 +0000)]
Merge "Ensure alignment of Res_png_9patch."

9 years agoam 9d6e9587: am 36e3f512: Merge "docs: remove studio proguard settings from play...
Rich Slogar [Thu, 9 Apr 2015 17:57:20 +0000 (17:57 +0000)]
am 9d6e9587: am 36e3f512: Merge "docs: remove studio proguard settings from play services" into lmp-docs

* commit '9d6e95879aff4608db400c270fa8f89b6b55d0e6':
  docs: remove studio proguard settings from play services

9 years agoam 36e3f512: Merge "docs: remove studio proguard settings from play services" into...
Rich Slogar [Thu, 9 Apr 2015 17:47:40 +0000 (17:47 +0000)]
am 36e3f512: Merge "docs: remove studio proguard settings from play services" into lmp-docs

* commit '36e3f5125895875c63242294da289ca4b09c9f9e':
  docs: remove studio proguard settings from play services

9 years agoEnsure alignment of Res_png_9patch.
Dan Albert [Wed, 8 Apr 2015 01:38:42 +0000 (18:38 -0700)]
Ensure alignment of Res_png_9patch.

This doesn't alter the alignment of the data within the struct, but
enforces that this structure will be appropriately aligned when used.

The image_info struct has this struct preceded by a bool, which causes
odd alignment for the members of this struct.

Change-Id: Ia2ef5c81b2f961c0f61858a10a7821d82f600919

9 years agoMerge "docs: remove studio proguard settings from play services" into lmp-docs
Rich Slogar [Thu, 9 Apr 2015 17:39:28 +0000 (17:39 +0000)]
Merge "docs: remove studio proguard settings from play services" into lmp-docs

9 years agoam e26347bb: Merge "Hide KeyStoreParameter.Builder.setRandomizedEncryptionRequired."
Alex Klyubin [Thu, 9 Apr 2015 17:10:57 +0000 (17:10 +0000)]
am e26347bb: Merge "Hide KeyStoreParameter.Builder.setRandomizedEncryptionRequired."

* commit 'e26347bb740f5d1bcf51036e63c1b1c91e685f4c':
  Hide KeyStoreParameter.Builder.setRandomizedEncryptionRequired.

9 years agoAdd missing mapping between JCA and keystore HMAC names.
Alex Klyubin [Thu, 9 Apr 2015 16:28:38 +0000 (09:28 -0700)]
Add missing mapping between JCA and keystore HMAC names.

This is a follow-up to 70376a77280551791dae62586a6bb0c77ed9429a where
I forgot to update this mapping.

Bug: 18088752
Change-Id: I322a9abd642ddee3bd2b4f49379b121012e32836

9 years agoMerge "Hide KeyStoreParameter.Builder.setRandomizedEncryptionRequired."
Alex Klyubin [Thu, 9 Apr 2015 16:51:02 +0000 (16:51 +0000)]
Merge "Hide KeyStoreParameter.Builder.setRandomizedEncryptionRequired."

9 years agoHide KeyStoreParameter.Builder.setRandomizedEncryptionRequired.
Alex Klyubin [Thu, 9 Apr 2015 16:42:09 +0000 (09:42 -0700)]
Hide KeyStoreParameter.Builder.setRandomizedEncryptionRequired.

This wasn't meant to be public API yet.

Bug: 18088752
Change-Id: I40e57fd9121348086ae88ad9fa54f930547b77ba

9 years agoam a482b046: Merge "Require IND-CPA by default for new AndroidKeyStore keys."
Alex Klyubin [Thu, 9 Apr 2015 16:30:50 +0000 (16:30 +0000)]
am a482b046: Merge "Require IND-CPA by default for new AndroidKeyStore keys."

* commit 'a482b0469cb98a5743603e1602aa6f37c65d1659':
  Require IND-CPA by default for new AndroidKeyStore keys.

9 years agoMerge "Require IND-CPA by default for new AndroidKeyStore keys."
Alex Klyubin [Thu, 9 Apr 2015 16:12:08 +0000 (16:12 +0000)]
Merge "Require IND-CPA by default for new AndroidKeyStore keys."

9 years agoam f324d245: Merge "Reuse dexopt method for both dex2oat and patchoat."
Richard Uhler [Thu, 9 Apr 2015 14:31:10 +0000 (14:31 +0000)]
am f324d245: Merge "Reuse dexopt method for both dex2oat and patchoat."

* commit 'f324d245fdd07ac14ab312d1a5fa04a4e8dfcceb':
  Reuse dexopt method for both dex2oat and patchoat.

9 years agoMerge "Reuse dexopt method for both dex2oat and patchoat."
Richard Uhler [Thu, 9 Apr 2015 14:13:26 +0000 (14:13 +0000)]
Merge "Reuse dexopt method for both dex2oat and patchoat."

9 years agoam 1be312df: Merge "Re-enable -Wall and -Werror that were lost in a merge"
Colin Cross [Thu, 9 Apr 2015 01:13:50 +0000 (01:13 +0000)]
am 1be312df: Merge "Re-enable -Wall and -Werror that were lost in a merge"

* commit '1be312dfb02e86731da6ac54a39956db791f4978':
  Re-enable -Wall and -Werror that were lost in a merge

9 years agoMerge "Re-enable -Wall and -Werror that were lost in a merge"
Colin Cross [Thu, 9 Apr 2015 00:49:55 +0000 (00:49 +0000)]
Merge "Re-enable -Wall and -Werror that were lost in a merge"

9 years agoRe-enable -Wall and -Werror that were lost in a merge
Colin Cross [Thu, 9 Apr 2015 00:29:00 +0000 (17:29 -0700)]
Re-enable -Wall and -Werror that were lost in a merge

-Wall and -Werror were lost during a merge when they were added to
aaptCFLAGS instead of aaptCFlags.  Fix the typo, and the warnings
that crept in while it was disabled.

Change-Id: Ib944b8d6149278e4f3861c1acac277bcd95cc7c2

9 years agoam e8a3c320: Merge "Prevent windows from freezing screen while timeout"
Olawale Ogunwale [Thu, 9 Apr 2015 00:32:45 +0000 (00:32 +0000)]
am e8a3c320: Merge "Prevent windows from freezing screen while timeout"

* commit 'e8a3c320e658f6c7f8d1db3d8ad3c3f189c0f54e':
  Prevent windows from freezing screen while timeout

9 years agoam 1da3d7fc: Merge "Add more digests to AndroidKeyStore API."
Alex Klyubin [Thu, 9 Apr 2015 00:32:38 +0000 (00:32 +0000)]
am 1da3d7fc: Merge "Add more digests to AndroidKeyStore API."

* commit '1da3d7fcf33fd61f0143f8a410f0a77783fe1bfe':
  Add more digests to AndroidKeyStore API.

9 years agoRequire IND-CPA by default for new AndroidKeyStore keys.
Alex Klyubin [Wed, 8 Apr 2015 20:36:22 +0000 (13:36 -0700)]
Require IND-CPA by default for new AndroidKeyStore keys.

Bug: 18088752
Change-Id: I01e44b7155df4326b5c9d83dda57f889c1f23ec7

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 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 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 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 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 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 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 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 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 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 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 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 "[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 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 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 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 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 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 "Fixing date." into lmp-docs
Eric Gilmore [Wed, 8 Apr 2015 00:05:27 +0000 (00:05 +0000)]
Merge "Fixing date." into lmp-docs

9 years agoam 40c4021a: Merge "third part apps can disable the secret lockscreen"
Jim Miller [Tue, 7 Apr 2015 22:58:53 +0000 (22:58 +0000)]
am 40c4021a: Merge "third part apps can disable the secret lockscreen"

* commit '40c4021a70c56bcc4d6f6569d795dff52ab4e369':
  third part apps can disable the secret lockscreen

9 years agoMerge "third part apps can disable the secret lockscreen"
Jim Miller [Tue, 7 Apr 2015 22:41:17 +0000 (22:41 +0000)]
Merge "third part apps can disable the secret lockscreen"

9 years agoAdd BlockMode.GCM constant to AndroidKeyStore API.
Alex Klyubin [Tue, 7 Apr 2015 22:09:12 +0000 (15:09 -0700)]
Add BlockMode.GCM constant to AndroidKeyStore API.

GCM mode is not yet implemented. This is just adding a constant to
KeyStoreKeyConstraints.BlockMode.

Bug: 18088752
Change-Id: Ibba5b393f56ab9f6bb96d994f110687ab8d65ff3

9 years agoam 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"
Adam Powell [Tue, 7 Apr 2015 21:23:58 +0000 (21:23 +0000)]
am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"

* commit '7a3c8c70a6c745aa2559a7f769528774021b62a6':
  Fixed memory leak in ExtractEditLayout finish()

9 years agoam 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update on some condi...
Adam Powell [Tue, 7 Apr 2015 21:23:50 +0000 (21:23 +0000)]
am 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update on some condition."

* commit '8391e03b7ef20f22ffc31da43e01b2fb8d1ec00a':
  ProgressBar: Fix error of process bar cannot update on some condition.

9 years agoam 4559d6ae: am 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo in Implementing...
Quddus Chong [Tue, 7 Apr 2015 21:18:23 +0000 (21:18 +0000)]
am 4559d6ae: am 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

* commit '4559d6aefb928edc68da5d0ed301db37bd8b30b7':
  docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

9 years agoam 0c7f9436: am 47c1835a: am 868c795d: am 0307acf9: Merge "docs: Removed instruction...
Quddus Chong [Tue, 7 Apr 2015 21:18:03 +0000 (21:18 +0000)]
am 0c7f9436: am 47c1835a: am 868c795d: am 0307acf9: Merge "docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293" into lmp-docs

* commit '0c7f94365c732ea6d1a4c383ed68005c0e67a619':
  docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293

9 years agoam 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard
Joe Fernandez [Tue, 7 Apr 2015 21:17:55 +0000 (21:17 +0000)]
am 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard

* commit '2e567682a2802170a3f5fd7f621296178a397541':
  docs: Small fix for Android Dashboard

9 years agoam 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboar...
Joe Fernandez [Tue, 7 Apr 2015 21:17:49 +0000 (21:17 +0000)]
am 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update

* commit '5861b5b618cf891ae490c1832f15b101e6b4a090':
  docs: April 2015 Android Dashboard update

9 years agoam 5352411a: Merge "Move cache dir to its own class."
Tim Murray [Tue, 7 Apr 2015 20:59:39 +0000 (20:59 +0000)]
am 5352411a: Merge "Move cache dir to its own class."

* commit '5352411a8c41dd1c3c51a28cdd0b09f42e246b33':
  Move cache dir to its own class.

9 years agoMerge "Fixed memory leak in ExtractEditLayout finish()"
Adam Powell [Tue, 7 Apr 2015 20:56:47 +0000 (20:56 +0000)]
Merge "Fixed memory leak in ExtractEditLayout finish()"

9 years agoMerge "ProgressBar: Fix error of process bar cannot update on some condition."
Adam Powell [Tue, 7 Apr 2015 20:56:33 +0000 (20:56 +0000)]
Merge "ProgressBar: Fix error of process bar cannot update on some condition."

9 years agoMerge "Move cache dir to its own class."
Tim Murray [Tue, 7 Apr 2015 20:33:33 +0000 (20:33 +0000)]
Merge "Move cache dir to its own class."

9 years agoMove cache dir to its own class.
Tim Murray [Tue, 7 Apr 2015 20:24:14 +0000 (13:24 -0700)]
Move cache dir to its own class.

This prevents us from loading the RS static initializer all the time.

Change-Id: I8cea7540e50251aba8c2f199f06f344f991e7d7f

9 years agoFixed broken link in UiAutomation.setRunAsMonkey() method description.
Quddus Chong [Tue, 7 Apr 2015 20:03:29 +0000 (13:03 -0700)]
Fixed broken link in UiAutomation.setRunAsMonkey() method description.
bug: 19711873

Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e

9 years agoam 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo in Implementing In-app Billin...
Quddus Chong [Tue, 7 Apr 2015 19:19:48 +0000 (19:19 +0000)]
am 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

* commit '90bf99b163866020140ac872aa704163fafddae1':
  docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

9 years agoam 922946ea: am a0c887c6: docs: Fixed typo in Implementing In-app Billing guide....
Quddus Chong [Tue, 7 Apr 2015 19:09:13 +0000 (19:09 +0000)]
am 922946ea: am a0c887c6: docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

* commit '922946ea75e0b387d900bb20c55759c6343ac4b5':
  docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

9 years agoam 47c1835a: am 868c795d: am 0307acf9: Merge "docs: Removed instruction to add gms...
Quddus Chong [Tue, 7 Apr 2015 19:03:01 +0000 (19:03 +0000)]
am 47c1835a: am 868c795d: am 0307acf9: Merge "docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293" into lmp-docs

* commit '47c1835a45321cc327dfd9fc97b3d22305d3fa5e':
  docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293

9 years agoFixing date.
Eric Gilmore [Tue, 7 Apr 2015 18:58:52 +0000 (11:58 -0700)]
Fixing date.

Change-Id: Ia406bec97cda0ae309abbb8c538ad4ea3b4e9d42

9 years agoam a0c887c6: docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296
Quddus Chong [Tue, 7 Apr 2015 18:58:07 +0000 (18:58 +0000)]
am a0c887c6: docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

* commit 'a0c887c67e5d925247fcb77d714ccc3383c0d0da':
  docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

9 years agoam 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard
Joe Fernandez [Tue, 7 Apr 2015 18:53:01 +0000 (18:53 +0000)]
am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard

* commit '038fe2deab06ff4fb72db1f5d5012ddf35c5d04d':
  docs: Small fix for Android Dashboard

9 years agoam 868c795d: am 0307acf9: Merge "docs: Removed instruction to add gms version in...
Quddus Chong [Tue, 7 Apr 2015 18:51:22 +0000 (18:51 +0000)]
am 868c795d: am 0307acf9: Merge "docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293" into lmp-docs

* commit '868c795dd253ff31999962f84299be27e4d5828f':
  docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293

9 years agodocs: Fixed typo in Implementing In-app Billing guide.
Quddus Chong [Tue, 7 Apr 2015 18:37:34 +0000 (11:37 -0700)]
docs: Fixed typo in Implementing In-app Billing guide.
bug: 19961296

Change-Id: If170b58feb6d7160790591b540cdb91d7c23d6e5

9 years agoam 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update
Joe Fernandez [Tue, 7 Apr 2015 18:41:32 +0000 (18:41 +0000)]
am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update

* commit '911e4c508ca3061bbf8d13e78350636f1b3ef52e':
  docs: April 2015 Android Dashboard update

9 years agoam 0307acf9: Merge "docs: Removed instruction to add gms version in manifest during...
Quddus Chong [Tue, 7 Apr 2015 18:40:32 +0000 (18:40 +0000)]
am 0307acf9: Merge "docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293" into lmp-docs

* commit '0307acf90773a16faa6b33dad12b14b95708a3cc':
  docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293

9 years agoam 19a57761: am 95c39774: docs: Small fix for Android Dashboard
Joe Fernandez [Tue, 7 Apr 2015 18:40:22 +0000 (18:40 +0000)]
am 19a57761: am 95c39774: docs: Small fix for Android Dashboard

* commit '19a57761b4aec17c907d271e58ae4c20da40a039':
  docs: Small fix for Android Dashboard

9 years agoMerge "docs: Removed instruction to add gms version in manifest during Google Play...
Quddus Chong [Tue, 7 Apr 2015 18:31:44 +0000 (18:31 +0000)]
Merge "docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293" into lmp-docs

9 years agoam ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update
Joe Fernandez [Tue, 7 Apr 2015 18:31:12 +0000 (18:31 +0000)]
am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update

* commit 'ab8828564c5a121ce341710b362bb8f090995885':
  docs: April 2015 Android Dashboard update

9 years agoam 95c39774: docs: Small fix for Android Dashboard
Joe Fernandez [Tue, 7 Apr 2015 18:31:03 +0000 (18:31 +0000)]
am 95c39774: docs: Small fix for Android Dashboard

* commit '95c39774d245921be04b2a6f0f221f86545f8ac6':
  docs: Small fix for Android Dashboard