Loading core/java/android/window/OnBackInvokedDispatcher.java +1 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ import android.annotation.IntDef; import android.annotation.IntRange; import android.annotation.NonNull; import android.annotation.SuppressLint; import android.os.Build; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; Loading @@ -38,7 +37,7 @@ public interface OnBackInvokedDispatcher { String TAG = "OnBackInvokedDispatcher"; /** @hide */ boolean DEBUG = Build.isDebuggable(); boolean DEBUG = false; /** @hide */ @IntDef({ Loading core/java/android/window/WindowOnBackInvokedDispatcher.java +0 −5 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package android.window; import android.annotation.NonNull; import android.annotation.Nullable; import android.content.Context; import android.os.Debug; import android.os.Handler; import android.os.RemoteException; import android.os.SystemProperties; Loading Loading @@ -186,10 +185,6 @@ public class WindowOnBackInvokedDispatcher implements OnBackInvokedDispatcher { callbackInfo = new OnBackInvokedCallbackInfo(iCallback, priority); } mWindowSession.setOnBackInvokedCallbackInfo(mWindow, callbackInfo); if (DEBUG && callback == null) { Log.d(TAG, TextUtils.formatSimple("setTopOnBackInvokedCallback(null) Callers:%s", Debug.getCallers(5, " "))); } } catch (RemoteException e) { Log.e(TAG, "Failed to set OnBackInvokedCallback to WM. Error: " + e); } Loading Loading
core/java/android/window/OnBackInvokedDispatcher.java +1 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ import android.annotation.IntDef; import android.annotation.IntRange; import android.annotation.NonNull; import android.annotation.SuppressLint; import android.os.Build; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; Loading @@ -38,7 +37,7 @@ public interface OnBackInvokedDispatcher { String TAG = "OnBackInvokedDispatcher"; /** @hide */ boolean DEBUG = Build.isDebuggable(); boolean DEBUG = false; /** @hide */ @IntDef({ Loading
core/java/android/window/WindowOnBackInvokedDispatcher.java +0 −5 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package android.window; import android.annotation.NonNull; import android.annotation.Nullable; import android.content.Context; import android.os.Debug; import android.os.Handler; import android.os.RemoteException; import android.os.SystemProperties; Loading Loading @@ -186,10 +185,6 @@ public class WindowOnBackInvokedDispatcher implements OnBackInvokedDispatcher { callbackInfo = new OnBackInvokedCallbackInfo(iCallback, priority); } mWindowSession.setOnBackInvokedCallbackInfo(mWindow, callbackInfo); if (DEBUG && callback == null) { Log.d(TAG, TextUtils.formatSimple("setTopOnBackInvokedCallback(null) Callers:%s", Debug.getCallers(5, " "))); } } catch (RemoteException e) { Log.e(TAG, "Failed to set OnBackInvokedCallback to WM. Error: " + e); } Loading