mirror of
https://github.com/xdsopl/robot36.git
synced 2026-04-05 06:15:12 +00:00
made notification persisting
This commit is contained in:
parent
e0017ffa5f
commit
cfe3f35aad
1 changed files with 2 additions and 1 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue