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

Commit 79b51ecb authored by Michael Bestas's avatar Michael Bestas
Browse files

Fix ADB root system API extension

* Fixes checkapi:
  out/soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/current-apicheck/srcjars/android/Manifest.java:3435:
  error: Added field android.Manifest.permission.ADBROOT to the system API [AddedField]

  error: Added package android.adb to the system API [AddedPackage]

Change-Id: Idd509c31d961a0b20fac8cccd2c83c6bf23c5a38
parent 90572ee3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ import android.os.ServiceManager;
/**
 * {@hide}
 */
@SystemApi
public class ADBRootService {
    private static final String TAG = "ADBRootService";

+1 −2
Original line number Diff line number Diff line
@@ -4609,13 +4609,12 @@
    <permission android:name="android.permission.PREVENT_POWER_KEY"
                android:protectionLevel="signature|privileged" />

    <!-- @SystemApi Allows an application to manage ADB Root
    <!-- Allows an application to manage ADB Root
         @hide <p>Not for use by third-party applications.
    -->
    <permission android:name="android.permission.ADBROOT"
                android:protectionLevel="signature|privileged" />


    <application android:process="system"
                 android:persistent="true"
                 android:hasCode="false"