Merge "Fix unbundled settings launching activity."
This commit is contained in:
committed by
Android (Google) Code Review
commit
2c40a6f19a
@@ -105,7 +105,7 @@ public class TopLevelBatteryPreferenceController extends BasePreferenceControlle
|
||||
return super.handlePreferenceTreeClick(preference);
|
||||
}
|
||||
Intent intent = new Intent();
|
||||
intent.setComponent(currentFragmentName);
|
||||
intent.setComponent(replacingActivity);
|
||||
mContext.startActivity(intent);
|
||||
return true;
|
||||
}
|
||||
@@ -189,4 +189,4 @@ public class TopLevelBatteryPreferenceController extends BasePreferenceControlle
|
||||
String pkgName = lastPkgIndex > 0 ? classPath.substring(0, lastPkgIndex) : "";
|
||||
return new ComponentName(pkgName, split[classNameIndex]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user