Skip to content

Commit c3dc4be

Browse files
committed
Play requirements
1 parent 86ec5c2 commit c3dc4be

File tree

2 files changed

+19
-21
lines changed

2 files changed

+19
-21
lines changed

app/build.gradle

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 30
4+
compileSdkVersion 31
55
defaultConfig {
66
applicationId "eu.chainfire.holeylight"
77
minSdkVersion 28
8-
targetSdkVersion 30
9-
versionCode 101
10-
versionName "1.01"
8+
targetSdkVersion 31
9+
versionCode 102
10+
versionName "1.02"
1111
}
1212
buildTypes {
1313
release {
@@ -35,11 +35,6 @@ android {
3535
}
3636
}
3737
}
38-
lintOptions {
39-
// Upgrading to Google Play Billing 5.1.0 broke building Signed APKs
40-
// Be sure to run Verification -> lintVitalRelease manually before releasing
41-
checkReleaseBuilds false
42-
}
4338
}
4439

4540
dependencies {

app/src/main/AndroidManifest.xml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
android:name=".ui.MainActivity"
2828
android:launchMode="singleInstance"
2929
android:screenOrientation="portrait"
30-
android:theme="@style/AppTheme">
30+
android:theme="@style/AppTheme"
31+
android:exported="true">
3132
<intent-filter>
3233
<action android:name="android.intent.action.MAIN"/>
3334
<category android:name="android.intent.category.LAUNCHER"/>
@@ -55,28 +56,30 @@
5556
<service
5657
android:name=".service.NotificationListenerService"
5758
android:label="@string/app_name"
58-
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
59+
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
60+
android:exported="true">
5961
<intent-filter>
6062
<action android:name="android.service.notification.NotificationListenerService"/>
6163
</intent-filter>
6264
</service>
6365
<service android:name=".service.AccessibilityService"
64-
android:label="@string/app_name"
65-
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
66-
<intent-filter>
67-
<action android:name="android.accessibilityservice.AccessibilityService" />
68-
</intent-filter>
69-
<meta-data
70-
android:name="android.accessibilityservice"
71-
android:resource="@xml/accessibility_service_config" />
66+
android:label="@string/app_name"
67+
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"
68+
android:exported="true">
69+
<intent-filter>
70+
<action android:name="android.accessibilityservice.AccessibilityService" />
71+
</intent-filter>
72+
<meta-data
73+
android:name="android.accessibilityservice"
74+
android:resource="@xml/accessibility_service_config" />
7275
</service>
7376

74-
<receiver android:name=".receiver.PackageReplaced">
77+
<receiver android:name=".receiver.PackageReplaced" android:exported="true">
7578
<intent-filter>
7679
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
7780
</intent-filter>
7881
</receiver>
79-
<receiver android:name=".receiver.AlarmReceiver">
82+
<receiver android:name=".receiver.AlarmReceiver" android:exported="true">
8083
<intent-filter>
8184
<action android:name="eu.chainfire.holeylight.ALARM" />
8285
</intent-filter>

0 commit comments

Comments
 (0)