diff options
| author | Albin <albin@mullvad.net> | 2022-01-27 08:50:37 +0100 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2022-01-27 11:29:07 +0100 |
| commit | 12d04a384cda1ab21617ad164fa5291506073f4c (patch) | |
| tree | aa5483f03f724c736ed907bf1ea769cdbea52ff3 /android/docker | |
| parent | c81d787c9588800688930c88d0a69fa3ee6a06e9 (diff) | |
| download | mullvadvpn-12d04a384cda1ab21617ad164fa5291506073f4c.tar.xz mullvadvpn-12d04a384cda1ab21617ad164fa5291506073f4c.zip | |
Fix app startup crash on Android TVs
The main activity and tv activity are both designed to be running as
singleTask and the app would crash if both were started. This would not
be common, but possible, on a phone or tablet, however this can
potentially occur frequently on Android TV (perhaps depending on OEM),
as both categories LAUNCHER and LEANBACK_LAUNCHER are used. E.g.the tv
launcher would use LEANBACK_LAUNCHER whereas the settings app would use
LAUNCHER.
As the tv activity isn't used for any customization atm, this was fixed
by simply removing the tv activity and adding the LEANBACK_LAUNCHER
category to the main activity.
Diffstat (limited to 'android/docker')
0 files changed, 0 insertions, 0 deletions
