Add check if the profile belongs to foreground user when showing notification.
Original implementation did not take into account the fact that the alarm can come from the profile that belongs to foreground user. This CL expands the check to include this case. Additionally, it now displays the name of full user when the alarm belongs to the profile and the user switch action has full user set as target user. Bug: 375320522 Test: atest BackgroundUserSoundNotifierTest Flag: EXEMPT bugfix Change-Id: I54e6e81beae2ac3f9ed94a6b83015f17748ad732
Loading
Please register or sign in to comment