Merge "Revert "Revert "Binder.restoreCallingIdentity moved from 'catch' to 'finally' block."""
This commit is contained in:
committed by
Android (Google) Code Review
commit
4684ff1f67
@@ -1559,8 +1559,9 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
|
||||
try {
|
||||
mReply.sendResult(null);
|
||||
} catch (RemoteException e) {
|
||||
Binder.restoreCallingIdentity(ident);
|
||||
Slog.d(TAG, "failed to send callback!", e);
|
||||
} finally {
|
||||
Binder.restoreCallingIdentity(ident);
|
||||
}
|
||||
t.traceEnd();
|
||||
mReply = null;
|
||||
|
||||
Reference in New Issue
Block a user