Skip to content

Commit

Permalink
Merge pull request #2 from WrichikBasu/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
WrichikBasu committed Oct 25, 2020
2 parents c93be39 + 20efd43 commit 35c607e
Show file tree
Hide file tree
Showing 11 changed files with 653 additions and 281 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Shake Alarm Clock
<i>An alarm clock app for Android which allows you to dismiss the ringing alarm by shaking the phone.</i>

![GitHub All Releases](https://img.shields.io/github/downloads/WrichikBasu/ShakeAlarmClock/total)
![GitHub top language](https://img.shields.io/github/languages/top/WrichikBasu/ShakeAlarmClock)
![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/WrichikBasu/ShakeAlarmClock)
![GitHub](https://img.shields.io/github/license/WrichikBasu/ShakeAlarmClock)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/WrichikBasu/ShakeAlarmClock)](https://github.com/WrichikBasu/ShakeAlarmClock/releases/tag/v1.2)
![GitHub Release Date](https://img.shields.io/github/release-date/WrichikBasu/ShakeAlarmClock)
![GitHub last commit](https://img.shields.io/github/last-commit/WrichikBasu/ShakeAlarmClock)

Tired of pressing the power button/swiping the screen every time an alarm rings? Does your phone's UI have a tendency to freeze, thereby making it impossible to dismiss an alarm? No worries! You have come to the right place. With this app, you can simply shake your phone and dismiss the alarm.


Expand All @@ -10,4 +18,4 @@ Tired of pressing the power button/swiping the screen every time an alarm rings?
1. Inbuilt dark theme, even in phones that do not support it.

## How to use?
Simply download the latest apk file, install it, give necessary permissions, and you are all set!
Simply download the latest apk file, install it and you are all set!
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "in.basulabs.shakealarmclock"
minSdkVersion 21
targetSdkVersion 30
versionCode 3
versionName "1.2"
versionCode 4
versionName "1.2.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -23,8 +23,8 @@ android {

buildTypes {
release {
minifyEnabled false
shrinkResources false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
Expand Down
28 changes: 26 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@
</intent-filter>
</receiver>

<activity android:name=".Activity_AlarmsList">
<activity android:name=".Activity_AlarmsList"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand All @@ -92,10 +94,14 @@

<activity
android:name=".Activity_AlarmDetails"
android:enabled="true"
android:exported="false"
android:parentActivityName=".Activity_AlarmsList" />

<activity
android:name=".Activity_RingAlarm"
android:enabled="true"
android:exported="false"
android:configChanges="orientation|keyboard"
android:excludeFromRecents="true"
android:noHistory="true"
Expand All @@ -106,24 +112,42 @@

<activity
android:name=".Activity_RingtonePicker"
android:enabled="true"
android:exported="true"
android:theme="@style/Theme.AppCompat.DayNight.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.RINGTONE_PICKER" />

<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<activity
android:name=".Activity_Settings"
android:enabled="true"
android:exported="false"
android:parentActivityName=".Activity_AlarmsList" />

<service
android:name=".Service_UpdateAlarm"
android:enabled="true"
android:exported="true"
android:permission="in.basulabs.shakealarmclock.PLUGIN_PERMISSION" />

<activity android:name=".Activity_IntentManager"
android:enabled="true"
android:exported="true"
android:theme="@style/Theme.AppCompat.Translucent"
android:configChanges="uiMode|orientation|keyboard|colorMode">

<intent-filter>
<action android:name="android.intent.action.DISMISS_ALARM"/>
<action android:name="android.intent.action.SET_ALARM"/>
<action android:name="android.intent.action.SNOOZE_ALARM"/>

<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>

</activity>
</application>

</manifest>
Loading

0 comments on commit 35c607e

Please sign in to comment.