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

Commit 20f65bbd authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Remove unused system api Window.setDisableWallpaperTouchEvents

Test: builds
Change-Id: Ifd3e271a4af0bc4066747be9a147470498c39e5b
Fixes: 62263432
parent 68dcd183
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -5196,10 +5196,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();