Searched refs:currentDefaultHome (Results 1 – 2 of 2) sorted by relevance
478 ComponentName currentDefaultHome = mPm.getHomeActivities(homeActivities); in shouldDisableUninstallForHomeApp() local498 } else if (currentDefaultHome == null) { in shouldDisableUninstallForHomeApp()505 return mPackageName.equals(currentDefaultHome.getPackageName()); in shouldDisableUninstallForHomeApp()
447 ComponentName currentDefaultHome = mPm.getHomeActivities(homeActivities); in updateUninstallButton() local448 if (currentDefaultHome == null) { in updateUninstallButton()455 enabled = !mPackageInfo.packageName.equals(currentDefaultHome.getPackageName()); in updateUninstallButton()