louis_chang
1110f55470
[ActivityManager] Reset ActivityRecord's waitingVisible
...
Symptom:
The ActivityRecord's waitingVisible is not set to false for
all cases when the ActivityRecord is removed from
mStackSupervisor.mWaitingVisibleActivities.
Solution:
Set the waitingVisible to false when it is removed from
mStackSupervisor.mWaitingVisibleActivities
Change-Id: If0f0683971d70a6866b0167e91dd95feebaac178
2014-12-19 17:30:45 +08:00
Craig Mautner
6007d9aa5f
Merge "Fix racing condition of mTouchExcludeRegion"
2014-12-19 06:41:27 +00:00
tingna_sung
33d8e73920
Fix racing condition of mTouchExcludeRegion
...
Copy region from DisplayContent.mTouchExcludeRegion instead of
directly refer to the same object of DisplayContent, and able to
protect it by lock of self class, don't have to lock out mWindowMap
on every tap.
This fix is to avoid racing condition of mTouchExcludeRegion.
Change-Id: I7401968167c2e539b4da2afe71e3020038fbfcbf
Signed-off-by: tingna_sung <tingna_sung@htc.com>
2014-12-19 13:21:08 +08:00
tiger_huang
f73883f69d
Layout the config-changed window if it has surface
...
This patch fixes an issue which caused the resumed app to get the
wrong frame at first.
https://code.google.com/p/android/issues/detail?id=82242
Change-Id: I4483029326afca143e7921f3b9563da4f566d2e5
2014-12-19 13:19:36 +08:00
Jeff Hao
e06184e4b1
Merge "Add mips64 support to app_process."
2014-12-18 19:18:54 +00:00
Alex Klyubin
ff35642e47
Merge "Remove DefaultHostnameVerifier from preloaded-classes."
2014-12-18 17:40:46 +00:00
Olawale Ogunwale
07bb03c423
Merge "Avoid deadlock between ActivityManagerService and ProcessStatsService."
2014-12-18 16:55:43 +00:00
Elliott Hughes
5cd79d0708
Merge "Move the remaining ZygoteInit native code over to Java."
2014-12-18 16:55:23 +00:00
Narayan Kamath
ddd11793a2
Build against libphonenumber-platform.
...
Don't compile libphonenumber sources directly.
Change-Id: Ib2efd84535a2cffe773271fd1ddcb66a6a651cb8
2014-12-18 13:26:03 +00:00
Douglas Leung
7e7c603182
Add mips64 support to app_process.
...
Change-Id: Ieb05a212606f02ebad119a0aea0ed92773ace214
2014-12-17 20:27:25 -08:00
Elliott Hughes
93241de734
Merge "Remove a bitrotted test."
2014-12-18 00:32:01 +00:00
Elliott Hughes
988fd73499
Remove a bitrotted test.
...
Change-Id: I4c44f2da0544dbfde8e340f7f477191725c5fb8b
2014-12-17 16:29:04 -08:00
Olawale Ogunwale
f62877d305
Merge "Prevent wrong system ui visibility callback after the user swipe"
2014-12-17 21:43:27 +00:00
Olawale Ogunwale
486a9942eb
Merge "[ActivityManager] Use synchronized to protect object"
2014-12-17 21:42:44 +00:00
Elliott Hughes
26b56e628b
Move the remaining ZygoteInit native code over to Java.
...
Bug: 18719692
Change-Id: I5f9834edecdbcc065a33a9921c740a53441636a4
2014-12-17 12:28:29 -08:00
Elliott Hughes
e6d63b9462
Merge "Rewrite selectReadable JNI in Java."
2014-12-17 18:21:06 +00:00
Narayan Kamath
1653b1dd69
Throw IllegalArgumentException on invalid hex-strings.
...
Beats returning null since there's let's chance it will be interpreted
as the lack of a password.
Change-Id: I4986a8e806d9066129f696ab9f2e80655424e723
2014-12-17 13:40:36 +00:00
Narayan Kamath
6d41504d2c
Merge "Move frameworks users over to libcore hex encoding API."
2014-12-17 13:34:00 +00:00
Tim Murray
8de169993f
Merge "Fix typo with register native allocation."
2014-12-16 21:30:58 +00:00
Ying Wang
c80c12dda9
Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE."
2014-12-16 20:46:17 +00:00
Ying Wang
34db51cdd7
Cleanup Obsolete LOCAL_PRELINK_MODULE.
...
Bug: 18675947
Change-Id: If4909c5f8495136d381b289a3d55e811313abccc
2014-12-16 12:45:49 -08:00
Elliott Hughes
894724be30
Rewrite selectReadable JNI in Java.
...
Bug: 18719692
Change-Id: Id4fa95a31f112c720f7a3ac47a3b6c95c3028438
2014-12-16 10:00:33 -08:00
Tim Murray
d11a658db1
Fix typo with register native allocation.
...
bug 18579193
Change-Id: I42d30709b79a37d6a4126559a511e98e9c8d4808
2014-12-16 09:59:09 -08:00
Narayan Kamath
78108a3e52
Move frameworks users over to libcore hex encoding API.
...
Removes dependency on apache-http.
bug: 18027885
Change-Id: I508db016747985ecdd68e02d5d4efcd0ddd694df
2014-12-16 17:25:07 +00:00
mark_chen
89764e337b
[ActivityManager] Use synchronized to protect object
...
Symptom: ArrayIndexOutOfBoundsException at mResourcePackages
Root Cause: Race condition issue
Solution: Use synchronized to protect object
Change-Id: Ia2d89d50919d95d95f6f8ac2eb75594a93e8f2da
2014-12-16 05:44:34 +00:00
Christopher Tate
b32a33cec1
Merge "Turn debug flag off"
2014-12-16 02:53:13 +00:00
Elliott Hughes
e9e1e0d20f
Merge "Reimplement reopenStdio in Java."
2014-12-15 19:24:53 +00:00
Elliott Hughes
dac83f5e6a
Reimplement reopenStdio in Java.
...
Bug: 18719692
Change-Id: I4ed984cd6148c5cba75d46a60f32a0687a5bcac3
2014-12-15 11:00:25 -08:00
Alan Jeon
f0e32ee572
Turn debug flag off
...
Change-Id: Iced1a24ecfc182eccedd3a749fab9dd32dea41da
Signed-off-by: Alan Jeon <skyisle@gmail.com>
2014-12-13 22:44:53 +09:00
Tim Murray
3d00fdf4cb
Merge "Enable native tracking for RS contexts to improve GC behavior."
2014-12-13 00:02:31 +00:00
Elliott Hughes
a101befbef
Merge "Lose some unnecessary JNI from the zygote."
2014-12-12 23:18:48 +00:00
Christopher Tate
012de64e2d
Merge "Fix bugs regarding delay the dispatching of non-wakeup alarms"
2014-12-12 22:11:16 +00:00
Elliott Hughes
3fe595108f
Lose some unnecessary JNI from the zygote.
...
Bug: 18719692
Change-Id: Ie2d50400f10f3c54cfbf94e54656f6d704eac267
2014-12-12 14:07:34 -08:00
Tim Murray
aefbd5f97c
Enable native tracking for RS contexts to improve GC behavior.
...
This should prevent apps from leaking RS contexts as easily.
bug 18579193
Change-Id: I2d943ce4443ce7cb90ebdd3dd37d338eda6df3a2
2014-12-12 11:34:48 -08:00
Olawale Ogunwale
bfb30244fb
Merge "[ActivityManager] Fix NPE when start activity"
2014-12-12 13:49:51 +00:00
minho.choo
649acab389
Fix bugs regarding delay the dispatching of non-wakeup alarms
...
checkAllowNonWakeupDelayLocked() method determines that delay the dispatching of non-wakeup alarms.
(there are no wakeup alarms and the screen is off, it can delay until the future.)
if there is any pending non-wakeup alarms, non-wakeup alarm delivery time is bigger than nowELAPSED.
but, checkAllowNonWakeupDelayLocked() returns false and non-wakeup alarm is not delay until future.
i think it is necessary to reverse the inequality symbol on "mNextNonWakeupDeliveryTime > nowELAPSED"
if it isn't, Could you let me know when we get ¡°stuck in a loop¡± in the comment of checkAllowNonWakeupDelayLocked () method?
Change-Id: I7e972064547f4d0a9b4175dbd4cf735b4837abfd
Signed-off-by: Minho Choo <minho.choo@lge.com>
2014-12-12 16:13:55 +09:00
Chih-hung Hsieh
4c23a0ec16
Merge "Adjust format strings to work on both 32-bit and 64-bit builds"
2014-12-11 20:49:30 +00:00
Narayan Kamath
3146212878
Merge "Avoid tearing down process groups twice."
2014-12-11 09:15:06 +00:00
Narayan Kamath
7bd28de578
Merge "Remove some crufty "core" tests."
2014-12-11 09:14:15 +00:00
Narayan Kamath
d627c6761f
Remove some crufty "core" tests.
...
nobody runs these, and these things are well tested elsewhere
and a part of CTS.
Change-Id: I1ec00f2a085fc82f902f538ace692ac989ca03df
2014-12-10 19:49:59 +00:00
Craig Mautner
2de55513f8
Merge "Only one task within the stack should moveToBack"
2014-12-10 17:51:32 +00:00
Narayan Kamath
c46f75ef1d
Avoid tearing down process groups twice.
...
The second removal always triggers a warning.
Change-Id: Ieafa8374dbffdaff0d576de004a688cae6f8ac18
2014-12-10 10:01:44 +00:00
Craig Mautner
f71f5e8957
Merge "[ActivityManager] fix NPE in ActivityStack.resetTargetTaskIfNeededLocked."
2014-12-09 16:33:26 +00:00
Elliott Hughes
da30b545f9
Merge "Fix typo."
2014-12-09 16:02:57 +00:00
Mark Lu
4b5a9a09e5
[ActivityManager] fix NPE in ActivityStack.resetTargetTaskIfNeededLocked.
...
Symptom:
in .ActivityStack.resetTargetTaskIfNeededLocked, "allowTaskReparenting" if case will call setTask
to remove activities from task, that will caused numActivities in main for-loop not consist with task.mActivities size.
caused NPE will happend in finish activities for-loop due to get null object from activities when clearWhenTaskReset" as true case.
Root Cause:
when clearWhenTaskReset as true, will set "end" variable as numActivities -1, but if calling setTask to remove activities from task,
end value will out of date & not same with task.mActivities size.
Solution:
use activities.size() - 1 to assign end value.
Change-Id: I5d7fe22e1df2fc61738db23402e7c42cf6d8c4cc
2014-12-09 06:48:21 +00:00
Elliott Hughes
0adcf15ad8
Fix typo.
...
Bug: https://code.google.com/p/android/issues/detail?id=78422
Change-Id: I0dfbb74334e126062660831a4e01817dde068b56
2014-12-08 20:50:00 -08:00
Mathieu Chartier
fb5c932dbb
Merge "Add more -d dalvik details to dumpsys"
2014-12-09 02:05:45 +00:00
Mathieu Chartier
063028aa68
Add more -d dalvik details to dumpsys
...
Added .NonMoving for the non moving space.
Added .Zygote for the zygote.
Added .IndirectRef for indirect reference tables (jobjects).
Example:
Dalvik Details
.Heap 2264 2264 0 0
.LOS 80 80 0 0
.GC 144 144 0 0
.Zygote 331 196 0 2428
.NonMoving 540 540 0 0
.IndirectRef 20 20 0 0
Bug: 18672069
Change-Id: Id14e5bc92ceb15fe7a17d9fb035f18aa2925e50c
(cherry picked from commit 25c5e2b12d5d5d06739e3f70a0da968d97935b46)
2014-12-08 17:33:56 -08:00
Dmitriy Ivanov
f00709991d
Merge "Remove unsed check for simulator"
2014-12-08 21:17:59 +00:00
Lajos Molnar
9d6fa062a5
Merge "media: fix isSupportedFormat for integer frame rate"
2014-12-08 18:02:41 +00:00