Move the Android API level checks to runtime

Authored by vkrause on Jan 14 2019, 9:07 PM.

Description

Move the Android API level checks to runtime

Summary:
This doesn't make notifications on API level < 23 work yet, but it allows
us to build against lower API levels and have something that still works
when run on higher API levels.

Tested on API level 21 and 27.

This should also enable building the Android support on the CI.

Reviewers: apol

Reviewed By: apol

Subscribers: apol, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D18253

Details

Committed
vkrauseJan 15 2019, 6:03 PM
Reviewer
apol
Differential Revision
D18253: Move the Android API level checks to runtime
Parents
R289:b2c0b2748447: Remove unused forward declaration
Branches
Unknown
Tags
Unknown