Merge "Unbind screenshot connection even if the binding attempt fails" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2d69e0382b
@@ -195,6 +195,8 @@ public class ScreenshotHelper {
|
||||
UserHandle.CURRENT)) {
|
||||
mScreenshotConnection = conn;
|
||||
handler.postDelayed(mScreenshotTimeout, timeoutMs);
|
||||
} else {
|
||||
mContext.unbindService(conn);
|
||||
}
|
||||
} else {
|
||||
Messenger messenger = new Messenger(mScreenshotService);
|
||||
|
||||
Reference in New Issue
Block a user