android: check back stack before popping back
A possible cause for an IndexOutOfBounds exception is that when the intent is delivered, the back stack doesn't have enough entries for the operation. Condition popping back on if there is more than one entry in the back stack; otherwise, navigate directly to main to reset the back stack. Updates tailscale/tailscale#15188 Signed-off-by: kari-ts <kari@tailscale.com>pull/618/head
parent
6a3342e66d
commit
fc8464625f
Loading…
Reference in New Issue