{"push_id":1442050153,"size":12,"distinct_size":12,"ref":"refs/heads/bs7.1","head":"06d7984de15ea274ade2ed3e39882c6634dc1b40","before":"44f76c87722a9753b813e3a368ef11484fdaf054","commits":[{"sha":"b2572c7c0662c560f1d9c5bca8920df03f05d7a0","author":{"name":"Mark Lu","email":"0d49c30d081786fbbea7e4217bf5f85c12b95c8e@htc.com"},"message":"[AM] Fix system server may killed when monkey crash.\n\n Symptom: monkey crash caused system server killed.\n Root Cause: when monkey crash or app crash before process bound,\n        calling AppErrors.crashApplication will first\n        clear binder identities, that will caused calling pid / uid\n        will become with current process (i.e. system server),\n        so in handleAppCrashInActivityController, when monkey registered\n        activityController would like to kill crash process,\n        but not found in AMS (monkey created by app_process)\n        then using calling pid / uid will become to kill system server.\n Solution: add calling pid / uid parameters for\n         handleAppCrashInActivityController to prevent binder identities\n         cleared case.\n\n\n Test: To simulate monkey or app crash before process bound may not easy\n     by using simple command, but we can write a sample program to \n     simulate RuntimeInit to call handleApplicationCrash when met \n     uncauchtException,\n\n    Below is test steps in Android 7.1.1 emulator.\n\n1. start emulator\n2. after emulater started, use \"adb shell am monitor\" to set \n   activityController & monitor process by console.\n3. write a .jar program as monkey by below sample code to simulate null \n   application binder to call handleApplicationCrash() as RuntimeInit:\n\npackage com.android.test;\n\nimport com.android.internal.os.BaseCommand;\npublic class SimulateMonkeyCrash extends BaseCommand {\n\n    public static void main(String[] args) {\n        IActivityManager am = ActivityManagerNative.getDefault();\n        try {\n            am.handleApplicationCrash(null, \n                 new ApplicationErrorReport.CrashInfo(new Throwable()));\n        } catch (RemoteException e) {\n            e.printStackTrace();\n    }\n}\n\n4. write a .sh file named SimulateMonkeyCrash.sh as below:\n  #\n  base=/system\n  export CLASSPATH=$base/framework/SimulateMonkeyCrash.jar\n  exec app_process $base/bin com.android.test.SimulateMonkeyCrash \"$@\"\n\n5. let .sh file is executable by \"chomod 755\".\n6. push .jar file into /system/framework & .sh file into /system/bin\n7 execute .sh file.\n8. activityController will detected program crash in console as below, \npress k:\nWaiting after crash...  available commands:\n(c)ontinue: show crash dialog\n(k)ill: immediately kill app\n(q)uit: finish monitoring\n\n9 you can see system server is crash.\n\nChange-Id: Ibac4d88872f24af109d8e8522ecf5ac72fac0ce0","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/b2572c7c0662c560f1d9c5bca8920df03f05d7a0"},{"sha":"3312626d856d730905c1153ec2957b151e8eebc1","author":{"name":"scotthartbti","email":"7db08219cf992ee78141b22a261d8a62b978f463@gmail.com"},"message":"Revert \"Fix the deadlock problem\"\n\nThis reverts commit 31bd78a67462b3269cdcf94e10b94b1f9d9b0602.","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/3312626d856d730905c1153ec2957b151e8eebc1"},{"sha":"6a94b8b5136fe38745b23756f97fd23c9fe39737","author":{"name":"pengzhicai","email":"463c26aef6745441606cd05095b092c948502cd6@xiaomi.com"},"message":"Fix the deadlock problem\n\nhttps://code.google.com/p/android/issues/detail?id=229020\n\nChange-Id: Ib08f62dd916d09e666e58fb583555170d1e51da6\nSigned-off-by: pengzhicai <pengzhicai@xiaomi.com>","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/6a94b8b5136fe38745b23756f97fd23c9fe39737"},{"sha":"58aa10496d552cce086197dc9391433e21017845","author":{"name":"scotthartbti","email":"7db08219cf992ee78141b22a261d8a62b978f463@gmail.com"},"message":"Revert \"Fix static analyzer warnings.\"\n\nThis reverts commit dc809ec5c7fd83cd89962e85d4778099dfef9241.","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/58aa10496d552cce086197dc9391433e21017845"},{"sha":"b90c63e37a4dbbe0da4b1395c5b5743370e1beee","author":{"name":"scotthartbti","email":"7db08219cf992ee78141b22a261d8a62b978f463@gmail.com"},"message":"Revert \"fixed the watchdog due to the dead lock\"\n\nThis reverts commit c6f33928a83f9906f1916fdfec1844e110db87a8.","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/b90c63e37a4dbbe0da4b1395c5b5743370e1beee"},{"sha":"feed17d6df37f8d807e213be06fe0962fed23048","author":{"name":"scotthartbti","email":"7db08219cf992ee78141b22a261d8a62b978f463@gmail.com"},"message":"Revert \"Fix NPE for WifiConfiguration in AccessPoint.\"\n\nThis reverts commit f9efa1cb5a50258e42405626a322720701acecad.","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/feed17d6df37f8d807e213be06fe0962fed23048"},{"sha":"712483efff5742e9b68e8508884db8db4272e1b3","author":{"name":"scotthartbti","email":"7db08219cf992ee78141b22a261d8a62b978f463@gmail.com"},"message":"Revert \"Data activity icon in statusbar\"\n\nThis reverts commit 5bf0c9bd8228f799fc3bbbe668c3f6a43662969e.","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/712483efff5742e9b68e8508884db8db4272e1b3"},{"sha":"694d58f2d9d5dcfb64df9853b7d8243770390c75","author":{"name":"scotthartbti","email":"7db08219cf992ee78141b22a261d8a62b978f463@gmail.com"},"message":"Revert \"Fix keyguard flash issue\"\n\nThis reverts commit 1964500713a462c775bcb7cae99eca2814b55fac.","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/694d58f2d9d5dcfb64df9853b7d8243770390c75"},{"sha":"ee84fe99fb29b39b06e6ba465ffb4c808da77a55","author":{"name":"scotthartbti","email":"7db08219cf992ee78141b22a261d8a62b978f463@gmail.com"},"message":"Revert \"Don't include front most excluded task in Multi-Window mode\"\n\nThis reverts commit b171ad941bc84e7948d04d0ad28e8de22256ab6d.","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/ee84fe99fb29b39b06e6ba465ffb4c808da77a55"},{"sha":"b968f48a7c606ea42972d9d0c04259b09ca8f938","author":{"name":"scotthartbti","email":"7db08219cf992ee78141b22a261d8a62b978f463@gmail.com"},"message":"Revert \"Fix WallpaperManager APIs\"\n\nThis reverts commit b3c843f7b1e879ac50e4649763ee287cd66f9bcf.","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/b968f48a7c606ea42972d9d0c04259b09ca8f938"},{"sha":"b8fc0c171f9c16e102501807a71c3d73a6cbc4e3","author":{"name":"scotthartbti","email":"7db08219cf992ee78141b22a261d8a62b978f463@gmail.com"},"message":"Revert \"Deadlock in PackageInstallerSession\"\n\nThis reverts commit 4fd32d3a084e19f30e9344a10124185268f78772.","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/b8fc0c171f9c16e102501807a71c3d73a6cbc4e3"},{"sha":"06d7984de15ea274ade2ed3e39882c6634dc1b40","author":{"name":"Dan Pasanen","email":"47b5cf1cd9c578fda11b316e58ec0db6ba55d771@cyanogenmod.org"},"message":"Merge tag 'android-7.1.1_r4' into cm-14.1\n\nAndroid 7.1.1 release 4\n\nChange-Id: Iaa9c92f659788db6c116e25438418022162753fe\nSigned-off-by: scotthartbti <scott.hart.bti@gmail.com>","distinct":true,"url":"https://api.github.com/repos/scotthartbti/android_frameworks_base/commits/06d7984de15ea274ade2ed3e39882c6634dc1b40"}]}
{"actor":{"display_login":"scotthartbti"}}