Skip to content

Commit

Permalink
make sure all event intents are exported
Browse files Browse the repository at this point in the history
- this is to pick up events from the camera
  • Loading branch information
n8fr8 committed Jan 24, 2024
1 parent 9337f87 commit 996ddd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/org/witness/proofmode/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ class MainActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelecte

ContextCompat.registerReceiver(this,
cameraReceiver, intentFilter,
ContextCompat.RECEIVER_NOT_EXPORTED
ContextCompat.RECEIVER_EXPORTED
)

ContextCompat.registerReceiver(this,
cameraReceiver, IntentFilter(EVENT_PROOF_GENERATED),
ContextCompat.RECEIVER_NOT_EXPORTED
ContextCompat.RECEIVER_EXPORTED
)

ContextCompat.registerReceiver(this,
Expand Down

0 comments on commit 996ddd0

Please sign in to comment.