Commit graph

5 commits

Author SHA1 Message Date
avi
6b6f242edb refactor: rename package to lostmyphone.app
Move off the reserved com.example placeholder namespace to the app's own
package identifier.
2026-08-14 16:19:54 -05:00
avi
4a04052845 feat: configurable ring volume
Adds a volume slider (1-100% of the alarm stream) to Settings. RingService
plays at the configured percentage instead of always maxing STREAM_ALARM.
2026-08-07 13:46:20 -05:00
avi
5e5d53ab9b fix: play through the alarm stream so the ring cuts through DND
DND silences the media stream by default, so playback on STREAM_MUSIC was
invisible during DND even though the notification showed. Switch to
STREAM_ALARM + USAGE_ALARM, which DND exempts by default, and restore/force
the alarm stream volume instead of media.
2026-08-07 13:37:29 -05:00
avi
63791b9f5e feat: configurable ring settings screen
Adds a Settings screen (SettingsActivity) where the user configures:
- the SMS trigger phrase (replaces hardcoded RING_NOW/PLAY_SONG)
- the sound: system ringtone (with picker) or a picked audio file
- the play duration (5-300s, replaces the fixed 30s)

Values persist via RingConfig (SharedPreferences). SmsReceiver matches the
configured phrase; RingService plays the stored Uri for the configured length.
Removes the old MediaStore by-name song search and its hardcoded duration.
2026-08-07 13:31:29 -05:00
avi
220dd85ed3 checkpoint: Lost My Phone app - SMS triggers, DND override, mediaPlayback FGS 2026-08-06 16:24:28 -05:00