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

Commit 04cd01c8 authored by Alex Salo's avatar Alex Salo Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary permissions checks" into main

parents e5169c83 61d06adb
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -594,8 +594,6 @@ public final class AutofillManagerService

    // Called by Shell command.
    int getMaxPartitions() {
        enforceCallingPermissionForManagement();

        synchronized (mLock) {
            return sPartitionMaxCount;
        }
@@ -628,8 +626,6 @@ public final class AutofillManagerService

    // Called by Shell command.
    int getMaxVisibleDatasets() {
        enforceCallingPermissionForManagement();

        synchronized (sLock) {
            return sVisibleDatasetsMaxCount;
        }