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

Commit 8ecdef27 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add nullability to StatusBarManager#getDisableInfo"

parents 5a9668a5 2c4d0cfa
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();