0
0
mirror of https://git.code.sf.net/p/opencamera/code.git synced 2024-09-20 03:52:26 +02:00

Add comment for RECEIVER_NOT_EXPORTED warning.

This commit is contained in:
Mark Harman 2024-03-10 21:05:48 +00:00
parent 27171dba58
commit 8b420a3aec

View File

@ -271,6 +271,8 @@ public class BluetoothRemoteControl {
main_activity.registerReceiver(remoteControlCommandReceiver, makeRemoteCommandIntentFilter(), RECEIVER_NOT_EXPORTED);
}
else {
// n.b., this gets an Android lint warning, even though this can only be fixed for TIRAMISU onwards (as
// RECEIVER_NOT_EXPORTED not available on older versions)!
main_activity.registerReceiver(remoteControlCommandReceiver, makeRemoteCommandIntentFilter());
}
}