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

Commit 3f7440be authored by Ben Lin's avatar Ben Lin
Browse files

Remove @NonNull from ActivityManagerWrapper#startVoiceSessions param.

There is no need for this - in fact, some callers are still calling it
with null and the functionality is working as expected.

Bug: None
Test: Build
Flag: EXEMPT refactor
Change-Id: I220680b0885f6a09e290bc34288ca54bb2dd74a5
parent f53437f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ public class ActivityManagerWrapper {
     * Shows a voice session identified by {@code token}
     * @return true if the session was shown, false otherwise
     */
    public boolean showVoiceSession(@NonNull IBinder token, @NonNull Bundle args, int flags,
    public boolean showVoiceSession(IBinder token, @NonNull Bundle args, int flags,
            @Nullable String attributionTag) {
        IVoiceInteractionManagerService service = IVoiceInteractionManagerService.Stub.asInterface(
                ServiceManager.getService(Context.VOICE_INTERACTION_MANAGER_SERVICE));