title: Activity Closed Throwing DeadObjectException with un-notified error code part
body: <p>The code is working fine for Devices below API28, it fails for devices Above or Api28. The part of code where error is thrown is not showed by the debugger.</p>
  
  <p>The part where the error is thrown is during intent to a web browser and a video player.</p>
  
  <p>I've tried for all android devices with less than API28 , and the code is working perfectly fine.</p>
  
  <pre><code>    hRecycler.read.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View view) {
  
            //  Toast.makeText(context,url,Toast.LENGTH_SHORT).show();
  
              Intent i = new Intent(Intent.ACTION_VIEW);
  
              i.setData(Uri.parse(url));
  
              context.startActivity(i);
          }
      });
  
      @Override
      public void onSuccess(VimeoVideo video) {
      String streamlink = (String)video.getStreams().values().toArray()[0];
      Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
      Uri data = Uri.parse(streamlink);
      intent.setDataAndType(data, "video/mp4");
      context.startActivity(intent);
      }
  
      @Override
      public void onFailure(Throwable throwable) {
      Toast.makeText(context,"Problem withlink",Toast.LENGTH_SHORT).show();
      }
  
  
  
  
   RemoteException occurs on reporting focusChanged, w=Window{bd21bfc u0 com.example.android.play_api/com.example.android.play_api.TestimonyActivity EXITING} android.os.DeadObjectException
           android.os.DeadObjectException
       at android.os.BinderProxy.transactNative(Native Method)
       at android.os.BinderProxy.transact(Binder.java:1143)
       at android.view.IWindow$Stub$Proxy.windowFocusChanged(IWindow.java:500)
       at com.android.server.wm.WindowState.reportFocusChangedSerialized(WindowState.java:3903)
       at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:5426)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:214)
       at android.os.HandlerThread.run(HandlerThread.java:65)
       at com.android.server.ServiceThread.run(ServiceThread.java:44)
  </code></pre>