Fixed weird crash on emulator
This commit is contained in:
parent
628d684ab9
commit
793bd618ac
@ -34,11 +34,13 @@ public class CompatibilityChecker extends Compatibility {
|
|||||||
logMsg.append("Available device features:");
|
logMsg.append("Available device features:");
|
||||||
features = new HashSet<String>();
|
features = new HashSet<String>();
|
||||||
if (pm != null) {
|
if (pm != null) {
|
||||||
for (FeatureInfo fi : pm.getSystemAvailableFeatures()) {
|
final FeatureInfo[] featureArray = pm.getSystemAvailableFeatures();
|
||||||
features.add(fi.name);
|
if (featureArray != null)
|
||||||
logMsg.append('\n');
|
for (FeatureInfo fi : pm.getSystemAvailableFeatures()) {
|
||||||
logMsg.append(fi.name);
|
features.add(fi.name);
|
||||||
}
|
logMsg.append('\n');
|
||||||
|
logMsg.append(fi.name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cpuAbis = SupportedArchitectures.getAbis();
|
cpuAbis = SupportedArchitectures.getAbis();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user