Searched refs:topActivity (Results 1 – 2 of 2) sorted by relevance
802 String currentPackageName = mAcivityManager.getRunningTasks(1).get(0).topActivity in isTopOfStack()1329 String topActivity = am.getRunningTasks(1).get(0).topActivity.getClassName(); in isStkDialogActivated() local1331 CatLog.d(LOG_TAG, "isStkDialogActivated: " + topActivity); in isStkDialogActivated()1332 if (topActivity.equals(stkDialogActivity)) { in isStkDialogActivated()
342 return !tasks.isEmpty() && pkgName.equals(tasks.get(0).topActivity.getPackageName()); in isForegroundApp()