ericcornelissen / NervousFish

An app for your :iphone: to exchange public-keys in a secure manner.
GNU Lesser General Public License v3.0
2 stars 4 forks source link

Prevent NFC and Bleutooth activites from being started twice #308

Closed ericcornelissen closed 7 years ago

ericcornelissen commented 7 years ago

What

This Pull Request updates the MainAcitivity so the NFC and Bluetooth activities are started only once, instead of twice

Why

This Pull Request is needed because we don't want these activities to be started twice, especially since it makes the app confusing to use as pressing back once in either of these activities goes back to the same activity.

How

This feature can be viewed/tested within the project by opening the app, starting a connection either through NFC or Bluetooth and pressing back.

Alternative implementation

None

Notes

None