Fix 2385283: Add DevicePolicyManager calls to LockScreen.
This commit is contained in:
@@ -147,7 +147,7 @@ public class MediaFormat extends Activity {
|
||||
* click in order to initiate a confirmation sequence. This method is
|
||||
* called from various other points in the code to reset the activity to
|
||||
* this base state.
|
||||
*
|
||||
*
|
||||
* <p>Reinflating views from resources is expensive and prevents us from
|
||||
* caching widget pointers, so we use a single-inflate pattern: we lazy-
|
||||
* inflate each view, caching all of the widget pointers we'll need at the
|
||||
@@ -172,7 +172,7 @@ public class MediaFormat extends Activity {
|
||||
mInitialView = null;
|
||||
mFinalView = null;
|
||||
mInflater = LayoutInflater.from(this);
|
||||
mLockUtils = new LockPatternUtils(getContentResolver());
|
||||
mLockUtils = new LockPatternUtils(this);
|
||||
|
||||
establishInitialState();
|
||||
}
|
||||
|
Reference in New Issue
Block a user