commit | d909e728c6778723f6dc04d49d30e0f6e38f7e74 | [log] [tgz] |
---|---|---|
author | Brandon Maxwell <maxwelb@google.com> | Tue Nov 24 17:56:54 2015 -0800 |
committer | Brandon Maxwell <maxwelb@google.com> | Wed Nov 25 14:40:10 2015 -0800 |
tree | 4bf1a206afd293a9ee17970c29d18db6204fc76e | |
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