Oops, fix compiler warning
This commit is contained in:
parent
06253a94cf
commit
87ca5ce189
@ -220,11 +220,11 @@ public class DB {
|
|||||||
|
|
||||||
private static class EclairChecker extends CompatibilityChecker {
|
private static class EclairChecker extends CompatibilityChecker {
|
||||||
|
|
||||||
private HashSet features;
|
private HashSet<String> features;
|
||||||
|
|
||||||
public EclairChecker(Context ctx) {
|
public EclairChecker(Context ctx) {
|
||||||
PackageManager pm = ctx.getPackageManager();
|
PackageManager pm = ctx.getPackageManager();
|
||||||
features = new HashSet();
|
features = new HashSet<String>();
|
||||||
for (FeatureInfo fi : pm.getSystemAvailableFeatures()) {
|
for (FeatureInfo fi : pm.getSystemAvailableFeatures()) {
|
||||||
features.add(fi.name);
|
features.add(fi.name);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user