diux-dev / rosettadrone

Android-based mavlink wrapper for DJI drones
BSD 3-Clause "New" or "Revised" License
113 stars 51 forks source link

Android 8.1 Compatibility #12

Closed alexkrob closed 6 years ago

alexkrob commented 6 years ago

This commit brings VideoService into compatibility with Android 8.1 by explicitly creating a notification channel if the SDK is >= O_MR1, as will be the standard going forward. This was causing crashes on all Android 8.1 devices upon connecting to a DJI drone.

This build was tested on an Android 8.1 Device (Pixel XL 2) and an Android 7.0 Device (Galaxy S7).