Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b754a219 authored by Michael W's avatar Michael W
Browse files

Recorder: Actually display share notification

* Stopping the foreground service and passing true
  also takes down the share notification we just
  created
* Pass "false" instead

Test:
Start and stop recording
Quickly pull down the status bar to see the share notification

Before: Notification is removed without interaction
After: Notification stays
Change-Id: I4b4b57c0677cb43c7ce6d84c3b7dc80b1a317bc6
parent 1b9e34cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -144,7 +144,7 @@ public class SoundRecorderService extends Service implements MediaProviderHelper
        intent.putExtra(EXTRA_FILE, mOutFilePath);
        intent.putExtra(EXTRA_FILE, mOutFilePath);
        sendBroadcast(intent);
        sendBroadcast(intent);
        createShareNotification();
        createShareNotification();
        stopForeground(true);
        stopForeground(false);
    }
    }


    public boolean isRecording() {
    public boolean isRecording() {