diff options
author | Brandon Maxwell <maxwelb@google.com> | 2015-11-24 17:56:54 -0800 |
---|---|---|
committer | Brandon Maxwell <maxwelb@google.com> | 2015-11-25 14:40:10 -0800 |
commit | d909e728c6778723f6dc04d49d30e0f6e38f7e74 (patch) | |
tree | 4bf1a206afd293a9ee17970c29d18db6204fc76e /src/com/android/dialer/filterednumber/NumbersAdapter.java | |
parent | d555fc8ae24d21e1468258db6d6d7d4440cc799f (diff) |
Compatibility method to check system settings write permission
SettingsCompat.System.canWrite returns true for versions older than M
because prior to M, permissions had to be granted prior to installing
the app. It's only in M and above that we check for permissions at
runtime.
Bug:25776171
Change-Id: Iee2250248223e7237f8eaa506b277e301e289cc0
Diffstat (limited to 'src/com/android/dialer/filterednumber/NumbersAdapter.java')
0 files changed, 0 insertions, 0 deletions