OSDN Git Service
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.
Alex Klyubin [Thu, 9 Apr 2015 16:51:02 +0000 (16:51 +0000)]
Merge "Hide 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
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.
Alex Klyubin [Thu, 9 Apr 2015 16:12:08 +0000 (16:12 +0000)]
Merge "Require IND-CPA by default for new AndroidKeyStore keys."
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.
Richard Uhler [Thu, 9 Apr 2015 14:13:26 +0000 (14:13 +0000)]
Merge "Reuse dexopt method for both dex2oat and patchoat."
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
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"
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
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
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.
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
Olawale Ogunwale [Wed, 8 Apr 2015 21:56:09 +0000 (21:56 +0000)]
Merge "Prevent windows from freezing screen while timeout"
Alex Klyubin [Wed, 8 Apr 2015 21:37:26 +0000 (21:37 +0000)]
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.
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.
Alex Klyubin [Wed, 8 Apr 2015 21:32:08 +0000 (21:32 +0000)]
Merge "Add 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
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
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
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
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
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
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
Alex Klyubin [Wed, 8 Apr 2015 18:16:36 +0000 (18:16 +0000)]
Merge "Fix typo"
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
Alex Klyubin [Wed, 8 Apr 2015 18:08:37 +0000 (11:08 -0700)]
Fix typo
Change-Id: I1c47ade98ad3ae41dc55e7bcafcad6901b559c89
Alex Klyubin [Wed, 8 Apr 2015 18:04:38 +0000 (18:04 +0000)]
Merge "Refuse to reuse IV in encryption mode in AndroidKeyStore."
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
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
Alex Klyubin [Wed, 8 Apr 2015 17:51:12 +0000 (17:51 +0000)]
Merge "Add BlockMode.GCM constant to AndroidKeyStore API."
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
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
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
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
Olawale Ogunwale [Wed, 8 Apr 2015 16:07:44 +0000 (16:07 +0000)]
Merge "[ActivityManager] Avoid NullPointerException if no crash info"
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
Olawale Ogunwale [Wed, 8 Apr 2015 12:51:11 +0000 (12:51 +0000)]
Merge "[ActivityManager] Finish the failed-to-pause activity"
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
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
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
Romain Guy [Wed, 8 Apr 2015 06:56:24 +0000 (06:56 +0000)]
Merge "Prevent possible memory leak in SpanSet"
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.
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.
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.
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.
Eric Gilmore [Wed, 8 Apr 2015 00:05:27 +0000 (00:05 +0000)]
Merge "Fixing date." into lmp-docs
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
Jim Miller [Tue, 7 Apr 2015 22:41:17 +0000 (22:41 +0000)]
Merge "third part apps can disable the secret lockscreen"
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
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()
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.
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
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
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
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
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.
Adam Powell [Tue, 7 Apr 2015 20:56:47 +0000 (20:56 +0000)]
Merge "Fixed memory leak in ExtractEditLayout finish()"
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."
Tim Murray [Tue, 7 Apr 2015 20:33:33 +0000 (20:33 +0000)]
Merge "Move 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
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
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
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
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
Eric Gilmore [Tue, 7 Apr 2015 18:58:52 +0000 (11:58 -0700)]
Fixing date.
Change-Id: Ia406bec97cda0ae309abbb8c538ad4ea3b4e9d42
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
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
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
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
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
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
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
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
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
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
Quddus Chong [Tue, 7 Apr 2015 18:16:38 +0000 (11:16 -0700)]
docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this.
bug:
20077293
Change-Id: Ie1148e751b9d22e5e7a1abad819c19a4c0b9c6b7
Fyodor Kupolov [Tue, 7 Apr 2015 18:24:55 +0000 (18:24 +0000)]
am
6a17f601: Merge "Unnecessary dexopt in installPackageLI"
* commit '
6a17f60166082227a5a644f9114db46a0ade73f0':
Unnecessary dexopt in installPackageLI
Joe Fernandez [Tue, 7 Apr 2015 18:18:55 +0000 (18:18 +0000)]
am
b1a6bd01: docs: April 2015 Android Dashboard update
* commit '
b1a6bd01bc278f4f6c6a656925e37b998d93f143':
docs: April 2015 Android Dashboard update
Joe Fernandez [Tue, 7 Apr 2015 18:18:00 +0000 (11:18 -0700)]
docs: Small fix for Android Dashboard
Change-Id: I33f3b8b4a7b7abdf16bb5fc4964c51f2809f6c3d
Joe Fernandez [Tue, 7 Apr 2015 17:58:42 +0000 (10:58 -0700)]
docs: April 2015 Android Dashboard update
Change-Id: I7ddd526209cb41cc8944ea5bd99a32021ab343fa
Romain Guy [Tue, 7 Apr 2015 17:39:45 +0000 (10:39 -0700)]
Prevent possible memory leak in SpanSet
If SpanSet.init() is called several times in a row with different
values, it is possible to change "numberOfSpans" in a way that
will prevent SpanSet.recycle() from nulling out all the spans.
This can lead to memory leaks of large objects through spans
references. User @piwai reported this leak:
com.squareup.marketfont.MarketSpan
`-[1] of array android.text.style.CharacterStyle[]
`-spans of object android.text.SpanSet
`-mCharacterStyleSpanSet of object android.text.TextLine
`-[1] of array android.text.TextLine[]
`-sCached of class android.text.TextLine
The MarketSpan instance is kept alive through a recycled TextLine
which itself contains a SpanSet.
Change-Id: Idfb2233ca16895dbe735c312662eaf0b4a2ecd65
Fyodor Kupolov [Tue, 7 Apr 2015 18:03:34 +0000 (18:03 +0000)]
Merge "Unnecessary dexopt in installPackageLI"
Alex Klyubin [Tue, 7 Apr 2015 17:58:00 +0000 (17:58 +0000)]
am
558184f5: Merge "Make the new AndroidKeyStore API conformant."
* commit '
558184f52fa7822a0bde230a93e552f137ac91a4':
Make the new AndroidKeyStore API conformant.
Dmitriy Ivanov [Tue, 7 Apr 2015 17:49:12 +0000 (17:49 +0000)]
am
d95e58cb: Merge "Load libraries directly from apk"
* commit '
d95e58cb609228c4c4b231e00d6bb648e9dcaf71':
Load libraries directly from apk
Alex Klyubin [Tue, 7 Apr 2015 17:39:06 +0000 (17:39 +0000)]
Merge "Make the new AndroidKeyStore API conformant."
Olawale Ogunwale [Tue, 7 Apr 2015 17:35:53 +0000 (17:35 +0000)]
am
d229f442: Merge "Add a timeout state to frozen windows"
* commit '
d229f442d5b8c2e600eaa4daeec0e771631ed83d':
Add a timeout state to frozen windows
Dmitriy Ivanov [Tue, 7 Apr 2015 17:28:15 +0000 (17:28 +0000)]
Merge "Load libraries directly from apk"
Dmitriy Ivanov [Tue, 30 Sep 2014 22:10:48 +0000 (15:10 -0700)]
Load libraries directly from apk
Introduced new 'extractNativeLibs' attribute to manifest/application.
Setting it to false prevents installer from extracting library from apk.
The default value for extractNativeLibs is true.
Bug:
8076853
(cherry picked from commit
ff193d642eea7128faad837d19e347cd25212c27)
Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
Olawale Ogunwale [Tue, 7 Apr 2015 17:14:31 +0000 (17:14 +0000)]
Merge "Add a timeout state to frozen windows"
Alex Klyubin [Mon, 6 Apr 2015 22:36:25 +0000 (15:36 -0700)]
Make the new AndroidKeyStore API conformant.
This makes the new AndroidKeyStore API conform with the latest
Keymaster API changes as well as the latest Android framework API
design guidelines.
Keymaster changes:
* Multiple paddings, block modes, and digests can be set on a key.
* "max uses per boot" and "min seconds between use" restrictions will
not be exposed in the framework API.
* Padding scheme ZERO will not be exposed.
Changes due to Android framework design guidelines:
* Sets of enum values have been replaced with bitsets represented as
ints.
* Integer has been replaced with int, with null being represented
with a special value (e.g., -1 or 0) where possible.
Bug:
18088752
Change-Id: Ib21739aa9b42d48895cb7a681e836a5c6d972ac6
Craig Mautner [Fri, 6 Mar 2015 01:41:23 +0000 (17:41 -0800)]
Add a timeout state to frozen windows
When an activity stops drawing following a rotation the rotation
screenshot would become stuck on top of all the other windows. The
timeout was being acknowledged but mWindowsFreezingScreen was set to
true which kept stopFreezingDisplayLocked() from dismissing the
screen rotation animation.
By changing mWindowsFreezingScreen from a two state variable to a
three state variable, including a timeout state we allow
stopFreezingDisplayLocked() to continue and dismiss the screen
rotation animtion.
This change also reduces the APP_FREEZING_TIMOEOUT from 5 seconds to
2 seconds.
Bug:
15664090
Change-Id: Ida5aca002a82ec8fe1ea99f0ced814c5c8f01a95
Olawale Ogunwale [Tue, 7 Apr 2015 13:02:37 +0000 (13:02 +0000)]
am
8928c727: Merge "[ActivityManager] Improve task order of getRunningTasks."
* commit '
8928c7271bee4b31e94b3d9e8e6e756d5aa2bcff':
[ActivityManager] Improve task order of getRunningTasks.
Olawale Ogunwale [Tue, 7 Apr 2015 12:45:34 +0000 (12:45 +0000)]
Merge "[ActivityManager] Improve task order of getRunningTasks."
Olawale Ogunwale [Tue, 7 Apr 2015 03:55:38 +0000 (03:55 +0000)]
am
437db610: Merge "[ActivityManager] Do not add service to reschedule after removing users."
* commit '
437db6106b20d5a81f12a93593b5f623b3159f19':
[ActivityManager] Do not add service to reschedule after removing users.
Olawale Ogunwale [Tue, 7 Apr 2015 03:36:29 +0000 (03:36 +0000)]
Merge "[ActivityManager] Do not add service to reschedule after removing users."
riddle_hsu [Tue, 7 Apr 2015 03:30:09 +0000 (11:30 +0800)]
[ActivityManager] Improve task order of getRunningTasks.
Symptom:
During switching task in same stack, the first result
of getRunningTasks will be the behind stack's top task.
e.g.
App Task X is starting task Y, the first entry may be home.
Root Cause:
TaskRecord's lastActiveTime is updated when pausing
or resuming. When X task launch a new task Y, Y is
on the top of task history, before X complete pause,
Y's lastActiveTime will be 0 because it is a new task.
Then when comparing the front task with other stack,
other stack will be regarded as the newer one.
Solution:
If the stack is focused stack, give the top task with the last time.
Change-Id: I0adc07608e03d333e0120a0dbc52a0fbbbb12f34
Fyodor Kupolov [Tue, 7 Apr 2015 02:04:08 +0000 (19:04 -0700)]
Unnecessary dexopt in installPackageLI
When a new package is created, installNewPackageLI does not need to call
dexopt, since it has already been made.
Bug:
19550105
Bug:
20087446
Change-Id: If6b05bea590eea5f95efebb22a67ccd8cdf632c2
Jason Sams [Mon, 6 Apr 2015 23:56:57 +0000 (23:56 +0000)]
am
7200f661: Merge "Fix minor blur doc bug"
* commit '
7200f661c1e5ef1c59c5849610dc97492c7a3a16':
Fix minor blur doc bug