Skip to content
Snippets Groups Projects
Commit f0307c6c authored by Sebastian Kürten's avatar Sebastian Kürten
Browse files

Split ConditionManager into version for pre 29 and 29+

* Create an interface called ConditionManager that the 28 and 29
  versions implement
* On API levels < 29, don't ask for the location permission
* Simplify ConditionManager logic:
  * Make more concise what areEssentialPermissionsGranted() and
    checkAndRequestConditions() do and get rid of startConditionChecks()
    entirely; use checkAndRequestConditions() instead.
  * Now areEssentialPermissionsGranted() is a private method only used
    internaly by the ConditionManager implementations
parent 452bc5d3
No related branches found
No related tags found
1 merge request!15Try starting the WifiP2p framework multiple times with delay if BUSY
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment