diff options
author | Yorke Lee <yorkelee@google.com> | 2015-07-13 14:21:16 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-07-13 14:21:54 -0700 |
commit | a79ecc9a0d0f4e3df44b437477985eb07b97711f (patch) | |
tree | 0e687bb51996759241d8b5a186169a5792df4a3c /src/com/android/dialer/calllog/CallLogActivity.java | |
parent | 97b8626c1205f21d6599c444a939454eb1acbc8b (diff) |
Don't cache results of permission check
For maximum safety, always check the current permission status
on the fly.
Bug: 22455059
Change-Id: I05da7ec1ad2e885e3e5e78e14585c876ac19178e
Diffstat (limited to 'src/com/android/dialer/calllog/CallLogActivity.java')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogActivity.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/CallLogActivity.java b/src/com/android/dialer/calllog/CallLogActivity.java index 0f2f83860..1f6c49066 100644 --- a/src/com/android/dialer/calllog/CallLogActivity.java +++ b/src/com/android/dialer/calllog/CallLogActivity.java @@ -151,7 +151,6 @@ public class CallLogActivity extends Activity implements ViewPager.OnPageChangeL protected void onResume() { mIsResumed = true; super.onResume(); - PermissionsUtil.updateCachedPermissions(this); sendScreenViewForChildFragment(mViewPager.getCurrentItem()); } |