diff options
author | peak3d <pfau@peak3d.de> | 2019-11-04 18:07:29 +0100 |
---|---|---|
committer | peak3d <pfau@peak3d.de> | 2019-11-04 18:07:29 +0100 |
commit | 6ed6fdf33a1be1f2c28ef198afbcdebb41f239e2 (patch) | |
tree | 5689e1cf9e1d304c4fb3387373d0ed9c4b122ef8 | |
parent | e398fc1a2c494d434d36f3f8d690308a460d511d (diff) |
[Android] fetchDisplayMode only for SDK>=24
-rw-r--r-- | xbmc/windowing/android/AndroidUtils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/windowing/android/AndroidUtils.cpp b/xbmc/windowing/android/AndroidUtils.cpp index 14314d744b..a8bae0f0a2 100644 --- a/xbmc/windowing/android/AndroidUtils.cpp +++ b/xbmc/windowing/android/AndroidUtils.cpp @@ -316,7 +316,8 @@ bool CAndroidUtils::ProbeResolutions(std::vector<RESOLUTION_INFO> &resolutions) bool CAndroidUtils::UpdateDisplayModes() { - fetchDisplayModes(); + if (CJNIBase::GetSDKVersion() >= 24) + fetchDisplayModes(); return true; } |