GitHub PushEvent at 2014-01-15 15:06:06
Repository: GravityBox
Actor: C3C0
Payload: {"shas":[["ad09553eaf0c669c4dcb8233a6b9706d1d939761","58fa0f757d28d2ff6d43a70fa96979622c5a0b1d@gmail.com","ModLockscreen: added new custom background type: Last screen\nWhen this style is selected and screen is about to be turned off,\ncurrent screen is captured to be used as custom lockscreen background.\nThis happens in DisplayPowerController which runs in different process\nthan Keyguard. There is no standard interface for delivering captured\nbitmap to Keyguard and since DisplayPowerController is a system service\nthat has no access to external storage, it cannot write image to\nfilesystem itself. Thus captured image has to be mediated via our\nKeyguardImageService. This happens in a dedicated thread so we don't\nblock user while he is turning off screen.\n\nSince exchanging large amount of data between client and service is\nlimited by maximum size of inter-process communication transaction\nbuffer (which is 1MB in Android), we must ensure captured bitmap is\ndelivered per partes. Client (DisplayPowerController) initiates bitmap\ndelivery and then service will ask for new chunks after processing\ncurrent chunk of data. After all chunks are processed, keyguard is\nnotified via broadcast that the image is ready to be read and set.","C3C0",true]],"size":1,"ref":"refs/heads/kitkat","head":"ad09553eaf0c669c4dcb8233a6b9706d1d939761"}