am cfb09fac: Merge "The default home intent needs CATEGORY_DEFAULT" into jb-mr2-dev

* commit 'cfb09fac73716291468b61f20ee1b7818d1dcfd1':
  The default home intent needs CATEGORY_DEFAULT
This commit is contained in:
Christopher Tate
2013-05-08 16:13:20 -07:00
committed by Android Git Automerger

View File

@@ -2298,6 +2298,7 @@ public final class ActivityManagerService extends ActivityManagerNative
intent.setComponent(mTopComponent);
if (mFactoryTest != SystemServer.FACTORY_TEST_LOW_LEVEL) {
intent.addCategory(Intent.CATEGORY_HOME);
intent.addCategory(Intent.CATEGORY_DEFAULT);
}
ActivityInfo aInfo =
resolveActivityInfo(intent, STOCK_PM_FLAGS, userId);