Merge "Fixing settings crash when no default home app is set" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ee2ac81999
@@ -91,6 +91,9 @@ public class DefaultHomePreferenceController extends DefaultAppPreferenceControl
|
||||
|
||||
@Override
|
||||
protected Intent getSettingIntent(DefaultAppInfo info) {
|
||||
if (info == null) {
|
||||
return null;
|
||||
}
|
||||
final String packageName;
|
||||
if (info.componentName != null) {
|
||||
packageName = info.componentName.getPackageName();
|
||||
|
||||
Reference in New Issue
Block a user