2021-06-27 20:44:35 +00:00
package androidx.activity ;
import android.annotation.SuppressLint ;
import android.content.Context ;
import android.content.Intent ;
import android.content.IntentSender ;
import android.os.Build ;
import android.os.Bundle ;
import android.os.Handler ;
import android.os.Looper ;
import android.os.Process ;
import android.text.TextUtils ;
import android.view.View ;
import android.view.ViewGroup ;
import android.view.Window ;
import androidx.activity.contextaware.ContextAware ;
import androidx.activity.contextaware.ContextAwareHelper ;
import androidx.activity.contextaware.OnContextAvailableListener ;
import androidx.activity.result.ActivityResultCallback ;
import androidx.activity.result.ActivityResultCaller ;
import androidx.activity.result.ActivityResultLauncher ;
import androidx.activity.result.ActivityResultRegistry ;
import androidx.activity.result.ActivityResultRegistryOwner ;
import androidx.activity.result.IntentSenderRequest ;
import androidx.activity.result.contract.ActivityResultContract ;
2021-08-09 22:51:56 +00:00
import androidx.activity.result.contract.ActivityResultContracts ;
2021-06-27 20:44:35 +00:00
import androidx.annotation.CallSuper ;
import androidx.annotation.ContentView ;
import androidx.annotation.LayoutRes ;
import androidx.annotation.MainThread ;
import androidx.annotation.NonNull ;
import androidx.annotation.Nullable ;
import androidx.core.app.ActivityCompat ;
import androidx.core.app.ActivityOptionsCompat ;
import androidx.lifecycle.HasDefaultViewModelProviderFactory ;
import androidx.lifecycle.Lifecycle ;
import androidx.lifecycle.LifecycleEventObserver ;
import androidx.lifecycle.LifecycleOwner ;
import androidx.lifecycle.LifecycleRegistry ;
import androidx.lifecycle.ReportFragment ;
import androidx.lifecycle.SavedStateViewModelFactory ;
import androidx.lifecycle.ViewModelProvider ;
import androidx.lifecycle.ViewModelStore ;
import androidx.lifecycle.ViewModelStoreOwner ;
import androidx.lifecycle.ViewTreeLifecycleOwner ;
import androidx.lifecycle.ViewTreeViewModelStoreOwner ;
import androidx.savedstate.SavedStateRegistry ;
import androidx.savedstate.SavedStateRegistryController ;
import androidx.savedstate.SavedStateRegistryOwner ;
import androidx.savedstate.ViewTreeSavedStateRegistryOwner ;
import androidx.tracing.Trace ;
2021-12-17 21:59:34 +00:00
import b.d.b.a.a ;
2021-06-27 20:44:35 +00:00
import java.util.ArrayList ;
import java.util.concurrent.atomic.AtomicInteger ;
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public class ComponentActivity extends androidx . core . app . ComponentActivity implements ContextAware , LifecycleOwner , ViewModelStoreOwner , HasDefaultViewModelProviderFactory , SavedStateRegistryOwner , OnBackPressedDispatcherOwner , ActivityResultRegistryOwner , ActivityResultCaller {
private ActivityResultRegistry mActivityResultRegistry ;
@LayoutRes
private int mContentLayoutId ;
public final ContextAwareHelper mContextAwareHelper ;
private ViewModelProvider . Factory mDefaultFactory ;
private final LifecycleRegistry mLifecycleRegistry ;
private final AtomicInteger mNextLocalRequestCode ;
private final OnBackPressedDispatcher mOnBackPressedDispatcher ;
public final SavedStateRegistryController mSavedStateRegistryController ;
private ViewModelStore mViewModelStore ;
/* renamed from: androidx.activity.ComponentActivity$1 reason: invalid class name */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public class AnonymousClass1 implements Runnable {
public AnonymousClass1 ( ) {
}
@Override // java.lang.Runnable
public void run ( ) {
try {
ComponentActivity . access$001 ( ComponentActivity . this ) ;
} catch ( IllegalStateException e ) {
if ( ! TextUtils . equals ( e . getMessage ( ) , " Can not perform this action after onSaveInstanceState " ) ) {
throw e ;
}
}
}
}
/* renamed from: androidx.activity.ComponentActivity$2 reason: invalid class name */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public class AnonymousClass2 extends ActivityResultRegistry {
/* renamed from: androidx.activity.ComponentActivity$2$1 reason: invalid class name */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public class AnonymousClass1 implements Runnable {
public final /* synthetic */ int val$requestCode ;
public final /* synthetic */ ActivityResultContract . SynchronousResult val$synchronousResult ;
public AnonymousClass1 ( int i , ActivityResultContract . SynchronousResult synchronousResult ) {
this . val$requestCode = i ;
this . val$synchronousResult = synchronousResult ;
}
@Override // java.lang.Runnable
public void run ( ) {
AnonymousClass2 . this . dispatchResult ( this . val$requestCode , this . val$synchronousResult . getValue ( ) ) ;
}
}
2022-03-07 09:34:54 +00:00
/* renamed from: androidx.activity.ComponentActivity$2$2 reason: invalid class name and collision with other inner class name */
/* loaded from: classes.dex */
public class RunnableC00002 implements Runnable {
2021-06-27 20:44:35 +00:00
public final /* synthetic */ IntentSender . SendIntentException val$e ;
public final /* synthetic */ int val$requestCode ;
2022-03-07 09:34:54 +00:00
public RunnableC00002 ( int i , IntentSender . SendIntentException sendIntentException ) {
2021-06-27 20:44:35 +00:00
this . val$requestCode = i ;
this . val$e = sendIntentException ;
}
@Override // java.lang.Runnable
public void run ( ) {
2021-08-09 22:51:56 +00:00
AnonymousClass2 . this . dispatchResult ( this . val$requestCode , 0 , new Intent ( ) . setAction ( ActivityResultContracts . StartIntentSenderForResult . ACTION_INTENT_SENDER_REQUEST ) . putExtra ( ActivityResultContracts . StartIntentSenderForResult . EXTRA_SEND_INTENT_EXCEPTION , this . val$e ) ) ;
2021-06-27 20:44:35 +00:00
}
}
public AnonymousClass2 ( ) {
}
@Override // androidx.activity.result.ActivityResultRegistry
public < I , O > void onLaunch ( int i , @NonNull ActivityResultContract < I , O > activityResultContract , I i2 , @Nullable ActivityOptionsCompat activityOptionsCompat ) {
ComponentActivity componentActivity = ComponentActivity . this ;
ActivityResultContract . SynchronousResult < O > synchronousResult = activityResultContract . getSynchronousResult ( componentActivity , i2 ) ;
if ( synchronousResult ! = null ) {
new Handler ( Looper . getMainLooper ( ) ) . post ( new AnonymousClass1 ( i , synchronousResult ) ) ;
return ;
}
Intent createIntent = activityResultContract . createIntent ( componentActivity , i2 ) ;
Bundle bundle = null ;
2021-08-09 22:51:56 +00:00
if ( createIntent . hasExtra ( ActivityResultContracts . StartActivityForResult . EXTRA_ACTIVITY_OPTIONS_BUNDLE ) ) {
bundle = createIntent . getBundleExtra ( ActivityResultContracts . StartActivityForResult . EXTRA_ACTIVITY_OPTIONS_BUNDLE ) ;
createIntent . removeExtra ( ActivityResultContracts . StartActivityForResult . EXTRA_ACTIVITY_OPTIONS_BUNDLE ) ;
2021-06-27 20:44:35 +00:00
} else if ( activityOptionsCompat ! = null ) {
bundle = activityOptionsCompat . toBundle ( ) ;
}
2021-08-09 22:51:56 +00:00
if ( ActivityResultContracts . RequestMultiplePermissions . ACTION_REQUEST_PERMISSIONS . equals ( createIntent . getAction ( ) ) ) {
String [ ] stringArrayExtra = createIntent . getStringArrayExtra ( ActivityResultContracts . RequestMultiplePermissions . EXTRA_PERMISSIONS ) ;
2021-06-27 20:44:35 +00:00
if ( stringArrayExtra ! = null ) {
ArrayList arrayList = new ArrayList ( ) ;
for ( String str : stringArrayExtra ) {
if ( ComponentActivity . this . checkPermission ( str , Process . myPid ( ) , Process . myUid ( ) ) ! = 0 ) {
arrayList . add ( str ) ;
}
}
if ( ! arrayList . isEmpty ( ) ) {
ActivityCompat . requestPermissions ( componentActivity , ( String [ ] ) arrayList . toArray ( new String [ 0 ] ) , i ) ;
}
}
2021-08-09 22:51:56 +00:00
} else if ( ActivityResultContracts . StartIntentSenderForResult . ACTION_INTENT_SENDER_REQUEST . equals ( createIntent . getAction ( ) ) ) {
IntentSenderRequest intentSenderRequest = ( IntentSenderRequest ) createIntent . getParcelableExtra ( ActivityResultContracts . StartIntentSenderForResult . EXTRA_INTENT_SENDER_REQUEST ) ;
2021-06-27 20:44:35 +00:00
try {
ActivityCompat . startIntentSenderForResult ( componentActivity , intentSenderRequest . getIntentSender ( ) , i , intentSenderRequest . getFillInIntent ( ) , intentSenderRequest . getFlagsMask ( ) , intentSenderRequest . getFlagsValues ( ) , 0 , bundle ) ;
} catch ( IntentSender . SendIntentException e ) {
2022-03-07 09:34:54 +00:00
new Handler ( Looper . getMainLooper ( ) ) . post ( new RunnableC00002 ( i , e ) ) ;
2021-06-27 20:44:35 +00:00
}
} else {
ActivityCompat . startActivityForResult ( componentActivity , createIntent , i , bundle ) ;
}
}
}
/* renamed from: androidx.activity.ComponentActivity$3 reason: invalid class name */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public class AnonymousClass3 implements LifecycleEventObserver {
public AnonymousClass3 ( ) {
}
@Override // androidx.lifecycle.LifecycleEventObserver
public void onStateChanged ( @NonNull LifecycleOwner lifecycleOwner , @NonNull Lifecycle . Event event ) {
if ( event = = Lifecycle . Event . ON_STOP ) {
Window window = ComponentActivity . this . getWindow ( ) ;
View peekDecorView = window ! = null ? window . peekDecorView ( ) : null ;
if ( peekDecorView ! = null ) {
peekDecorView . cancelPendingInputEvents ( ) ;
}
}
}
}
/* renamed from: androidx.activity.ComponentActivity$4 reason: invalid class name */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public class AnonymousClass4 implements LifecycleEventObserver {
public AnonymousClass4 ( ) {
}
@Override // androidx.lifecycle.LifecycleEventObserver
public void onStateChanged ( @NonNull LifecycleOwner lifecycleOwner , @NonNull Lifecycle . Event event ) {
if ( event = = Lifecycle . Event . ON_DESTROY ) {
ComponentActivity . this . mContextAwareHelper . clearAvailableContext ( ) ;
if ( ! ComponentActivity . this . isChangingConfigurations ( ) ) {
ComponentActivity . this . getViewModelStore ( ) . clear ( ) ;
}
}
}
}
/* renamed from: androidx.activity.ComponentActivity$5 reason: invalid class name */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public class AnonymousClass5 implements LifecycleEventObserver {
public AnonymousClass5 ( ) {
}
@Override // androidx.lifecycle.LifecycleEventObserver
public void onStateChanged ( @NonNull LifecycleOwner lifecycleOwner , @NonNull Lifecycle . Event event ) {
ComponentActivity . this . ensureViewModelStore ( ) ;
ComponentActivity . this . getLifecycle ( ) . removeObserver ( this ) ;
}
}
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public static final class NonConfigurationInstances {
public Object custom ;
public ViewModelStore viewModelStore ;
}
public ComponentActivity ( ) {
this . mContextAwareHelper = new ContextAwareHelper ( ) ;
this . mLifecycleRegistry = new LifecycleRegistry ( this ) ;
this . mSavedStateRegistryController = SavedStateRegistryController . create ( this ) ;
this . mOnBackPressedDispatcher = new OnBackPressedDispatcher ( new AnonymousClass1 ( ) ) ;
this . mNextLocalRequestCode = new AtomicInteger ( ) ;
this . mActivityResultRegistry = new AnonymousClass2 ( ) ;
if ( getLifecycle ( ) ! = null ) {
int i = Build . VERSION . SDK_INT ;
getLifecycle ( ) . addObserver ( new AnonymousClass3 ( ) ) ;
getLifecycle ( ) . addObserver ( new AnonymousClass4 ( ) ) ;
getLifecycle ( ) . addObserver ( new AnonymousClass5 ( ) ) ;
if ( i < = 23 ) {
getLifecycle ( ) . addObserver ( new ImmLeaksCleaner ( this ) ) ;
return ;
}
return ;
}
throw new IllegalStateException ( " getLifecycle() returned null in ComponentActivity's constructor. Please make sure you are lazily constructing your Lifecycle in the first call to getLifecycle() rather than relying on field initialization. " ) ;
}
@ContentView
public ComponentActivity ( @LayoutRes int i ) {
this ( ) ;
this . mContentLayoutId = i ;
}
public static /* synthetic */ void access$001 ( ComponentActivity componentActivity ) {
super . onBackPressed ( ) ;
}
private void initViewTreeOwners ( ) {
ViewTreeLifecycleOwner . set ( getWindow ( ) . getDecorView ( ) , this ) ;
ViewTreeViewModelStoreOwner . set ( getWindow ( ) . getDecorView ( ) , this ) ;
ViewTreeSavedStateRegistryOwner . set ( getWindow ( ) . getDecorView ( ) , this ) ;
}
@Override // android.app.Activity
public void addContentView ( @SuppressLint ( { " UnknownNullness " , " MissingNullability " } ) View view , @SuppressLint ( { " UnknownNullness " , " MissingNullability " } ) ViewGroup . LayoutParams layoutParams ) {
initViewTreeOwners ( ) ;
super . addContentView ( view , layoutParams ) ;
}
@Override // androidx.activity.contextaware.ContextAware
public final void addOnContextAvailableListener ( @NonNull OnContextAvailableListener onContextAvailableListener ) {
this . mContextAwareHelper . addOnContextAvailableListener ( onContextAvailableListener ) ;
}
public void ensureViewModelStore ( ) {
if ( this . mViewModelStore = = null ) {
NonConfigurationInstances nonConfigurationInstances = ( NonConfigurationInstances ) getLastNonConfigurationInstance ( ) ;
if ( nonConfigurationInstances ! = null ) {
this . mViewModelStore = nonConfigurationInstances . viewModelStore ;
}
if ( this . mViewModelStore = = null ) {
this . mViewModelStore = new ViewModelStore ( ) ;
}
}
}
@Override // androidx.activity.result.ActivityResultRegistryOwner
@NonNull
public final ActivityResultRegistry getActivityResultRegistry ( ) {
return this . mActivityResultRegistry ;
}
@Override // androidx.lifecycle.HasDefaultViewModelProviderFactory
@NonNull
public ViewModelProvider . Factory getDefaultViewModelProviderFactory ( ) {
if ( getApplication ( ) ! = null ) {
if ( this . mDefaultFactory = = null ) {
this . mDefaultFactory = new SavedStateViewModelFactory ( getApplication ( ) , this , getIntent ( ) ! = null ? getIntent ( ) . getExtras ( ) : null ) ;
}
return this . mDefaultFactory ;
}
throw new IllegalStateException ( " Your activity is not yet attached to the Application instance. You can't request ViewModel before onCreate call. " ) ;
}
@Nullable
@Deprecated
public Object getLastCustomNonConfigurationInstance ( ) {
NonConfigurationInstances nonConfigurationInstances = ( NonConfigurationInstances ) getLastNonConfigurationInstance ( ) ;
if ( nonConfigurationInstances ! = null ) {
return nonConfigurationInstances . custom ;
}
return null ;
}
@Override // androidx.core.app.ComponentActivity, androidx.lifecycle.LifecycleOwner
@NonNull
public Lifecycle getLifecycle ( ) {
return this . mLifecycleRegistry ;
}
@Override // androidx.activity.OnBackPressedDispatcherOwner
@NonNull
public final OnBackPressedDispatcher getOnBackPressedDispatcher ( ) {
return this . mOnBackPressedDispatcher ;
}
@Override // androidx.savedstate.SavedStateRegistryOwner
@NonNull
public final SavedStateRegistry getSavedStateRegistry ( ) {
return this . mSavedStateRegistryController . getSavedStateRegistry ( ) ;
}
@Override // androidx.lifecycle.ViewModelStoreOwner
@NonNull
public ViewModelStore getViewModelStore ( ) {
if ( getApplication ( ) ! = null ) {
ensureViewModelStore ( ) ;
return this . mViewModelStore ;
}
throw new IllegalStateException ( " Your activity is not yet attached to the Application instance. You can't request ViewModel before onCreate call. " ) ;
}
@Override // android.app.Activity
@CallSuper
@Deprecated
public void onActivityResult ( int i , int i2 , @Nullable Intent intent ) {
if ( ! this . mActivityResultRegistry . dispatchResult ( i , i2 , intent ) ) {
super . onActivityResult ( i , i2 , intent ) ;
}
}
@Override // android.app.Activity
@MainThread
public void onBackPressed ( ) {
this . mOnBackPressedDispatcher . onBackPressed ( ) ;
}
@Override // androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate ( @Nullable Bundle bundle ) {
this . mSavedStateRegistryController . performRestore ( bundle ) ;
this . mContextAwareHelper . dispatchOnContextAvailable ( this ) ;
super . onCreate ( bundle ) ;
this . mActivityResultRegistry . onRestoreInstanceState ( bundle ) ;
ReportFragment . injectIfNeededIn ( this ) ;
int i = this . mContentLayoutId ;
if ( i ! = 0 ) {
setContentView ( i ) ;
}
}
@Override // android.app.Activity
@CallSuper
@Deprecated
public void onRequestPermissionsResult ( int i , @NonNull String [ ] strArr , @NonNull int [ ] iArr ) {
2021-08-09 22:51:56 +00:00
if ( ! this . mActivityResultRegistry . dispatchResult ( i , - 1 , new Intent ( ) . putExtra ( ActivityResultContracts . RequestMultiplePermissions . EXTRA_PERMISSIONS , strArr ) . putExtra ( ActivityResultContracts . RequestMultiplePermissions . EXTRA_PERMISSION_GRANT_RESULTS , iArr ) ) & & Build . VERSION . SDK_INT > = 23 ) {
2021-06-27 20:44:35 +00:00
super . onRequestPermissionsResult ( i , strArr , iArr ) ;
}
}
@Nullable
@Deprecated
public Object onRetainCustomNonConfigurationInstance ( ) {
return null ;
}
@Override // android.app.Activity
@Nullable
public final Object onRetainNonConfigurationInstance ( ) {
NonConfigurationInstances nonConfigurationInstances ;
Object onRetainCustomNonConfigurationInstance = onRetainCustomNonConfigurationInstance ( ) ;
ViewModelStore viewModelStore = this . mViewModelStore ;
if ( viewModelStore = = null & & ( nonConfigurationInstances = ( NonConfigurationInstances ) getLastNonConfigurationInstance ( ) ) ! = null ) {
viewModelStore = nonConfigurationInstances . viewModelStore ;
}
if ( viewModelStore = = null & & onRetainCustomNonConfigurationInstance = = null ) {
return null ;
}
NonConfigurationInstances nonConfigurationInstances2 = new NonConfigurationInstances ( ) ;
nonConfigurationInstances2 . custom = onRetainCustomNonConfigurationInstance ;
nonConfigurationInstances2 . viewModelStore = viewModelStore ;
return nonConfigurationInstances2 ;
}
@Override // androidx.core.app.ComponentActivity, android.app.Activity
@CallSuper
public void onSaveInstanceState ( @NonNull Bundle bundle ) {
Lifecycle lifecycle = getLifecycle ( ) ;
if ( lifecycle instanceof LifecycleRegistry ) {
( ( LifecycleRegistry ) lifecycle ) . setCurrentState ( Lifecycle . State . CREATED ) ;
}
super . onSaveInstanceState ( bundle ) ;
this . mSavedStateRegistryController . performSave ( bundle ) ;
this . mActivityResultRegistry . onSaveInstanceState ( bundle ) ;
}
@Override // androidx.activity.contextaware.ContextAware
@Nullable
public Context peekAvailableContext ( ) {
return this . mContextAwareHelper . peekAvailableContext ( ) ;
}
@Override // androidx.activity.result.ActivityResultCaller
@NonNull
public final < I , O > ActivityResultLauncher < I > registerForActivityResult ( @NonNull ActivityResultContract < I , O > activityResultContract , @NonNull ActivityResultCallback < O > activityResultCallback ) {
return registerForActivityResult ( activityResultContract , this . mActivityResultRegistry , activityResultCallback ) ;
}
@Override // androidx.activity.result.ActivityResultCaller
@NonNull
public final < I , O > ActivityResultLauncher < I > registerForActivityResult ( @NonNull ActivityResultContract < I , O > activityResultContract , @NonNull ActivityResultRegistry activityResultRegistry , @NonNull ActivityResultCallback < O > activityResultCallback ) {
2022-03-21 18:52:30 +00:00
StringBuilder R = a . R ( " activity_rq# " ) ;
R . append ( this . mNextLocalRequestCode . getAndIncrement ( ) ) ;
return activityResultRegistry . register ( R . toString ( ) , this , activityResultContract , activityResultCallback ) ;
2021-06-27 20:44:35 +00:00
}
@Override // androidx.activity.contextaware.ContextAware
public final void removeOnContextAvailableListener ( @NonNull OnContextAvailableListener onContextAvailableListener ) {
this . mContextAwareHelper . removeOnContextAvailableListener ( onContextAvailableListener ) ;
}
@Override // android.app.Activity
public void reportFullyDrawn ( ) {
try {
if ( Trace . isEnabled ( ) ) {
Trace . beginSection ( " reportFullyDrawn() for " + getComponentName ( ) ) ;
}
super . reportFullyDrawn ( ) ;
} finally {
Trace . endSection ( ) ;
}
}
@Override // android.app.Activity
public void setContentView ( @LayoutRes int i ) {
initViewTreeOwners ( ) ;
super . setContentView ( i ) ;
}
@Override // android.app.Activity
public void setContentView ( @SuppressLint ( { " UnknownNullness " , " MissingNullability " } ) View view ) {
initViewTreeOwners ( ) ;
super . setContentView ( view ) ;
}
@Override // android.app.Activity
public void setContentView ( @SuppressLint ( { " UnknownNullness " , " MissingNullability " } ) View view , @SuppressLint ( { " UnknownNullness " , " MissingNullability " } ) ViewGroup . LayoutParams layoutParams ) {
initViewTreeOwners ( ) ;
super . setContentView ( view , layoutParams ) ;
}
@Override // android.app.Activity
@Deprecated
public void startActivityForResult ( @SuppressLint ( { " UnknownNullness " } ) Intent intent , int i ) {
super . startActivityForResult ( intent , i ) ;
}
@Override // android.app.Activity
@Deprecated
public void startActivityForResult ( @SuppressLint ( { " UnknownNullness " } ) Intent intent , int i , @Nullable Bundle bundle ) {
super . startActivityForResult ( intent , i , bundle ) ;
}
@Override // android.app.Activity
@Deprecated
public void startIntentSenderForResult ( @SuppressLint ( { " UnknownNullness " } ) IntentSender intentSender , int i , @Nullable Intent intent , int i2 , int i3 , int i4 ) throws IntentSender . SendIntentException {
super . startIntentSenderForResult ( intentSender , i , intent , i2 , i3 , i4 ) ;
}
@Override // android.app.Activity
@Deprecated
public void startIntentSenderForResult ( @SuppressLint ( { " UnknownNullness " } ) IntentSender intentSender , int i , @Nullable Intent intent , int i2 , int i3 , int i4 , @Nullable Bundle bundle ) throws IntentSender . SendIntentException {
super . startIntentSenderForResult ( intentSender , i , intent , i2 , i3 , i4 , bundle ) ;
}
}