style: fix indentation in DailyNotificationWorker and AndroidManifest

- Normalize indentation in DailyNotificationWorker.java
- Normalize indentation in AndroidManifest.xml
This commit is contained in:
Matthew Raymer
2025-11-18 09:51:20 +00:00
parent a8039d072d
commit ed62f7ee25
2 changed files with 17 additions and 17 deletions

View File

@@ -161,24 +161,24 @@ public class DailyNotificationWorker extends Worker {
Log.d(TAG, "DN|DISPLAY_STATIC_REMINDER id=" + notificationId + " title=" + title); Log.d(TAG, "DN|DISPLAY_STATIC_REMINDER id=" + notificationId + " title=" + title);
} else { } else {
// Regular notification: load from storage // Regular notification: load from storage
// Prefer Room storage; fallback to legacy SharedPreferences storage // Prefer Room storage; fallback to legacy SharedPreferences storage
content = getContentFromRoomOrLegacy(notificationId); content = getContentFromRoomOrLegacy(notificationId);
if (content == null) { if (content == null) {
// Content not found - likely removed during deduplication or cleanup // Content not found - likely removed during deduplication or cleanup
// Return success instead of failure to prevent retries for intentionally removed notifications // Return success instead of failure to prevent retries for intentionally removed notifications
Log.w(TAG, "DN|DISPLAY_SKIP content_not_found id=" + notificationId + " (likely removed during deduplication)"); Log.w(TAG, "DN|DISPLAY_SKIP content_not_found id=" + notificationId + " (likely removed during deduplication)");
return Result.success(); // Success prevents retry loops for removed notifications return Result.success(); // Success prevents retry loops for removed notifications
} }
// Check if notification is ready to display // Check if notification is ready to display
if (!content.isReadyToDisplay()) { if (!content.isReadyToDisplay()) {
Log.d(TAG, "DN|DISPLAY_SKIP not_ready id=" + notificationId); Log.d(TAG, "DN|DISPLAY_SKIP not_ready id=" + notificationId);
return Result.success(); return Result.success();
} }
// JIT Freshness Re-check (Soft TTL) - skip for static reminders // JIT Freshness Re-check (Soft TTL) - skip for static reminders
content = performJITFreshnessCheck(content); content = performJITFreshnessCheck(content);
} }
// Display the notification // Display the notification

View File

@@ -34,7 +34,7 @@
<action android:name="com.timesafari.daily.NOTIFICATION" /> <action android:name="com.timesafari.daily.NOTIFICATION" />
</intent-filter> </intent-filter>
</receiver> </receiver>
<!-- NotifyReceiver for AlarmManager-based notifications --> <!-- NotifyReceiver for AlarmManager-based notifications -->
<receiver <receiver
android:name="com.timesafari.dailynotification.NotifyReceiver" android:name="com.timesafari.dailynotification.NotifyReceiver"