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

Commit 4357d119 authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Remove Activity#setDisablePreviewScreenshots from system API

Change-Id: Ie106fb77f4645cc0c9061f4b6f7a4546711e5cb3
Bug: 73250551
Test: N/A
parent 2263cb95
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -229,7 +229,6 @@ package android.app {
    method public boolean convertToTranslucent(android.app.Activity.TranslucentConversionListener, android.app.ActivityOptions);
    method public deprecated boolean isBackgroundVisibleBehind();
    method public deprecated void onBackgroundVisibleBehindChanged(boolean);
    method public void setDisablePreviewScreenshots(boolean);
  }

  public static abstract interface Activity.TranslucentConversionListener {
+0 −1
Original line number Diff line number Diff line
@@ -7751,7 +7751,6 @@ public class Activity extends ContextThemeWrapper
     * @param disable {@code true} to disable preview screenshots; {@code false} otherwise.
     * @hide
     */
    @SystemApi
    public void setDisablePreviewScreenshots(boolean disable) {
        try {
            ActivityManager.getService().setDisablePreviewScreenshots(mToken, disable);