Add ApiCompat for isDeviceProvisioned (17+) API.
commit7796855a57d806723f1b1b4c6c261de685e6692d
authoraruslan <aruslan@chromium.org>
Fri, 3 Oct 2014 23:47:57 +0000 (3 16:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 3 Oct 2014 23:48:35 +0000 (3 23:48 +0000)
tree914e9d15b8829a98d57e08c6539a438ff5ded2df
parent0b1b089a4ebaee3b94dff5f6241187c90b0f8e36
Add ApiCompat for isDeviceProvisioned (17+) API.

It is used to protect against inKeyguardRestrictedInputMode
always returning true if the device is not provisioned
(e.g. while the device SetupWizard is running).

BUG=419647,419627

Review URL: https://codereview.chromium.org/622953002

Cr-Commit-Position: refs/heads/master@{#298123}
base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java