Clarify the unused status of notificationManager

This commit is contained in:
Peter Serwylo 2017-02-24 12:19:08 +11:00 committed by mvp76
parent 0b1940c4bf
commit a2997747af

View File

@ -97,6 +97,13 @@ public class FDroidApp extends Application {
@SuppressWarnings("unused")
BluetoothAdapter bluetoothAdapter;
/**
* The construction of this notification helper has side effects including listening and
* responding to local broadcasts. It is kept as a reference on the app object here so that
* it doesn't get GC'ed.
*/
@SuppressWarnings("unused")
NotificationHelper notificationHelper;
static {