45 lines
1.6 KiB
Java
45 lines
1.6 KiB
Java
|
package com.google.android.gms.common.internal;
|
||
|
|
||
|
import android.content.Intent;
|
||
|
import android.net.Uri;
|
||
|
import android.text.TextUtils;
|
||
|
import com.huawei.hms.support.api.entity.common.CommonConstant;
|
||
|
import org.simpleframework.xml.strategy.Name;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class zzt {
|
||
|
private static final Uri zza;
|
||
|
private static final Uri zzb;
|
||
|
|
||
|
static {
|
||
|
Uri parse = Uri.parse("https://plus.google.com/");
|
||
|
zza = parse;
|
||
|
zzb = parse.buildUpon().appendPath("circles").appendPath("find").build();
|
||
|
}
|
||
|
|
||
|
public static Intent zza() {
|
||
|
Intent intent = new Intent("com.google.android.clockwork.home.UPDATE_ANDROID_WEAR_ACTION");
|
||
|
intent.setPackage("com.google.android.wearable.app");
|
||
|
return intent;
|
||
|
}
|
||
|
|
||
|
public static Intent zzb(String str, String str2) {
|
||
|
Intent intent = new Intent(CommonConstant.ACTION.HWID_SCHEME_URL);
|
||
|
Uri.Builder appendQueryParameter = Uri.parse("market://details").buildUpon().appendQueryParameter(Name.MARK, "com.google.android.gms");
|
||
|
if (!TextUtils.isEmpty(str2)) {
|
||
|
appendQueryParameter.appendQueryParameter("pcampaignid", str2);
|
||
|
}
|
||
|
intent.setData(appendQueryParameter.build());
|
||
|
intent.setPackage("com.android.vending");
|
||
|
intent.addFlags(524288);
|
||
|
return intent;
|
||
|
}
|
||
|
|
||
|
public static Intent zzc(String str) {
|
||
|
Uri fromParts = Uri.fromParts("package", "com.google.android.gms", null);
|
||
|
Intent intent = new Intent("android.settings.APPLICATION_DETAILS_SETTINGS");
|
||
|
intent.setData(fromParts);
|
||
|
return intent;
|
||
|
}
|
||
|
}
|