From 47d380f1e6c823cea444004cb799d4c791145cc6 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 20 Jan 2010 13:37:14 -0800 Subject: Fix 2385283: Add DevicePolicyManager calls to LockScreen. --- src/com/android/settings/MediaFormat.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/settings/MediaFormat.java') diff --git a/src/com/android/settings/MediaFormat.java b/src/com/android/settings/MediaFormat.java index e414569..40ae0d7 100644 --- a/src/com/android/settings/MediaFormat.java +++ b/src/com/android/settings/MediaFormat.java @@ -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. - * + * *

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(); } -- cgit v1.1