- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
33 lines
916 B
Java
33 lines
916 B
Java
package androidx.core.database;
|
|
|
|
import android.text.TextUtils;
|
|
|
|
@Deprecated
|
|
/* loaded from: classes.dex */
|
|
public final class DatabaseUtilsCompat {
|
|
private DatabaseUtilsCompat() {
|
|
}
|
|
|
|
@Deprecated
|
|
public static String concatenateWhere(String str, String str2) {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return str2;
|
|
}
|
|
if (TextUtils.isEmpty(str2)) {
|
|
return str;
|
|
}
|
|
return "(" + str + ") AND (" + str2 + ")";
|
|
}
|
|
|
|
@Deprecated
|
|
public static String[] appendSelectionArgs(String[] strArr, String[] strArr2) {
|
|
if (strArr == null || strArr.length == 0) {
|
|
return strArr2;
|
|
}
|
|
String[] strArr3 = new String[strArr.length + strArr2.length];
|
|
System.arraycopy(strArr, 0, strArr3, 0, strArr.length);
|
|
System.arraycopy(strArr2, 0, strArr3, strArr.length, strArr2.length);
|
|
return strArr3;
|
|
}
|
|
}
|