title: Floating Window overlays on facebook share dialog
body: <p>I've implemented a floating window and insert it by WindowManager with the following parameters:</p>
  
  <pre><code>mParams.type = WindowManager.LayoutParams.TYPE_SYSTEM_ALERT;
  mParams.format = PixelFormat.RGBA_8888;
  mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL |
                  WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR |
                  WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH;
  mFloatingManager.updateView(mView, mParams);
  </code></pre>
  
  <p>In this view there's also a facebook share button. I open facebook share dialog with the following code:</p>
  
  <pre><code>for (final ResolveInfo app : activityList)
  {
      if ((app.activityInfo.name).contains("facebook.composer.shareintent"))
      {
          final ActivityInfo activity = app.activityInfo;
          final ComponentName name = new ComponentName(activity.applicationInfo.packageName, activity.name);
          shareIntent.addCategory(Intent.CATEGORY_LAUNCHER);
          shareIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_ACTIVITY_NEW_TASK);
          shareIntent.setComponent(name);
          context.startActivity(shareIntent);
          break;
      }
  }
  </code></pre>
  
  <p>However, my floating view overlays on facebook share dialog and that's not my intention; Facebook share dialog should overlay on my floating view. Any way to resolve it?</p>