Olawale Ogunwale
1bdbce295c
Merge "[ActivityManager] Finish the failed-to-pause activity"
2015-04-08 12:51:12 +00:00
louis_chang
3d86b88fa7
[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
2015-04-08 18:04:11 +08:00
louis_chang
047dfd40fd
[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
2015-04-08 16:35:55 +08:00
Romain Guy
5b61a28225
am e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
...
* commit 'e4d787b277a4b9435688c7e6f380bfc367751f76':
Prevent possible memory leak in SpanSet
2015-04-08 07:27:58 +00:00
Romain Guy
e4d787b277
am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
...
* commit '80e455e32580fb909af18ad0a21fccc6b433dd4b':
Prevent possible memory leak in SpanSet
2015-04-08 07:14:35 +00:00
Romain Guy
80e455e325
Merge "Prevent possible memory leak in SpanSet"
2015-04-08 06:56:26 +00:00
Eric Gilmore
d242647afa
am 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
...
* commit '1fb61c4688c37677020c66b96f067074b1dab3b4':
Fixing date.
2015-04-08 01:49:50 +00:00
Eric Gilmore
1fb61c4688
am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
...
* commit 'b1044aaf29227b2075e08098b6f5ed5eaf7cf2c0':
Fixing date.
2015-04-08 01:29:10 +00:00
Eric Gilmore
b1044aaf29
am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
...
* commit '8ba1380fb59d3b7adec7e99f354eccabcead65b6':
Fixing date.
2015-04-08 00:53:50 +00:00
Eric Gilmore
8ba1380fb5
am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
...
* commit 'a4f72eb079938bed57e8183e8110da044fe03429':
Fixing date.
2015-04-08 00:43:41 +00:00
Eric Gilmore
a4f72eb079
am aac938a8: Merge "Fixing date." into lmp-docs
...
* commit 'aac938a8597efb8d71ce7dc124779f1d268510eb':
Fixing date.
2015-04-08 00:33:07 +00:00
Eric Gilmore
aac938a859
Merge "Fixing date." into lmp-docs
2015-04-08 00:05:28 +00:00
Jim Miller
5dd10bd11a
am e2e945a8: am 40c4021a: Merge "third part apps can disable the secret lockscreen"
...
* commit 'e2e945a8871310ab900dbe33b587e522446b9a6d':
third part apps can disable the secret lockscreen
2015-04-07 23:08:05 +00:00
Jim Miller
e2e945a887
am 40c4021a: Merge "third part apps can disable the secret lockscreen"
...
* commit '40c4021a70c56bcc4d6f6569d795dff52ab4e369':
third part apps can disable the secret lockscreen
2015-04-07 22:58:53 +00:00
Jim Miller
40c4021a70
Merge "third part apps can disable the secret lockscreen"
2015-04-07 22:41:19 +00:00
Alex Klyubin
38bb642bbb
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
2015-04-07 15:09:12 -07:00
Adam Powell
66a51c7080
am da1bc605: am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"
...
* commit 'da1bc6057417e0ee6faa1cdd08a0be346a27659a':
Fixed memory leak in ExtractEditLayout finish()
2015-04-07 21:50:03 +00:00
Adam Powell
f401d63796
am 947b5029: am 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update on some condition."
...
* commit '947b5029e5fa3b08f79afd61e6bc0fb77bc6a10c':
ProgressBar: Fix error of process bar cannot update on some condition.
2015-04-07 21:49:58 +00:00
Quddus Chong
a30020f865
am ef2f390f: am 4559d6ae: am 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296
...
* commit 'ef2f390fa670332d19a0d51b2d44693051fd8bb5':
docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296
2015-04-07 21:49:53 +00:00
Quddus Chong
e7c79398db
am d8cf94d7: 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 'd8cf94d7da723d7804b1b7545556e05b236b7cf7':
docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293
2015-04-07 21:49:49 +00:00
Joe Fernandez
de35df7434
am 617181bc: am 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard
...
* commit '617181bcfabcc45c031dad74f1c1aaf1be380b85':
docs: Small fix for Android Dashboard
2015-04-07 21:49:45 +00:00
Joe Fernandez
7e2b959974
am f545618f: am 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update
...
* commit 'f545618fd2c0199d05c4a9b4bd70a5c693983858':
docs: April 2015 Android Dashboard update
2015-04-07 21:49:41 +00:00
Adam Powell
da1bc60574
am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"
...
* commit '7a3c8c70a6c745aa2559a7f769528774021b62a6':
Fixed memory leak in ExtractEditLayout finish()
2015-04-07 21:23:58 +00:00
Adam Powell
947b5029e5
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.
2015-04-07 21:23:50 +00:00
Quddus Chong
ef2f390fa6
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
2015-04-07 21:18:23 +00:00
Quddus Chong
d8cf94d7da
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
2015-04-07 21:18:03 +00:00
Joe Fernandez
617181bcfa
am 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard
...
* commit '2e567682a2802170a3f5fd7f621296178a397541':
docs: Small fix for Android Dashboard
2015-04-07 21:17:55 +00:00
Joe Fernandez
f545618fd2
am 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update
...
* commit '5861b5b618cf891ae490c1832f15b101e6b4a090':
docs: April 2015 Android Dashboard update
2015-04-07 21:17:49 +00:00
Tim Murray
764f08ad84
am d782c57d: am 5352411a: Merge "Move cache dir to its own class."
...
* commit 'd782c57d376f27e511692ac6259759dd5a0bdced':
Move cache dir to its own class.
2015-04-07 21:12:59 +00:00
Tim Murray
d782c57d37
am 5352411a: Merge "Move cache dir to its own class."
...
* commit '5352411a8c41dd1c3c51a28cdd0b09f42e246b33':
Move cache dir to its own class.
2015-04-07 20:59:39 +00:00
Adam Powell
7a3c8c70a6
Merge "Fixed memory leak in ExtractEditLayout finish()"
2015-04-07 20:56:49 +00:00
Adam Powell
8391e03b7e
Merge "ProgressBar: Fix error of process bar cannot update on some condition."
2015-04-07 20:56:36 +00:00
Tim Murray
5352411a8c
Merge "Move cache dir to its own class."
2015-04-07 20:34:21 +00:00
Tim Murray
e1e6c66198
Move cache dir to its own class.
...
This prevents us from loading the RS static initializer all the time.
Change-Id: I8cea7540e50251aba8c2f199f06f344f991e7d7f
2015-04-07 13:24:14 -07:00
Quddus Chong
a9f6a9b769
Fixed broken link in UiAutomation.setRunAsMonkey() method description.
...
bug: 19711873
Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e
2015-04-07 13:04:39 -07:00
Quddus Chong
4559d6aefb
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
2015-04-07 19:19:48 +00:00
Quddus Chong
90bf99b163
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
2015-04-07 19:09:13 +00:00
Quddus Chong
0c7f94365c
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
2015-04-07 19:03:01 +00:00
Eric Gilmore
4480bdad95
Fixing date.
...
Change-Id: Ia406bec97cda0ae309abbb8c538ad4ea3b4e9d42
2015-04-07 11:58:52 -07:00
Quddus Chong
922946ea75
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
2015-04-07 18:58:07 +00:00
Joe Fernandez
2e567682a2
am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard
...
* commit '038fe2deab06ff4fb72db1f5d5012ddf35c5d04d':
docs: Small fix for Android Dashboard
2015-04-07 18:53:01 +00:00
Quddus Chong
47c1835a45
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
2015-04-07 18:51:22 +00:00
Quddus Chong
a0c887c67e
docs: Fixed typo in Implementing In-app Billing guide.
...
bug: 19961296
Change-Id: If170b58feb6d7160790591b540cdb91d7c23d6e5
2015-04-07 11:48:30 -07:00
David Friedman
1adf4958e8
New build rule reflecting different masthead, side nav for NDK minisite.
...
Change-Id: I81b50cca405d907cf8a6514356b92e38b6808d3c
2015-04-07 11:45:54 -07:00
Joe Fernandez
5861b5b618
am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update
...
* commit '911e4c508ca3061bbf8d13e78350636f1b3ef52e':
docs: April 2015 Android Dashboard update
2015-04-07 18:41:32 +00:00
Quddus Chong
868c795dd2
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
2015-04-07 18:40:32 +00:00
Joe Fernandez
038fe2deab
am 19a57761: am 95c39774: docs: Small fix for Android Dashboard
...
* commit '19a57761b4aec17c907d271e58ae4c20da40a039':
docs: Small fix for Android Dashboard
2015-04-07 18:40:22 +00:00
Fyodor Kupolov
88d9797aa8
am 77e46d21: am 6a17f601: Merge "Unnecessary dexopt in installPackageLI"
...
* commit '77e46d214db035f150e8522fad03edec913939e8':
Unnecessary dexopt in installPackageLI
2015-04-07 18:35:10 +00:00
Quddus Chong
0307acf907
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
2015-04-07 18:31:45 +00:00
Joe Fernandez
911e4c508c
am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update
...
* commit 'ab8828564c5a121ce341710b362bb8f090995885':
docs: April 2015 Android Dashboard update
2015-04-07 18:31:12 +00:00