@DSVerified @DSBan(DSCat.DROIDSAFE_INTERNAL) public static void modelService(android.app.Service service) { if (mApplication != null) service.setApplication(mApplication); service.droidsafeAttachContext(context); service.onCreate(); for (IntentFilter filter : service.__ds__intentFilters) { Intent intent = service.__ds__registerIntentFilter(filter); mApplication.__ds__intentsFromFilter.add(intent); service.onBind(intent); service.onRebind(intent); service.onStart(intent, DSUtils.FAKE_INT); service.onTaskRemoved(intent); service.onStartCommand(intent, DSUtils.FAKE_INT, DSUtils.FAKE_INT); service.onUnbind(intent); if (service instanceof IntentService) { ((IntentService) service).__ds__onHandleIntent(intent); } } service.droidsafeOnSubServiceHook(); service.onConfigurationChanged(new Configuration()); service.onLowMemory(); service.onTrimMemory(0); service.stopSelf(0); service.onDestroy(); }
@Override public void onTrimMemory(int level) { super.onTrimMemory(level); }