profile trigger

This commit is contained in:
jens 2022-01-09 13:51:38 +01:00
parent 4bea2113fa
commit 4d7fa711f9
3 changed files with 8 additions and 1 deletions

View File

@ -290,6 +290,11 @@ public class ActivityManageActionStartActivity extends Activity
etPackageName.setText(ai.packageName);
etActivityOrActionPath.setText(ai.name);
}
else
{
getActionStartActivityDialog5Activity(packageName).show();
Miscellaneous.messageBox(getResources().getString(R.string.hint), getResources().getString(R.string.launcherNotFound) + Miscellaneous.lineSeparator + getResources().getString(R.string.chooseActivityHint), ActivityManageActionStartActivity.this).show();
}
}
});
alertDialogBuilder.setNegativeButton(getResources().getString(R.string.pickActivityManually), new DialogInterface.OnClickListener()

View File

@ -754,4 +754,5 @@
<string name="takeLauncherActivity">Find launcher automatically</string>
<string name="pickActivityManually">Choose activity manually</string>
<string name="launcherOrManualExplanation">Easy mode: Automation can try to identify the launcher activity of the desired program.\nAlternatively you can also pick one of the application\'s activities manually.\nWhat would you like?</string>
<string name="launcherNotFound">A launcher activity of this app could not be identified. You will have to pick one manually.</string>
</resources>

View File

@ -1,3 +1,4 @@
* New permission requested: Exclusion from battery optimization
* New trigger: Profiles can be used as trigger
* Fixed: Bug in orientation trigger
* Fixed: Bug in orientation trigger
* Start app action simplified a bit