Use preference for about phone page instead of injection.
It's faster than tile injection. The fragment comes from Settings itself, we don't have to use to injection. Bug: 118168552 Test: robotest Change-Id: If6a79dd73f8a51dbb21338a40f22dc8b8f8c8cb8
This commit is contained in:
@@ -79,12 +79,7 @@ public class DeviceModelPreferenceController extends BasePreferenceController {
|
||||
}
|
||||
|
||||
public static String getDeviceModel() {
|
||||
FutureTask<String> msvSuffixTask = new FutureTask<String>(new Callable<String>() {
|
||||
@Override
|
||||
public String call() {
|
||||
return DeviceInfoUtils.getMsvSuffix();
|
||||
}
|
||||
});
|
||||
FutureTask<String> msvSuffixTask = new FutureTask<>(() -> DeviceInfoUtils.getMsvSuffix());
|
||||
|
||||
msvSuffixTask.run();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user