OSDN Git Service
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.
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
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
Yang Ni [Mon, 6 Apr 2015 23:45:41 +0000 (23:45 +0000)]
am
6422ee71: Merge "Rewrote FieldPack::createFieldPack for alignment"
* commit '
6422ee7105cc99f389ff8f09d51e2a874e97f470':
Rewrote FieldPack::createFieldPack for alignment
Jason Sams [Mon, 6 Apr 2015 23:38:05 +0000 (23:38 +0000)]
Merge "Fix minor blur doc bug"
Yang Ni [Mon, 6 Apr 2015 23:28:18 +0000 (23:28 +0000)]
Merge "Rewrote FieldPack::createFieldPack for alignment"
Yang Ni [Thu, 2 Apr 2015 00:29:14 +0000 (17:29 -0700)]
Rewrote FieldPack::createFieldPack for alignment
b/
20032217
Some data types requires data alignment. This has an impact on the
total data size for the FieldPack. Fixed createFiledPack()
implementation to handle this correctly.
Change-Id: I241da19df69bf51cfdaf3b3a1381b446eaacb7fb
Matthew Williams [Mon, 6 Apr 2015 20:53:26 +0000 (20:53 +0000)]
am
0b3673c4: am
20baa9d9: am
28358eae: Merge "Fixing to fail android.JobScheduler.TimingConstraintsTest#testSchedulePeriodic in TV test." into lmp-mr1-dev
* commit '
0b3673c4d39c07779081ef2eaf8705cbad1ee04c':
Fixing to fail android.JobScheduler.TimingConstraintsTest#testSchedulePeriodic in TV test.
Matthew Williams [Mon, 6 Apr 2015 20:43:30 +0000 (20:43 +0000)]
am
20baa9d9: am
28358eae: Merge "Fixing to fail android.JobScheduler.TimingConstraintsTest#testSchedulePeriodic in TV test." into lmp-mr1-dev
* commit '
20baa9d944ccb504d0fdf7ce2e553bca9ca2f672':
Fixing to fail android.JobScheduler.TimingConstraintsTest#testSchedulePeriodic in TV test.
Matthew Williams [Mon, 6 Apr 2015 20:30:29 +0000 (20:30 +0000)]
am
28358eae: Merge "Fixing to fail android.JobScheduler.TimingConstraintsTest#testSchedulePeriodic in TV test." into lmp-mr1-dev
* commit '
28358eaed2e1858fcba7991cbd7199a25d160471':
Fixing to fail android.JobScheduler.TimingConstraintsTest#testSchedulePeriodic in TV test.
Matthew Williams [Mon, 6 Apr 2015 20:22:20 +0000 (20:22 +0000)]
Merge "Fixing to fail android.JobScheduler.TimingConstraintsTest#testSchedulePeriodic in TV test." into lmp-mr1-dev
Robert Greenwalt [Mon, 6 Apr 2015 17:54:18 +0000 (17:54 +0000)]
am
069f4cbc: Merge "Fix memory leak in Connectivity Service when phone app crashes"
* commit '
069f4cbccb651d98e4c50eca4698624ea089804d':
Fix memory leak in Connectivity Service when phone app crashes
Robert Greenwalt [Mon, 6 Apr 2015 17:34:48 +0000 (17:34 +0000)]
Merge "Fix memory leak in Connectivity Service when phone app crashes"
Olawale Ogunwale [Mon, 6 Apr 2015 15:44:31 +0000 (15:44 +0000)]
am
47c1cf4b: Merge "[ActivityManager] Fix ServiceRecord leakage"
* commit '
47c1cf4b35616059409a0674382c2318494e877b':
[ActivityManager] Fix ServiceRecord leakage
Olawale Ogunwale [Mon, 6 Apr 2015 15:44:24 +0000 (15:44 +0000)]
am
655ef081: Merge "[ActivityManager] Examine bad process before clean up application record"
* commit '
655ef08144ec0b71a98b6b3a38e50c6b346ae467':
[ActivityManager] Examine bad process before clean up application record
Olawale Ogunwale [Mon, 6 Apr 2015 15:44:08 +0000 (15:44 +0000)]
am
baedbfbb: Merge "[ProcessStas] fix index out of bounds when add duration."
* commit '
baedbfbbb1181829bcffb1be3732b6f26a315bd8':
[ProcessStas] fix index out of bounds when add duration.
Olawale Ogunwale [Mon, 6 Apr 2015 15:25:03 +0000 (15:25 +0000)]
Merge "[ActivityManager] Fix ServiceRecord leakage"
Olawale Ogunwale [Mon, 6 Apr 2015 15:24:40 +0000 (15:24 +0000)]
Merge "[ActivityManager] Examine bad process before clean up application record"
Olawale Ogunwale [Mon, 6 Apr 2015 15:23:29 +0000 (15:23 +0000)]
Merge "[ProcessStas] fix index out of bounds when add duration."
Olawale Ogunwale [Sat, 4 Apr 2015 16:29:32 +0000 (16:29 +0000)]
am
1d359daa: Merge "Remove the window whose client process has died or become zombie"
* commit '
1d359daa607042417d095aaa83b78befc1b5f8a3':
Remove the window whose client process has died or become zombie