[fenix] For https://github.com/mozilla-mobile/fenix/issues/18160: Show a prompt when...
commit7f7ae07928bb2cdbfe40842916814ca308657b96
authormavduevskiy <92760693+mavduevskiy@users.noreply.github.com>
Wed, 22 Dec 2021 08:12:44 +0000 (22 00:12 -0800)
committerGitHub <noreply@github.com>
Wed, 22 Dec 2021 08:12:44 +0000 (22 00:12 -0800)
tree08805ceadacc729c341def989e480d6ca519fd9d
parent553b15f61f2373f1af089ce24ecb0c7e8c73310c
[fenix] For https://github.com/mozilla-mobile/fenix/issues/18160: Show a prompt when trying to leave private browsing with active downloads (https://github.com/mozilla-mobile/fenix/pull/22912)

Co-authored-by: mike a <mavduevskiy@gmail.com>
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/NavigationInteractor.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayController.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayFragment.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayInteractor.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/browser/BrowserTrayInteractor.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/ext/DownloadState.kt [new file with mode: 0644]
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/tabstray/DefaultTabsTrayControllerTest.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/tabstray/DefaultTabsTrayInteractorTest.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/tabstray/NavigationInteractorTest.kt