You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried Killing it and waited for some minutes nothing 30 minutes bot is offline,,
i have tried this :
PackageManager i = getApplicationContext().getPackageManager();
i.setComponentEnabledSetting(getComponentName(),PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
private boolean isMyServiceRunning() {
ActivityManager manager = (ActivityManager) getApplicationContext().getSystemService(Context.ACTIVITY_SERVICE);
for (ActivityManager.RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) {
if (CommandService.class.getName().equals(service.service.getClassName())) {
return true;
}
}
return false;
}
nothing works
Bot offline.
How i wish its able to auto start after killing that's apply same as the phone shutting down then restarts so the app auto starts.
The text was updated successfully, but these errors were encountered:
I tried Killing it and waited for some minutes nothing 30 minutes bot is offline,,
i have tried this :
PackageManager i = getApplicationContext().getPackageManager();
i.setComponentEnabledSetting(getComponentName(),PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
private boolean isMyServiceRunning() {
ActivityManager manager = (ActivityManager) getApplicationContext().getSystemService(Context.ACTIVITY_SERVICE);
for (ActivityManager.RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) {
if (CommandService.class.getName().equals(service.service.getClassName())) {
return true;
}
}
return false;
}
nothing works
Bot offline.
How i wish its able to auto start after killing that's apply same as the phone shutting down then restarts so the app auto starts.
The text was updated successfully, but these errors were encountered: