Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7dc8ceb0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add warning log when failing UpdateUserSensitive" into rvc-dev

parents 3cb5de0d 9ac32fc5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -587,6 +587,10 @@ public final class PermissionControllerServiceImpl extends PermissionControllerL
        } catch (Exception e) {
            // We specifically want to catch DeadSystemExceptions, but cannot explicitly request
            // them, as it results in a compiler error
            String idString = uid == Process.INVALID_UID
                    ? "user " + Process.myUserHandle().getIdentifier() : "uid " + uid;
            Log.w(LOG_TAG, "Failed to complete user sensitive update for " + idString
                    + ", attempt number " + (numAttempts + 1) + " of " + MAX_RETRY_ATTEMPTS, e);
            if (numAttempts == MAX_RETRY_ATTEMPTS) {
                throw e;
            } else {