diff options
author | Markus Pfau <pfau@peak3d.de> | 2019-11-12 19:15:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-12 19:15:09 +0100 |
commit | 6775f0d81d7ddbd1629a5e35c385db1da0c36ca8 (patch) | |
tree | 76574a5de9354641a9b59905e53cba28122e6a34 | |
parent | c712305a492c0e9fc37f885020460bfcb7cdef74 (diff) | |
parent | 6ed6fdf33a1be1f2c28ef198afbcdebb41f239e2 (diff) |
Merge pull request #16867 from peak3d/backport_fetch
[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; } |