summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/MediaFormat.java
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2010-01-20 13:37:14 -0800
committerJim Miller <jaggies@google.com>2010-01-20 13:37:14 -0800
commit47d380f1e6c823cea444004cb799d4c791145cc6 (patch)
tree76898bb7525259c96b8828ef0d62523c992a0381 /src/com/android/settings/MediaFormat.java
parentfeff65213231ba6a0f6185f98e660042b5b14595 (diff)
downloadpackages_apps_Settings-47d380f1e6c823cea444004cb799d4c791145cc6.zip
packages_apps_Settings-47d380f1e6c823cea444004cb799d4c791145cc6.tar.gz
packages_apps_Settings-47d380f1e6c823cea444004cb799d4c791145cc6.tar.bz2
Fix 2385283: Add DevicePolicyManager calls to LockScreen.
Diffstat (limited to 'src/com/android/settings/MediaFormat.java')
-rw-r--r--src/com/android/settings/MediaFormat.java4
1 files changed, 2 insertions, 2 deletions
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.
- *
+ *
* <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();
}