2

Users are complaining that my application is not able to be pinned on their S7 Devices using Oreo. Neither Snapdragon nor Exynos. The error does apparently only happen since a certain point in time - but did not happen immediately after the Oreo update, and has not yet been observed on non-Samsung devices. I tried googling the error message This application does not support pin Windows, but found nothing relevant. What causes this error?

Some information about the app:

    android:noHistory="false"
    android:excludeFromRecents="true"
    android:launchMode="singleTop
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></uses-permission>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
    <uses-permission android:name="android.permission.WAKE_LOCK"></uses-permission>

And the startup:

    getWindow().requestFeature(Window.FEATURE_ACTION_BAR);
    getSupportActionBar().hide();
    Window window = this.getWindow();
    window.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
    window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

It also seems like I can't find another app that acts like this.

Daiopent
  • 21
  • 3

1 Answers1

0

just remove the following line from your manifest files and your app will run properly on samsung phones:

android:excludeFromRecents="true"
Markus
  • 2,265
  • 5
  • 28
  • 54