More fixes trying to get the new changes to work.

This commit is contained in:
me committed 2026-10-23 08:37:53 -07:00
1 parent 595cffce78
commit 875d143076
1 file changed
+3 -2
@@ -9,6 +9,7 @@ import android.net.Uri;
import android.os.Build;
import android.os.IBinder;
import android.os.PowerManager;
import android.support.v4.app.NotificationCompat;
import android.util.Log;
public class TimerForegroundService extends Service {
@@ -52,12 +53,12 @@ public class TimerForegroundService extends Service {
}
private android.app.Notification buildNotification() {
return new android.app.NotificationCompat.Builder(this, CHANNEL_ID)
return new NotificationCompat.Builder(this, CHANNEL_ID)
.setContentTitle("Infinite Timer")
.setContentText("Timer is active...")
// Use system alarm icon temporarily. Add your own ic_stat_notification if desired
.setSmallIcon(android.R.drawable.ic_lock_idle_alarm)
.setPriority(android.app.NotificationCompat.PRIORITY_HIGH)
.setPriority(NotificationCompat.PRIORITY_HIGH)
.setOngoing(true)
.build();
}