Changes in android task stack lags

view story

http://stackoverflow.com – I'm creating task-blocker for parent control. I managed to handle manipulation with android task stack by implementing service with ScheduledExecutorService inside: private ScheduledExecutorService timer; ... @Override public void onCreate() { Log.d(TAG, "Created"); timer = Executors.newScheduledThreadPool(2); activityManager = (ActivityManager)this.getSystemService(ACTIVITY_SERVICE); final Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_HOME); final ResolveInfo res = getPackageManager().resolveActivity(intent, 0); defaultLau (HowTos)