{"push_id":717092422,"size":1,"distinct_size":1,"ref":"refs/heads/lp5.1","head":"cd1ffc24cb6ff2985ded86361936b062a09c4ea7","before":"c4184c064dc12ea518fd6d580273d610300fceba","commits":[{"sha":"cd1ffc24cb6ff2985ded86361936b062a09c4ea7","author":{"email":"c96a8d0c6b1245332496ba67a3fe2b20b0aebd52@htc.com","name":"riddle_hsu"},"message":"[ActivityManager] Refactor broadcast and reduce deliver delay.\n\nThis containes 2 major modifications:\n1.All queues share one broadcast history to save memory.\n\n2.Add 3 queues: (See ActiveBroadcasts.selectQueueLocked)\nThe approach may result running more receiver processes at the\nsame time. So it will only be enabled on non low ram device.\n\n(1)Long-time queue:\nThere are some broadcasts usually have larger amount manifest\nreceivers. e.g. CONNECTIVEITY_CHANGE is the most common case,\nit is easy to have 50+ receiver if user installed many applications.\nSometimes network status may change several times in one minute.\nThen the broadcasts sent after CONNECTIVEITY_CHANGE will have a\nlong time delay. So add a queue to serve this kind of broadcast.\n\n(2)Booting queue:\nBecause applications or system services may consider to be ready\nstate after receiveing boot complete. Use a dedicated queue which\nis not allow delay by background service to speed up the progress.\nThe queue will only work on device booting.\n\n(3)Non-system app queue:\ne.g. User installed an application which will send broadcast\nper 5 second in a period and also need 5s to receive, then other\nmore important broadcasts will be accumulated in queue and may be\ndelayed a long time to deliver. To avoid system event being\ninfluenced by this case, separate this type to an indepentent queue.\n\nChange-Id: Ic8b89a597d5020d2af2fd3c6d3f93757f4fe891a\n\nConflicts:\n\tservices/core/java/com/android/server/am/ActivityManagerService.java\n\nChange-Id: Ic8b89a597d5020d2af2fd3c6d3f93757f4fe891a","distinct":true,"url":"https://api.github.com/repos/TeamBliss-LP/android_frameworks_base/commits/cd1ffc24cb6ff2985ded86361936b062a09c4ea7"}]}