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

Commit 505c91cd authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Document "Revoke USB debug authorizations"" into main am: e7c4bf5e am: d7694220

parents 3fc7f37c d7694220
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);
    }