title: How can I make my app be full screen on Huawei Mate 10 Pro, or other 18:9 ratio phones?
body: <p>I tried forcing "Full Screen" in my styles like this:</p>
  
  <pre><code>&lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
  &lt;item name="android:windowFullscreen"&gt;true&lt;/item&gt;
  </code></pre>
  
  <p>I tried from my activity:</p>
  
  <pre><code>getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN);
  getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);
  </code></pre>
  
  <p>I even tried this, which makes the intent that would get called when I press on the "full screen display" button :</p>
  
  <pre><code>public static boolean goToFullScreen(final Activity activity) {
      PackageManager packageManager = activity.getPackageManager();
      try {
          if ("huawei".equalsIgnoreCase(android.os.Build.MANUFACTURER)) {
              final Intent huaweiIntent = new Intent();
              huaweiIntent.setComponent(new ComponentName("com.android.systemui", "com.android.systemui.settings.HwChangeButtonActivity"));
              if (huaweiIntent.resolveActivity(packageManager) != null) {
                  activity.startActivity(huaweiIntent);
                  return true;
              }
          }
      } catch (Exception e) {
          Utils.appendLog("goToBatterySettings exception:" + e.getMessage(), "E", Constants.OTHER);
      }
      return false;
  }
  </code></pre>
  
  <p>But I always get this <a href="https://s3.amazonaws.com/uploads.hipchat.com/39260/829560/yEa6LtrbE0wIeGw/upload.png" rel="nofollow noreferrer">Screenshot</a></p>
  
  <p>Any ideea how to fix this?</p>