OSDN Git Service

Make music app respect the lock screen again.
authorMarco Nelissen <marcone@google.com>
Tue, 1 Dec 2009 23:13:15 +0000 (15:13 -0800)
committerMarco Nelissen <marcone@google.com>
Tue, 1 Dec 2009 23:13:15 +0000 (15:13 -0800)
Fixes http://b/2295956

src/com/android/music/MediaPlaybackActivity.java

index f01b808..8a040b8 100644 (file)
@@ -102,7 +102,6 @@ public class MediaPlaybackActivity extends Activity implements MusicUtils.Defs,
         mAlbumArtHandler = new AlbumArtHandler(mAlbumArtWorker.getLooper());
 
         requestWindowFeature(Window.FEATURE_NO_TITLE);
-        getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
         setContentView(R.layout.audio_player);
 
         mCurrentTime = (TextView) findViewById(R.id.currenttime);