Should use getApplicationInfoAsUser instead

The second argument of getApplicationInfo is flags, not user id.
To specify user id, we should use getApplicationInfoAsUser.

Fix: 36349295
Test: Installed an app that called addWindow in work profile only.
      And verify that it can be launched.
Change-Id: I9a36b8218082ffce9d903845357666c8366e6ed0
1 file changed