make Android v16/JellyBean the new min-supported Android version

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2019-10-31 23:13:23 +01:00
parent e3280b0bb7
commit d3d0df46f1
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@ android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 14
minSdkVersion 16
targetSdkVersion 28
// arguments to be passed to functional tests

View file

@ -180,7 +180,7 @@ class TestPowerManagementService {
// GIVEN
// device has API level 16 or below
// battery status sticky intent is available
whenever(deviceInfo.apiLevel).thenReturn(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
whenever(deviceInfo.apiLevel).thenReturn(Build.VERSION_CODES.JELLY_BEAN)
val powerSources = setOf(
BatteryManager.BATTERY_PLUGGED_AC,
BatteryManager.BATTERY_PLUGGED_USB