Revert "Binder.restoreCallingIdentity moved from 'catch' to 'finally' block."
This reverts commit b4db66635a.
Reason for revert: b/260184263 - systemui crash with SecurityException
Bug: 260184263
Change-Id: Ia9841bcafda41524f0f25d5ffbf2d32ac65fa374
This commit is contained in:
committed by
Android (Google) Code Review
parent
b4db66635a
commit
a6573a641c
@@ -1549,9 +1549,8 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
|
||||
try {
|
||||
mReply.sendResult(null);
|
||||
} catch (RemoteException e) {
|
||||
Slog.d(TAG, "failed to send callback!", e);
|
||||
} finally {
|
||||
Binder.restoreCallingIdentity(ident);
|
||||
Slog.d(TAG, "failed to send callback!", e);
|
||||
}
|
||||
mReply = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user