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

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

Merge "Remove unused system api Window.setDisableWallpaperTouchEvents"

parents 50bdbe3e 20f65bbd
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -5197,10 +5197,6 @@ package android.util {

package android.view {

  public abstract class Window {
    method public void setDisableWallpaperTouchEvents(boolean);
  }

  public abstract interface WindowManager implements android.view.ViewManager {
    method public abstract android.graphics.Region getCurrentImeTouchRegion();
  }
+0 −9
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ import android.annotation.LayoutRes;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.StyleRes;
import android.annotation.SystemApi;
import android.app.WindowConfiguration;
import android.content.Context;
import android.content.pm.ActivityInfo;
@@ -1254,14 +1253,6 @@ public abstract class Window {
        }
    }

    /** @hide */
    @SystemApi
    public void setDisableWallpaperTouchEvents(boolean disable) {
        setPrivateFlags(disable
                ? WindowManager.LayoutParams.PRIVATE_FLAG_DISABLE_WALLPAPER_TOUCH_EVENTS : 0,
                WindowManager.LayoutParams.PRIVATE_FLAG_DISABLE_WALLPAPER_TOUCH_EVENTS);
    }

    /** @hide */
    public abstract void alwaysReadCloseOnTouchAttr();