Earlence is right, mostly, and I think his team's implementation includes this feature.
You might also note that this is also possible by binary rewriting (as you might expect it would be), to force the permission to be checked at runtime, but then you're modifying the app's code. kris On Fri, Aug 3, 2012 at 3:03 AM, Earlence <[email protected]> wrote: > once a permission is granted at install time, the permission check that > happens later on will always succeed. > > for example, to read the current location, getLastKnownLocation includes a > permission check. If your app was granted this permissio, the check will > always pass. > To make a popup at this point, you will need to modify the operating system > code. > > -Earlence > > > On Thursday, August 2, 2012 9:01:16 PM UTC+5:30, Won-Kyoung Choi wrote: >> >> Hello, >> >> Currently android OS ask user grant permission or not just when install >> application. After install application, no more any question or request any >> confirmation. >> But I am requested to check permission when perform some action which need >> specific permission such as dial call, send sms, access contact db, logs db, >> etc, >> ex) when make a call, ask user whether want to dial call or not by popup >> interface, if user choose yes, success to make a call, if user choose no, >> should stop to make a call >> >> So my question is, >> Should it be implemented by Google or Vendor can do it by by themselves? >> >> Thanks >> > -- > You received this message because you are subscribed to the Google Groups > "Android Security Discussions" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/android-security-discuss/-/ZH_SRuoCWpwJ. > > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/android-security-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-security-discuss?hl=en.
