theappbusiness / android-proxy-toggle

Small application to help android developers to quickly enable and disable proxy settings
MIT License
425 stars 59 forks source link

Show permissions required dialog #12

Closed fmontesino closed 4 years ago

fmontesino commented 4 years ago

Why?

We can't request the special permissions on runtime. The only thing we can do is make sure they've been granted via adb shell.

What?

Show a dialog whenever the app doesn't have the required permissions, pointing out where to find the instructions to do so.

codecov-commenter commented 4 years ago

Codecov Report

Merging #12 into main will decrease coverage by 2.21%. The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #12      +/-   ##
============================================
- Coverage     42.33%   40.11%   -2.22%     
  Complexity       35       35              
============================================
  Files            16       16              
  Lines           163      172       +9     
  Branches         14       14              
============================================
  Hits             69       69              
- Misses           93      102       +9     
  Partials          1        1              
Impacted Files Coverage Δ Complexity Δ
...inandcarta/create/proxytoggle/view/MainActivity.kt 6.25% <0.00%> (-8.04%) 0.00 <0.00> (ø)