Skip to content

Commit

Permalink
Update MeshtasticMapComponent.java
Browse files Browse the repository at this point in the history
Fixed Android 14 security requirement for external Apps to talk to a broadcast receiver
  • Loading branch information
niccellular authored Mar 31, 2024
1 parent b1d7024 commit 6870e1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ public void onCreate(final Context context, Intent intent, MapView view) {
intentFilter.addAction(ACTION_RECEIVED_POSITION_APP);
intentFilter.addAction(ACTION_MESSAGE_STATUS);

view.getContext().registerReceiver(mr, intentFilter);
view.getContext().registerReceiver(mr, intentFilter, Context.RECEIVER_EXPORTED);

mServiceIntent = new Intent();
mServiceIntent.setClassName(PACKAGE_NAME, CLASS_NAME);
Expand Down

0 comments on commit 6870e1d

Please sign in to comment.