android: check back stack before popping back (#618)
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/617/merge
parent
10b2c61f5f
commit
189de89466
Loading…
Reference in New Issue