summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ben Lin <linben@google.com> 2024-07-16 17:29:05 -0700
committer Ben Lin <linben@google.com> 2024-07-16 17:30:40 -0700
commit3f7440bef649249d73754052a15c09ad07118a8a (patch)
tree2eba760822c38d7b12980baeba27f98f3451504a
parentf53437f6dcbf97873620ecdfa23b43247dc23e10 (diff)
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
-rw-r--r--packages/SystemUI/shared/src/com/android/systemui/shared/system/ActivityManagerWrapper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/shared/src/com/android/systemui/shared/system/ActivityManagerWrapper.java b/packages/SystemUI/shared/src/com/android/systemui/shared/system/ActivityManagerWrapper.java
index 845ca5e8b9ec..3019fe796d7d 100644
--- a/packages/SystemUI/shared/src/com/android/systemui/shared/system/ActivityManagerWrapper.java
+++ b/packages/SystemUI/shared/src/com/android/systemui/shared/system/ActivityManagerWrapper.java
@@ -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));