30 lines
1.0 KiB
Java
30 lines
1.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.Intent;
|
||
|
import android.database.Cursor;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class fJT {
|
||
|
public static C1245Yu ayL_(Intent intent, Context context) {
|
||
|
C1245Yu c1245Yu = null;
|
||
|
try {
|
||
|
Cursor query = context.getContentResolver().query(intent.getData(), new String[]{"data1", "data4", "display_name"}, null, null, null);
|
||
|
if (query != null) {
|
||
|
if (query.moveToFirst()) {
|
||
|
String string = query.getString(query.getColumnIndex("data1"));
|
||
|
String string2 = query.getString(query.getColumnIndex("display_name"));
|
||
|
C1245Yu c1245Yu2 = new C1245Yu();
|
||
|
c1245Yu2.d = string2;
|
||
|
c1245Yu2.b = string;
|
||
|
c1245Yu = c1245Yu2;
|
||
|
}
|
||
|
query.close();
|
||
|
}
|
||
|
} catch (Exception e) {
|
||
|
guQ.c(e, "findContact", new Object[0]);
|
||
|
}
|
||
|
return c1245Yu;
|
||
|
}
|
||
|
}
|