Merge "Revert "Binder.restoreCallingIdentity moved from 'catch' to 'finally' block.""

This commit is contained in:
Yasin Kilicdere
2022-11-24 15:43:14 +00:00
committed by Android (Google) Code Review

View File

@@ -1559,9 +1559,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);
}
t.traceEnd();
mReply = null;