I was reading the following article about updating an app to take full advantage of devices like the Galaxy S8 or LG G6
https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html
And what I want to do is to test the app in an emulator of these screens and test it before and after adding the line of code the article suggests:
<meta-data android:name="android.max_aspect" android:value="2.1" />
I have tried creating an AVD inside of Android Studio with a screen size of 5.8 and a resolution of 2960x1440 (Galaxy S8 screen resolution), and my app runs fine without any black bars, even though it's a portrait-only app, and due to that it'd be expected to show black bars, so I think I'm not configuring the emulator appropiately.
Any ideas?
Thank you.