Conversation
prcaen
left a comment
There was a problem hiding this comment.
Thanks a lot for providing this update :),
I think you should also build the APK present in:
app/keep-activities-qs-release.apk
app/build.gradle
Outdated
| } | ||
| dependencies { | ||
| compile 'com.android.support:support-annotations:25.0.1' | ||
| api 'androidx.annotation:annotation:1.1.0' |
There was a problem hiding this comment.
compile has been replaced by implementation
api is useful when you want to expose class and symbols to another module.
Here this is useless.
There was a problem hiding this comment.
Good point, didn't notice that migration to AndroidX automatically used api.
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip |
There was a problem hiding this comment.
I think, you should run the following command:
./gradlew wrapper --gradle-version=5.4.1 --distribution-type=all, it will update:
- gradlew
- gradlew.bat
- ...
There was a problem hiding this comment.
Done. If I remember correctly, this was no longer updating anything around gradle version 4 and 5, but there were a lot of changes since v2.14.
|
Regarding the release .apk, I would need release keystore to sign it. Or is it just the debug apk? |
|
Yes, the APK is signed.
So I guess this is signed. |
ActivityManagerNativewas deprecated in API 26 and most of the functionality, includingsetAlwaysFinish()moved toActivityManager.setAlwaysFinish()onActivityManageron API 26 and abovesetAlwaysFinish()onActivityManagerNativeon API 24 and API 25Log.estatement to allow debugging potential issues more easily in the future.Tested with emulators on API level 25, 26, 28 and 29. All work as expected.
The required permissions have not changed, so running the same adb commands is still necessary.
This fixes #4 and should also fix #5