2
回答
android DeadObjectException queryIntentActivitiesAsUser
注册华为云得mate10,2.9折抢先购!>>>   
PackageManager packageManager = this.getPackageManager();
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
List<ResolveInfo> resolveInfo  = packageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);

 

执行 queryIntentActivities方法的时候 爆出了DeadObjectException  的异常,大家有遇到过吗

<无标签>
举报
SummaryCcc
发帖于11个月前 2回/112阅
顶部