Start other service bugfix attempt

This commit is contained in:
Jens 2023-11-19 23:44:10 +01:00
parent 7884358564
commit 54f3cc84c4
2 changed files with 6 additions and 0 deletions

View File

@ -1066,6 +1066,8 @@ public class Actions
if(packageName.equals("dummyPkg")) if(packageName.equals("dummyPkg"))
externalApplicationIntent.setAction(className); externalApplicationIntent.setAction(className);
externalApplicationIntent.setClassName(packageName, className);
if (!Miscellaneous.doesActivityExist(externalApplicationIntent, Miscellaneous.getAnyContext())) if (!Miscellaneous.doesActivityExist(externalApplicationIntent, Miscellaneous.getAnyContext()))
Miscellaneous.logEvent("w", "StartOtherApp", "Activity not found: " + className, 2); Miscellaneous.logEvent("w", "StartOtherApp", "Activity not found: " + className, 2);
} }

View File

@ -298,7 +298,11 @@ public class ActivityManageActionStartActivity extends Activity
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
{ {
if(isChecked) if(isChecked)
{
bSelectApp.setEnabled(isChecked); bSelectApp.setEnabled(isChecked);
}
bug
etClassName.setEnabled(!isChecked);
} }
}); });