Page MenuHomePhabricator

Move CommNotificationsHandler to newly created notifications package
ClosedPublic

Authored by marcin on Jan 11 2023, 3:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 27, 3:45 PM
Unknown Object (File)
Thu, Jun 27, 3:45 PM
Unknown Object (File)
Thu, Jun 27, 3:45 PM
Unknown Object (File)
Thu, Jun 27, 3:45 PM
Unknown Object (File)
Thu, Jun 27, 3:35 PM
Unknown Object (File)
Thu, Jun 27, 3:50 AM
Unknown Object (File)
Wed, Jun 26, 10:23 PM
Unknown Object (File)
Mon, Jun 24, 7:53 AM
Subscribers

Details

Summary

This differential creates specialized package for code intended to deal with notifications and places CommNotificationsHandler there. Future differentials will add more files to this package

Test Plan

This differential brings no functional change. Build the app and ensure that notification displaying (foreground and background) as well as rescinding works the same.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-2501
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

native/android/app/src/main/java/app/comm/android/notifications/CommNotificationsHandler.java
1

What's the benefit of this custom package?

native/android/app/src/main/java/app/comm/android/notifications/CommNotificationsHandler.java
1
This revision is now accepted and ready to land.Jan 11 2023, 8:55 AM
native/android/app/src/main/java/app/comm/android/notifications/CommNotificationsHandler.java
1

I decided to move this file to separate directory since future differentials in this stack will introduce additional files to handle notifications functionality. I think keeping them in dedicated directory keeps code tidy and uncluttered.