forked from jens/Automation
profile trigger
This commit is contained in:
parent
4bea2113fa
commit
4d7fa711f9
@ -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()
|
||||
|
@ -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>
|
@ -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
|
Loading…
Reference in New Issue
Block a user