hunk.code_window:       mOpenBrowserPromise = null;
         return;
       }
       WritableMap result = Arguments.createMap();
       result.putString("type", "dismiss");
       mOpenBrowserPromise.resolve(result);
       mOpenBrowserPromise = null;
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:     EventBus.getDefault().unregister(this);
  
hunk.file_path: android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/WebBrowserModule.java
hunk.type: add
file: /**
   * Copyright (c) 2015-present, Facebook, Inc.
   * All rights reserved.
   *
   * This source code is licensed under the BSD-style license found in the
   * LICENSE file in the root directory of this source tree. An additional grant
   * of patent rights can be found in the PATENTS file in the same directory.
   */
  
  #import <UIKit/UIKit.h>
  
  #import <ReactABI17_0_0/ABI17_0_0RCTInvalidating.h>
  #import <ReactABI17_0_0/ABI17_0_0RCTModalHostViewManager.h>
  #import <ReactABI17_0_0/ABI17_0_0RCTView.h>
  
  @class ABI17_0_0RCTBridge;
  @class ABI17_0_0RCTModalHostViewController;
  
  @protocol ABI17_0_0RCTModalHostViewInteractor;
  
  @interface ABI17_0_0RCTModalHostView : UIView <ABI17_0_0RCTInvalidating>
  
  @property (nonatomic, copy) NSString *animationType;
  @property (nonatomic, assign, getter=isTransparent) BOOL transparent;
  
  @property (nonatomic, copy) ABI17_0_0RCTDirectEventBlock onShow;
  
  @property (nonatomic, weak) id<ABI17_0_0RCTModalHostViewInteractor> delegate;
  
  @property (nonatomic, copy) NSArray<NSString *> *supportedOrientations;
  @property (nonatomic, copy) ABI17_0_0RCTDirectEventBlock onOrientationChange;
  
  - (instancetype)initWithBridge:(ABI17_0_0RCTBridge *)bridge NS_DESIGNATED_INITIALIZER;
  
  @end
  
  @protocol ABI17_0_0RCTModalHostViewInteractor <NSObject>
  
  - (void)presentModalHostView:(ABI17_0_0RCTModalHostView *)modalHostView withViewController:(ABI17_0_0RCTModalHostViewController *)viewController animated:(BOOL)animated;
  - (void)dismissModalHostView:(ABI17_0_0RCTModalHostView *)modalHostView withViewController:(ABI17_0_0RCTModalHostViewController *)viewController animated:(BOOL)animated;
  
  @end
  