Fix crash when showing the media projection dialog on work profile

Bug: 222713428
Test: Manual
Change-Id: Ic969b8270162c18227447d79fe55dbfaa75bfb83
1 file changed