Stericson / RootTools

RootTools Library
1.61k stars 486 forks source link

RootTools.isAccessGiven() request root access many times (4) #54

Closed quanmltya closed 7 years ago

quanmltya commented 8 years ago

RootTools.isAccessGiven() request root access for about 4 times if user denies the root permission each time. This will disturb user. I think the num of retry when calling rootShell should be configurable! For example RootTools.isAccessGiven(int retryNum) Any suggestions?