package com.farmerbb.taskbar.activity;
import android.annotation.SuppressLint;
+import android.annotation.TargetApi;
import android.app.ActivityOptions;
import android.content.ComponentName;
import android.content.Intent;
}
@SuppressWarnings("deprecation")
+ @TargetApi(Build.VERSION_CODES.N)
@Override
public boolean onPreferenceClick(Preference p) {
boolean appIsValid = true;
case "window_size_phone_size":
SavedWindowSizes.getInstance(this).setWindowSize(this, packageName, p.getKey().replace("window_size_", ""));
- U.launchApp(this, packageName, componentName, false, false, true);
+ U.launchApp(this, packageName, componentName, false, !isInMultiWindowMode(), true);
showStartMenu = false;
shouldHideTaskbar = true;