From ecd79eff8123b2d5994d3e70053cec104c61d27f Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Thu, 9 Aug 2018 02:38:03 +0900 Subject: [PATCH 1/3] Drop sdk.release from minicap.so search path. With Android P its value was "9", which conflicted with the android-9 (SDK 9) folder. --- lib/units/device/resources/minicap.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/units/device/resources/minicap.js b/lib/units/device/resources/minicap.js index 3c6130c265..fb8c47c672 100644 --- a/lib/units/device/resources/minicap.js +++ b/lib/units/device/resources/minicap.js @@ -43,11 +43,6 @@ module.exports = syrup.serial() pathutil.module(util.format( 'minicap-prebuilt/prebuilt/%s/lib/android-%s/minicap.so' , supportedAbi - , sdk.release - )) - , pathutil.module(util.format( - 'minicap-prebuilt/prebuilt/%s/lib/android-%s/minicap.so' - , supportedAbi , sdk.previewLevel )) , pathutil.module(util.format( From 693a53b249db01e072cfa3f4fea1be46015f8a74 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Thu, 9 Aug 2018 02:47:21 +0900 Subject: [PATCH 2/3] Update minicap-prebuilt to fix Android 9. --- package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c1356db096..4addd6ae50 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "lodash": "^4.14.2", "markdown-serve": "^0.3.2", "mime": "^1.3.4", - "minicap-prebuilt": "^2.2.0", + "minicap-prebuilt": "^2.3.0", "minimatch": "^3.0.3", "minitouch-prebuilt": "^1.2.0", "my-local-ip": "^1.0.0", diff --git a/yarn.lock b/yarn.lock index 871a1fa831..eac3149f93 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4284,9 +4284,9 @@ mimic-fn@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" -minicap-prebuilt@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/minicap-prebuilt/-/minicap-prebuilt-2.2.0.tgz#a7c3a68e1f0e49aab2f21299866e5813562fd6c7" +minicap-prebuilt@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/minicap-prebuilt/-/minicap-prebuilt-2.3.0.tgz#a616cf84558a71b98aa70d05bce8be09409dd366" minimalistic-assert@^1.0.0: version "1.0.0" From 9fabd2ae9e0fedabd5402783ce1da19987211fd7 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Thu, 9 Aug 2018 02:48:44 +0900 Subject: [PATCH 3/3] Mention Android 9 support. --- CHANGELOG.md | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f64292d5b3..17a0cca6cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Enhancements +- Android 9.0 is now supported. - The OAuth2 unit now supports state tokens. Thanks @quangola! - [STFService.apk](https://github.com/openstf/STFService.apk) can now display the identity activity (red screen) automatically if a device gets disconnected from USB (or ADB), which can make maintenance easier. This feature is in beta, please enable it by running `adb shell pm grant jp.co.cyberagent.stf android.permission.DUMP` on the devices you want to try it on. Thanks @Malinskiy! diff --git a/README.md b/README.md index 58f933e433..0563e6890b 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Please [contact us][contact-link] for sponsor arrangements. Both recurring and o * OS support - Android - * Supports versions 2.3.3 (SDK level 10) to 8.1 (SDK level 27) + * Supports versions 2.3.3 (SDK level 10) to 9.0 (SDK level 28) * Supports Wear 5.1 (but not 5.0 due to missing permissions) * Supports Fire OS, CyanogenMod, and other heavily Android based distributions * `root` is **not** required for any current functionality