Stericson / RootTools

RootTools Library
1.6k stars 484 forks source link

Don't apply retries to use deny #27

Closed miracle2k closed 9 years ago

miracle2k commented 9 years ago

I don't like the fact that my retries setting also applies to the user pressing "Deny". It seems that this is something apps should respect.

Stericson commented 9 years ago

It's not possible for an application to know whether a user grants or denies root access. So it's not possible to "respect" this.

miracle2k commented 9 years ago

Is it possible in some cases? There is a RootDeniedException that is handled separately.