46 lines
1008 B
Java
46 lines
1008 B
Java
package com.google.zxing.client.android.share;
|
|
|
|
import android.graphics.drawable.Drawable;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class AppInfo implements Comparable<AppInfo> {
|
|
private final String a;
|
|
private final String b;
|
|
private final Drawable c;
|
|
|
|
AppInfo(String str, String str2, Drawable drawable) {
|
|
this.a = str;
|
|
this.b = str2;
|
|
this.c = drawable;
|
|
}
|
|
|
|
@Override // java.lang.Comparable
|
|
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
|
public int compareTo(AppInfo appInfo) {
|
|
return this.b.compareTo(appInfo.b);
|
|
}
|
|
|
|
Drawable c() {
|
|
return this.c;
|
|
}
|
|
|
|
String d() {
|
|
return this.a;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (obj instanceof AppInfo) {
|
|
return this.b.equals(((AppInfo) obj).b);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.b.hashCode();
|
|
}
|
|
|
|
public String toString() {
|
|
return this.b;
|
|
}
|
|
}
|