Use database constant instead of hard coded string literal

This commit is contained in:
Peter Serwylo 2016-09-24 07:16:36 +10:00
parent cff209cd44
commit 9b13d98943

View File

@ -69,7 +69,7 @@ public class TempAppProvider extends AppProvider {
}
private AppQuerySelection queryApps(String packageNames) {
return queryApps(packageNames, getTableName() + ".id");
return queryApps(packageNames, getTableName() + "." + AppMetadataTable.Cols.PACKAGE_NAME);
}
public static class Helper {