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

Commit 16dfa6fa authored by Alex Kershaw's avatar Alex Kershaw
Browse files

Add @NonNull to parameter.

Add @NonNull to second parameter of InstallSystemUpdateCallback.

Fixes: 126701431
Test: Manual
Change-Id: I5ced921b2c925e3318c564707fb2f83dfa31a386
parent b67994ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -6964,7 +6964,7 @@ package android.app.admin {
  public abstract static class DevicePolicyManager.InstallSystemUpdateCallback {
  public abstract static class DevicePolicyManager.InstallSystemUpdateCallback {
    ctor public DevicePolicyManager.InstallSystemUpdateCallback();
    ctor public DevicePolicyManager.InstallSystemUpdateCallback();
    method public void onInstallUpdateError(int, String);
    method public void onInstallUpdateError(int, @NonNull String);
    field public static final int UPDATE_ERROR_BATTERY_LOW = 5; // 0x5
    field public static final int UPDATE_ERROR_BATTERY_LOW = 5; // 0x5
    field public static final int UPDATE_ERROR_FILE_NOT_FOUND = 4; // 0x4
    field public static final int UPDATE_ERROR_FILE_NOT_FOUND = 4; // 0x4
    field public static final int UPDATE_ERROR_INCORRECT_OS_VERSION = 2; // 0x2
    field public static final int UPDATE_ERROR_INCORRECT_OS_VERSION = 2; // 0x2
+1 −1
Original line number Original line Diff line number Diff line
@@ -2165,7 +2165,7 @@ public class DevicePolicyManager {
         * reported back to the IT admin to be read.
         * reported back to the IT admin to be read.
         */
         */
        public void onInstallUpdateError(
        public void onInstallUpdateError(
                @InstallUpdateCallbackErrorConstants int errorCode, String errorMessage) {
                @InstallUpdateCallbackErrorConstants int errorCode, @NonNull String errorMessage) {
        }
        }
    }
    }