Chrome 65 doesn't allow screenshots in Incognito mode Seems that in Chrome for Android, version 65, a "feature" was introduced which doesn't allow you to take a screenshot in Incognito mode.

When attempting to take a screenshot, Android will now show an alert saying "Taking screenshots isn't allowed by the app or your organization."

     /**
     * Sets the attributes flags to secure if there is an incognito tab visible.
     */
    @VisibleForTesting
    void updateIncognitoState() {
        WindowManager.LayoutParams attributes = mWindow.getAttributes();
        boolean currentSecureState = (attributes.flags &amp; WindowManager.LayoutParams.FLAG_SECURE)
                == WindowManager.LayoutParams.FLAG_SECURE;
        boolean expectedSecureState = isShowingIncognito();
        if (currentSecureState == expectedSecureState) return;

        if (expectedSecureState) {
            mWindow.addFlags(WindowManager.LayoutParams.FLAG_SECURE);
        } else {
            mWindow.clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
        }
    }


Source: chrome/android/java/src/org/chromium/chrome/browser/incognito/IncognitoTabSnapshotController.java

This is imposing rules you can expect to have in a enterprise environment on a personal phone.


  The operation system UI should make clear when and how other apps are
  recording the screen. As an app developer, I should not be bothered
  with avoiding screen captures. Breaking this functionality breaks the
  lowest common denominator of data sharing: Taking a screenshot. One of
  the reason to make a screenshot is just because an application misses
  a proper data export functionality.


Source: HN Discussion



Is there any way to disable or prevent this behavior?
This appears to be a side-effect hiding incognito tabs from the recent apps list, which is intended as a privacy feature.

They also added an --enable-incognito-snapshots-in-android-recents switch to change this behavior, but unfortunately that's not easy to pass on Android, and there isn't an entry in chrome://flags. I didn't find anyone requesting a way to make it (easily) optional; I suggest filing a bug report about the screenshot-blocking side effect; that switch should at least be exposed as a flag.