fix old phones main intent bug
This commit is contained in:
parent
4b6762080e
commit
aaba5398e5
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ public class RecordingService extends Service {
|
|||
builder.setViewVisibility(R.id.notification_record, View.VISIBLE);
|
||||
builder.setViewVisibility(R.id.notification_pause, View.GONE);
|
||||
PendingIntent main = PendingIntent.getActivity(this, 0, new Intent(this, MainActivity.class), PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
builder.setContentIntent(main);
|
||||
builder.setMainIntent(main);
|
||||
} else {
|
||||
builder = new RemoteNotificationCompat.Builder(this, R.layout.notifictaion);
|
||||
if (recording)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue