Merge "Allow empty tokens in strict grammar" into rvc-qpr-dev am: 5dd3cded78
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12205025 Change-Id: I7a2f918920faa775a8ef341711b2182bdfad4630
This commit is contained in:
@@ -798,6 +798,7 @@ public class SQLiteQueryBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void enforceStrictToken(@NonNull String token) {
|
private void enforceStrictToken(@NonNull String token) {
|
||||||
|
if (TextUtils.isEmpty(token)) return;
|
||||||
if (isTableOrColumn(token)) return;
|
if (isTableOrColumn(token)) return;
|
||||||
if (SQLiteTokenizer.isFunction(token)) return;
|
if (SQLiteTokenizer.isFunction(token)) return;
|
||||||
if (SQLiteTokenizer.isType(token)) return;
|
if (SQLiteTokenizer.isType(token)) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user