??????Bug????????????Android??5.0?汾???????н?????????Щ????APP??????????????????д?????
????????????
??????Android???????Installer???????ú?????????????????????
????1??????????installer???????á????home????????У?????????????????launcher????????????????????????????????????????????????
????2???????installer???氳???????????????????launcher??????????á??????home?????????ε???????????????????????home????????Activity??
??????????飺
???????????????????????????????????????????д??????????????????????????
????????App1??App2.
????App1???????Activity???????′??????App2.
????PackageManager packageManager = getPackageManager();Intent intent;
????intent = packageManager.getLaunchIntentForPackage("cc.ninty.app2");
????if(intent==null) {
????System.out.println("APP not found!");
????}
????startActivity(intent);
????App2????????Activity??Activity1??Activity2????Activity1????startActivity2.
????????????Activity??launch mode???????standard????????App1?????????????Activity??taskid??
??????????????App1?????App2?е?????Activity??taskid??App1??????????????ε??APP2??launcher???????Activity1??Activity2??????′?????Σ?????taskid???????????
???????????
????Android?????????д?bug??????δ???????????????Щ?????
????https://code.google.com/p/android/issues/detail?id=2373
????https://code.google.com/p/android/issues/detail?id=26658
????http://stackoverflow.com/questions/16283079/re-launch-of-activity-on-home-button-but-only-the-first-time/16447508#16447508
????????????
?????????????launcher????????????????????′???Activity1?????????Activity1?????task??root???????task???????е?activity????????????????Activity1??onCreate??????д?????ж??
????if ( !isTaskRoot() )  {
????finish();
????return;
????}
??????????task?л???????Activity???????????????