[QSDetailedView] Make the current InternetDialogDelegate legacy
This cl did the following thing to prepare for adding the shared
details content manager by the dialog and the non-dialog videw:
1) Added the `assertInNewMode` function in QsDetailedView flag.
2) Renamed `InternetDialogDelegate` -> `InternetDialogDelegateLegacy`.
Added a TODO to `assertInLegacyMode` in the constructor. If we add
this line directly, the UI will crash when the flag is enabled.
3) Corresponding tests change.
Bug:b/377388104
Flag: com.android.systemui.qs_tile_detailed_view
Test: InternetDialogDelegateLegacyTest
Change-Id: I27abec6eb145da42f873d67c490b839e4b8992ab
diff --git a/packages/SystemUI/Android.bp b/packages/SystemUI/Android.bp
index 7de258b..b88ae37 100644
--- a/packages/SystemUI/Android.bp
+++ b/packages/SystemUI/Android.bp
@@ -278,7 +278,7 @@
"tests/src/**/systemui/media/controls/domain/pipeline/LegacyMediaDataManagerImplTest.kt",
"tests/src/**/systemui/temporarydisplay/chipbar/SwipeChipbarAwayGestureHandlerTest.kt",
"tests/src/**/systemui/qs/tiles/HotspotTileTest.java",
- "tests/src/**/systemui/qs/tiles/dialog/InternetDialogDelegateTest.java",
+ "tests/src/**/systemui/qs/tiles/dialog/InternetDialogDelegateLegacyTest.java",
"tests/src/**/systemui/navigationbar/NavigationBarControllerImplTest.java",
"tests/src/**/systemui/wmshell/BubblesTest.java",
"tests/src/**/systemui/statusbar/phone/StatusBarNotificationActivityStarterTest.java",