Android: Use more flexible userid when launching browser popup
authorKanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com>
Thu, 13 Aug 2015 07:34:25 +0000 (13:04 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 13 Aug 2015 18:14:01 +0000 (21:14 +0300)
commitac8757cc352014beaba50f72adee8113efbfdfcf
tree4fcfeb8f25008e91fff77fc3e86d6a11707eed77
parent0d0f7ecbb18990299e394c60e9dae842a54cf1ca
Android: Use more flexible userid when launching browser popup

It was possible for the Hotspot 2.0 case of OSU user interaction to fail
with wpadebug browser due to permission denial in the "start" command
("java.lang.SecurityException: Permission Denial: startActivity asks to
run as user -2 but is calling from user 0; this requires
android.permission.INTERACT_ACROSS_USERS_FULL"). Avoid this by using
more flexible USER_CURRENT_OR_SELF (-3) value with the --user argument.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/utils/browser-wpadebug.c