made notification persisting

This commit is contained in:
Ahmet Inan 2014-12-18 13:54:04 +01:00
parent e0017ffa5f
commit cfe3f35aad

View file

@ -50,7 +50,8 @@ public class MainActivity extends Activity {
.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.ic_launcher))
.setContentTitle(getString(R.string.app_name))
.setContentText(getString(R.string.decoder_running))
.setContentIntent(pending);
.setContentIntent(pending)
.setOngoing(true);
manager.notify(notifyID, builder.build());
}