mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2025-01-22 09:07:32 +01:00
Fix broken statement in wear db, fixes #264
This commit is contained in:
parent
050a78569d
commit
244d3aef7e
@ -88,7 +88,7 @@ public class NodeDatabaseHelper extends SQLiteOpenHelper {
|
||||
selection = "packageName = ? AND signatureDigest = ? AND host = ? AND path LIKE ?";
|
||||
}
|
||||
selection += " AND deleted=0 AND assetsPresent !=0";
|
||||
return getReadableDatabase().rawQuery("SELECT null AS host,printf(\"wear://%s%s\",host,path) AS path,data AS data,\'\' AS tags,assetname AS asset_key,assets_digest AS asset_id FROM dataItemsAndAssets WHERE " + selection, params);
|
||||
return getReadableDatabase().rawQuery("SELECT host AS host,path AS path,data AS data,\'\' AS tags,assetname AS asset_key,assets_digest AS asset_id FROM dataItemsAndAssets WHERE " + selection, params);
|
||||
}
|
||||
|
||||
public synchronized Cursor getDataItemsByHostAndPath(String packageName, String signatureDigest, String host, String path) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user