protected void onResume() {
if (!isInMultiWindowMode())
startService(new Intent(this, SplitScreenService.class));
super.onResume();
}
<BUG>public void thunderbirdsAreGo() {
Intent primaryIntent = getPackageManager().getLaunchIntentForPackage(getIntent().

getStringExtra(INTENT_EXTRA_PACKAGE_1));</BUG>
primaryIntent.addFlags(Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT);

protected void onResume() {
if (!isInMultiWindowMode())
startService(new Intent(this, SplitScreenService.class));
super.onResume();
}
public void thunderbirdsAreGo() {
Intent primaryIntent;
Intent secondaryIntent;
String pkg1 = getIntent().getStringExtra(INTENT_EXTRA_PACKAGE_1);
String pkg2 = getIntent().getStringExtra(INTENT_EXTRA_PACKAGE_1);
if (pkg1 == null || pkg2 == null || pkg1.isEmpty() || pkg2.isEmpty()) {
primaryIntent = getPackageManager().getLaunchIntentForPackage(pkg1);
primaryIntent.addFlags(Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT);
