Flip 2 DND is a modern Android application that intelligently manages your Do Not Disturb (DND) mode based on your phone's orientation. Just flip your phone face down to activate DND and face up to turn it off—it's that simple!
- Automatic DND Toggle: Effortlessly switch DND on/off based on your phone's position.
- Delay Mechanism: A 2-second delay prevents accidental toggles.
- Sleek UI: Built with Jetpack Compose for a clean, modern look.
- Material You Design: Dynamic theming for a personalized experience.
- Customizable Feedback: Choose between vibration and sound notifications.
- User-Friendly Settings: Easily customize your DND preferences.
Built with modern Android practices:
- UI Layer: Jetpack Compose with Material 3
- Architecture Pattern: MVVM with Clean Architecture
- Dependency Injection: Hilt
- Concurrency: Kotlin Coroutines & Flow
- State Management: StateFlow
- Android 6.0 (API level 23) or higher
- Accelerometer sensor
- Permission to modify Do Not Disturb settings
The app requires the following permissions:
ACCESS_NOTIFICATION_POLICY
: To modify DND settingsVIBRATE
: For vibration feedbackSENSOR
: To detect phone orientation