package com.huawei.hms.update.note; import android.app.Activity; import android.content.Intent; import android.view.KeyEvent; import com.huawei.hms.activity.IBridgeActivityDelegate; import com.huawei.hms.support.log.HMSLog; /* loaded from: classes2.dex */ public class DoNothingResolution implements IBridgeActivityDelegate { @Override // com.huawei.hms.activity.IBridgeActivityDelegate public int getRequestCode() { HMSLog.i("DoNothingResolution", ""); return 0; } @Override // com.huawei.hms.activity.IBridgeActivityDelegate public void onBridgeActivityCreate(Activity activity) { HMSLog.i("DoNothingResolution", ""); if (activity != null && !activity.isFinishing()) { activity.setResult(30); activity.finish(); } else { HMSLog.e("DoNothingResolution", " activity is null or finishing"); } } @Override // com.huawei.hms.activity.IBridgeActivityDelegate public void onBridgeActivityDestroy() { HMSLog.i("DoNothingResolution", ""); } @Override // com.huawei.hms.activity.IBridgeActivityDelegate public boolean onBridgeActivityResult(int i, int i2, Intent intent) { HMSLog.i("DoNothingResolution", ""); return false; } @Override // com.huawei.hms.activity.IBridgeActivityDelegate public void onBridgeConfigurationChanged() { HMSLog.i("DoNothingResolution", ""); } @Override // com.huawei.hms.activity.IBridgeActivityDelegate public void onKeyUp(int i, KeyEvent keyEvent) { HMSLog.i("DoNothingResolution", ""); } }