forked from jens/Automation
Start other service bugfix attempt
This commit is contained in:
parent
7884358564
commit
54f3cc84c4
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -298,8 +298,12 @@ 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);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
rbStartAppSelectByAction.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener()
|
rbStartAppSelectByAction.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener()
|
||||||
|
Loading…
Reference in New Issue
Block a user