Merge branch 'audiorecorder-3.2.26'

This commit is contained in:
Alexey Kuznetsov 2018-10-25 14:29:36 +03:00
commit bfaa8fed49
2 changed files with 3 additions and 3 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 9
targetSdkVersion 23 // 24+ file:// unable to open
versionCode 283
versionName "3.2.25"
versionCode 284
versionName "3.2.26"
}
signingConfigs {
release {

View file

@ -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)