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

Commit 2c4d0cfa authored by Evan Laird's avatar Evan Laird
Browse files

Add nullability to StatusBarManager#getDisableInfo

Test: Builds
Fixes: 126701201
Change-Id: I9b6e92efbfd2fd8a191349d54d9b99a84e2ad675
parent 6cde0385
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -565,7 +565,7 @@ package android.app {
  }
  public class StatusBarManager {
    method public android.app.StatusBarManager.DisableInfo getDisableInfo();
    method @NonNull public android.app.StatusBarManager.DisableInfo getDisableInfo();
    method public void setDisabledForSetup(boolean);
  }
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package android.app;

import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.SystemApi;
import android.annotation.SystemService;
@@ -387,6 +388,7 @@ public class StatusBarManager {
     * @hide
     */
    @SystemApi
    @NonNull
    public DisableInfo getDisableInfo() {
        try {
            final int userId = Binder.getCallingUserHandle().getIdentifier();