Skip to content

Commit

Permalink
Add missing permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Johboh committed Jul 11, 2024
1 parent 7285d76 commit cff5775
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.fjun.hassalarm"
minSdkVersion 23
targetSdkVersion 34
versionCode 26
versionName "1.26"
versionCode 27
versionName "1.27"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
Expand Down
9 changes: 7 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
android:allowBackup="true"
Expand All @@ -22,7 +23,9 @@
</intent-filter>
</activity>

<receiver android:name=".NextAlarmBroadcastReceiver" android:exported="true">
<receiver
android:name=".NextAlarmBroadcastReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.app.action.NEXT_ALARM_CLOCK_CHANGED" />
Expand All @@ -42,7 +45,9 @@
<activity android:name=".AboutActivity" />
<activity android:name=".BanActivity" />
<activity android:name=".HistoryActivity" />
<activity android:name=".TestConnectionActivity" android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".TestConnectionActivity"
android:theme="@style/AppTheme.NoActionBar" />
</application>

</manifest>

0 comments on commit cff5775

Please sign in to comment.