Both Nullable and NonNull are java annotations and doesn't work on Kotlin.
Drop them to make lint happy.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
We cannot rely on name of the file as on non-debug builds, resource optimization
renames the filename to a random string. Thus, we read the said property file
and only consider it if it has a valid UserReadableName.
Certain build time files also ends with .properties extension that results in
showing null otherwise. We are only shipping files supplied to us from
gplayapi library, so filter them with a matching regex.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
- Going forward we aim to tag the gplayapi for better versioning.
- 3.0.1 which is the current version uses protobuf-javalite causes
issues when used with protobuf-java, so also switch to lite.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
- If drawer is open, always close it first (existing)
- If drawer is closed, quick exit is enabled, close the app (only on apps, games or updates fragment)
- If drawer is closed, quick exit is disabled, ask to press back twice (existing)
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
We don't need notification permission to start services however
channels must still exist and notification must be sent regardless.
Trying to do this in service results in crash, thus do it before
service is triggered.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
!175 added a new check to enable forward button that broke
4th screen after !147 was merged. This check enables the 4th
button that has special handling.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
- Enable java 11 language features
- Switch to groovy syntax
- Switch to new gradle plugins and dependency configuration
- Drop deprecated properties
- Switch from buildscript to project.ext closure for version property
- Update dependencies to latest stable versions
- Address build errors arising due to dependencies update
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
* Updated gradle version and dependencies
* Bumped compileSdkVersion and targetSdkVersion to 31
* Added support for updates without user action
* Bumped versionCode and versionName
Changes required by API level 31:
* Added explicit exported tags to activities and receivers
* Added explicit IMMUTABLE|MUTABLE flags to PendingIntents