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

Commit e7c4bf5e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Document "Revoke USB debug authorizations"" into main

parents 8595d951 46086cbe
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -52,6 +52,9 @@ public class ClearAdbKeysPreferenceController extends DeveloperOptionsPreference

    @Override
    public boolean isAvailable() {
        // If the build is insecure (any -user build, 'ro.adb.secure=0'), adbd does not
        // requests/store authorizations. There is no need for a "revoke authorizations"
        // button.
        return AdbProperties.secure().orElse(false);
    }