Move navigation bar, windows, and statusbar related classes
Move to some package under com.android.systemui.car Bug: 154357193 Test: manual Change-Id: I6afa42750398f0f190e9e18080ff5aeb67c9e66b
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
-->
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationBarView
|
||||
<com.android.systemui.car.navigationbar.CarNavigationBarView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_height="match_parent"
|
||||
@@ -36,7 +36,7 @@
|
||||
android:background="@drawable/system_bar_background"
|
||||
android:animateLayoutChanges="true">
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/home"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -47,7 +47,7 @@
|
||||
android:paddingBottom="30dp"
|
||||
/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/grid"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -59,7 +59,7 @@
|
||||
android:paddingBottom="30dp"
|
||||
/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/hvac"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -110,4 +110,4 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</com.android.systemui.navigationbar.car.CarNavigationBarView>
|
||||
</com.android.systemui.car.navigationbar.CarNavigationBarView>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
-->
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationBarView
|
||||
<com.android.systemui.car.navigationbar.CarNavigationBarView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_height="match_parent"
|
||||
@@ -36,7 +36,7 @@
|
||||
android:background="@drawable/system_bar_background"
|
||||
android:animateLayoutChanges="true">
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/home"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -47,7 +47,7 @@
|
||||
android:paddingBottom="30dp"
|
||||
/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/hvac"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -59,4 +59,4 @@
|
||||
android:paddingBottom="30dp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</com.android.systemui.navigationbar.car.CarNavigationBarView>
|
||||
</com.android.systemui.car.navigationbar.CarNavigationBarView>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
~ limitations under the License
|
||||
-->
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationBarView
|
||||
<com.android.systemui.car.navigationbar.CarNavigationBarView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
@@ -33,7 +33,7 @@
|
||||
android:paddingEnd="20dp"
|
||||
android:gravity="center">
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/home"
|
||||
style="@style/NavigationBarButton"
|
||||
systemui:componentNames="com.android.car.carlauncher/.CarLauncher"
|
||||
@@ -48,7 +48,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/maps_nav"
|
||||
style="@style/NavigationBarButton"
|
||||
systemui:categories="android.intent.category.APP_MAPS"
|
||||
@@ -63,7 +63,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/music_nav"
|
||||
style="@style/NavigationBarButton"
|
||||
systemui:categories="android.intent.category.APP_MUSIC"
|
||||
@@ -79,7 +79,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/phone_nav"
|
||||
style="@style/NavigationBarButton"
|
||||
systemui:icon="@drawable/car_ic_phone"
|
||||
@@ -94,7 +94,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/grid_nav"
|
||||
style="@style/NavigationBarButton"
|
||||
systemui:componentNames="com.android.car.carlauncher/.AppGridActivity"
|
||||
@@ -109,7 +109,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/notifications"
|
||||
style="@style/NavigationBarButton"
|
||||
systemui:icon="@drawable/car_ic_notification"
|
||||
@@ -121,7 +121,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.AssitantButton
|
||||
<com.android.systemui.car.navigationbar.AssitantButton
|
||||
android:id="@+id/assist"
|
||||
style="@style/NavigationBarButton"
|
||||
systemui:icon="@drawable/ic_mic_white"
|
||||
@@ -140,4 +140,4 @@
|
||||
android:visibility="gone"
|
||||
/>
|
||||
|
||||
</com.android.systemui.navigationbar.car.CarNavigationBarView>
|
||||
</com.android.systemui.car.navigationbar.CarNavigationBarView>
|
||||
@@ -15,7 +15,7 @@
|
||||
~ limitations under the License
|
||||
-->
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationBarView
|
||||
<com.android.systemui.car.navigationbar.CarNavigationBarView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
@@ -31,7 +31,7 @@
|
||||
android:paddingStart="@*android:dimen/car_padding_5"
|
||||
android:paddingEnd="@*android:dimen/car_padding_5">
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/home"
|
||||
android:layout_width="@*android:dimen/car_touch_target_size"
|
||||
android:layout_height="match_parent"
|
||||
@@ -42,5 +42,5 @@
|
||||
systemui:highlightWhenSelected="true"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</com.android.systemui.navigationbar.car.CarNavigationBarView>
|
||||
</com.android.systemui.car.navigationbar.CarNavigationBarView>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
-->
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationBarView
|
||||
<com.android.systemui.car.navigationbar.CarNavigationBarView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_height="match_parent"
|
||||
@@ -39,7 +39,7 @@
|
||||
android:background="@drawable/system_bar_background"
|
||||
android:animateLayoutChanges="true">
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/home"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -50,7 +50,7 @@
|
||||
android:paddingBottom="30dp"
|
||||
/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/grid"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -62,7 +62,7 @@
|
||||
android:paddingBottom="30dp"
|
||||
/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/hvac"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -113,4 +113,4 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</com.android.systemui.navigationbar.car.CarNavigationBarView>
|
||||
</com.android.systemui.car.navigationbar.CarNavigationBarView>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
-->
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationBarView
|
||||
<com.android.systemui.car.navigationbar.CarNavigationBarView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_height="match_parent"
|
||||
@@ -36,7 +36,7 @@
|
||||
android:background="@drawable/system_bar_background"
|
||||
android:animateLayoutChanges="true">
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/home"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -47,7 +47,7 @@
|
||||
android:paddingBottom="30dp"
|
||||
/>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/hvac"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
@@ -59,4 +59,4 @@
|
||||
android:paddingBottom="30dp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</com.android.systemui.navigationbar.car.CarNavigationBarView>
|
||||
</com.android.systemui.car.navigationbar.CarNavigationBarView>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
~ limitations under the License
|
||||
-->
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationBarView
|
||||
<com.android.systemui.car.navigationbar.CarNavigationBarView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/car_top_bar"
|
||||
@@ -36,7 +36,7 @@
|
||||
android:layout_alignParentStart="true"
|
||||
>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/hvacleft"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -71,7 +71,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
>
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/qs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -118,7 +118,7 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/hvacright"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -148,4 +148,4 @@
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</com.android.systemui.navigationbar.car.CarNavigationBarView>
|
||||
</com.android.systemui.car.navigationbar.CarNavigationBarView>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
~ limitations under the License
|
||||
-->
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationBarView
|
||||
<com.android.systemui.car.navigationbar.CarNavigationBarView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/car_top_bar"
|
||||
@@ -36,7 +36,7 @@
|
||||
android:layout_alignParentStart="true"
|
||||
>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/hvacleft"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -70,7 +70,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true">
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/qs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -114,7 +114,7 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
>
|
||||
|
||||
<com.android.systemui.navigationbar.car.CarNavigationButton
|
||||
<com.android.systemui.car.navigationbar.CarNavigationButton
|
||||
android:id="@+id/hvacright"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -144,4 +144,4 @@
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</com.android.systemui.navigationbar.car.CarNavigationBarView>
|
||||
</com.android.systemui.car.navigationbar.CarNavigationBarView>
|
||||
|
||||
@@ -106,10 +106,10 @@
|
||||
<item>com.android.systemui.SizeCompatModeActivityController</item>
|
||||
<!-- <item>com.android.systemui.statusbar.notification.InstantAppNotifier</item>-->
|
||||
<item>com.android.systemui.theme.ThemeOverlayController</item>
|
||||
<item>com.android.systemui.navigationbar.car.CarNavigationBar</item>
|
||||
<item>com.android.systemui.toast.ToastUI</item>
|
||||
<item>com.android.systemui.car.navigationbar.CarNavigationBar</item>
|
||||
<item>com.android.systemui.car.voicerecognition.ConnectedDeviceVoiceRecognitionNotifier</item>
|
||||
<item>com.android.systemui.window.SystemUIOverlayWindowManager</item>
|
||||
<item>com.android.systemui.car.window.SystemUIOverlayWindowManager</item>
|
||||
<item>com.android.systemui.car.volume.VolumeUI</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -18,21 +18,23 @@ package com.android.systemui;
|
||||
|
||||
import com.android.systemui.biometrics.AuthController;
|
||||
import com.android.systemui.bubbles.dagger.BubbleModule;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBar;
|
||||
import com.android.systemui.car.notification.CarNotificationModule;
|
||||
import com.android.systemui.car.statusbar.CarStatusBar;
|
||||
import com.android.systemui.car.statusbar.CarStatusBarModule;
|
||||
import com.android.systemui.car.voicerecognition.ConnectedDeviceVoiceRecognitionNotifier;
|
||||
import com.android.systemui.car.volume.VolumeUI;
|
||||
import com.android.systemui.car.window.OverlayWindowModule;
|
||||
import com.android.systemui.car.window.SystemUIOverlayWindowManager;
|
||||
import com.android.systemui.globalactions.GlobalActionsComponent;
|
||||
import com.android.systemui.keyguard.KeyguardViewMediator;
|
||||
import com.android.systemui.keyguard.dagger.KeyguardModule;
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBar;
|
||||
import com.android.systemui.pip.PipUI;
|
||||
import com.android.systemui.power.PowerUI;
|
||||
import com.android.systemui.recents.Recents;
|
||||
import com.android.systemui.recents.RecentsModule;
|
||||
import com.android.systemui.shortcut.ShortcutKeyDispatcher;
|
||||
import com.android.systemui.stackdivider.Divider;
|
||||
import com.android.systemui.statusbar.car.CarStatusBar;
|
||||
import com.android.systemui.statusbar.car.CarStatusBarModule;
|
||||
import com.android.systemui.statusbar.notification.InstantAppNotifier;
|
||||
import com.android.systemui.statusbar.notification.dagger.NotificationsModule;
|
||||
import com.android.systemui.statusbar.phone.StatusBar;
|
||||
@@ -40,8 +42,6 @@ import com.android.systemui.statusbar.tv.TvStatusBar;
|
||||
import com.android.systemui.theme.ThemeOverlayController;
|
||||
import com.android.systemui.toast.ToastUI;
|
||||
import com.android.systemui.util.leak.GarbageMonitor;
|
||||
import com.android.systemui.window.OverlayWindowModule;
|
||||
import com.android.systemui.window.SystemUIOverlayWindowManager;
|
||||
|
||||
import dagger.Binds;
|
||||
import dagger.Module;
|
||||
|
||||
@@ -25,6 +25,8 @@ import com.android.keyguard.KeyguardViewController;
|
||||
import com.android.systemui.car.CarDeviceProvisionedController;
|
||||
import com.android.systemui.car.CarDeviceProvisionedControllerImpl;
|
||||
import com.android.systemui.car.keyguard.CarKeyguardViewController;
|
||||
import com.android.systemui.car.statusbar.CarStatusBar;
|
||||
import com.android.systemui.car.statusbar.CarStatusBarKeyguardViewManager;
|
||||
import com.android.systemui.car.volume.CarVolumeDialogComponent;
|
||||
import com.android.systemui.dagger.SystemUIRootComponent;
|
||||
import com.android.systemui.dock.DockManager;
|
||||
@@ -40,8 +42,6 @@ import com.android.systemui.stackdivider.DividerModule;
|
||||
import com.android.systemui.statusbar.CommandQueue;
|
||||
import com.android.systemui.statusbar.NotificationLockscreenUserManager;
|
||||
import com.android.systemui.statusbar.NotificationLockscreenUserManagerImpl;
|
||||
import com.android.systemui.statusbar.car.CarStatusBar;
|
||||
import com.android.systemui.statusbar.car.CarStatusBarKeyguardViewManager;
|
||||
import com.android.systemui.statusbar.notification.NotificationEntryManager;
|
||||
import com.android.systemui.statusbar.phone.HeadsUpManagerPhone;
|
||||
import com.android.systemui.statusbar.phone.KeyguardBypassController;
|
||||
@@ -87,9 +87,6 @@ public abstract class CarSystemUIModule {
|
||||
groupManager, configurationController);
|
||||
}
|
||||
|
||||
@Binds
|
||||
abstract HeadsUpManager bindHeadsUpManagerPhone(HeadsUpManagerPhone headsUpManagerPhone);
|
||||
|
||||
@Singleton
|
||||
@Provides
|
||||
@Named(LEAK_REPORT_EMAIL_NAME)
|
||||
@@ -97,6 +94,16 @@ public abstract class CarSystemUIModule {
|
||||
return "buganizer-system+181579@google.com";
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
static Recents provideRecents(Context context, RecentsImplementation recentsImplementation,
|
||||
CommandQueue commandQueue) {
|
||||
return new Recents(context, recentsImplementation, commandQueue);
|
||||
}
|
||||
|
||||
@Binds
|
||||
abstract HeadsUpManager bindHeadsUpManagerPhone(HeadsUpManagerPhone headsUpManagerPhone);
|
||||
|
||||
@Binds
|
||||
abstract EnhancedEstimates bindEnhancedEstimates(EnhancedEstimatesImpl enhancedEstimates);
|
||||
|
||||
@@ -123,13 +130,6 @@ public abstract class CarSystemUIModule {
|
||||
@Binds
|
||||
abstract ShadeController provideShadeController(ShadeControllerImpl shadeController);
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
static Recents provideRecents(Context context, RecentsImplementation recentsImplementation,
|
||||
CommandQueue commandQueue) {
|
||||
return new Recents(context, recentsImplementation, commandQueue);
|
||||
}
|
||||
|
||||
@Binds
|
||||
abstract SystemUIRootComponent bindSystemUIRootComponent(
|
||||
CarSystemUIRootComponent systemUIRootComponent);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2016 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.statusbar.car;
|
||||
package com.android.systemui.car.bluetooth;
|
||||
|
||||
import android.bluetooth.BluetoothAdapter;
|
||||
import android.bluetooth.BluetoothDevice;
|
||||
@@ -116,10 +116,12 @@ public class CarBatteryController extends BroadcastReceiver implements BatteryCo
|
||||
mChangeCallbacks.remove(cb);
|
||||
}
|
||||
|
||||
/** Sets {@link BatteryViewHandler}. */
|
||||
public void addBatteryViewHandler(BatteryViewHandler batteryViewHandler) {
|
||||
mBatteryViewHandler = batteryViewHandler;
|
||||
}
|
||||
|
||||
/** Starts listening for bluetooth broadcast messages. */
|
||||
public void startListening() {
|
||||
IntentFilter filter = new IntentFilter();
|
||||
filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED);
|
||||
@@ -127,6 +129,7 @@ public class CarBatteryController extends BroadcastReceiver implements BatteryCo
|
||||
mContext.registerReceiver(this, filter);
|
||||
}
|
||||
|
||||
/** Stops listening for bluetooth broadcast messages. */
|
||||
public void stopListening() {
|
||||
mContext.unregisterReceiver(this);
|
||||
}
|
||||
@@ -279,8 +282,10 @@ public class CarBatteryController extends BroadcastReceiver implements BatteryCo
|
||||
* in the {@link CarBatteryController}.
|
||||
*/
|
||||
public interface BatteryViewHandler {
|
||||
/** Hides the battery view. */
|
||||
void hideBatteryView();
|
||||
|
||||
/** Shows the battery view. */
|
||||
void showBatteryView();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.statusbar.car;
|
||||
package com.android.systemui.car.bluetooth;
|
||||
|
||||
import static com.android.systemui.statusbar.phone.StatusBar.DEBUG;
|
||||
|
||||
@@ -125,6 +125,7 @@ public class ConnectedDeviceSignalController extends BroadcastReceiver implement
|
||||
BluetoothProfile.HEADSET_CLIENT);
|
||||
}
|
||||
|
||||
/** Starts listening for bluetooth broadcast messages. */
|
||||
public void startListening() {
|
||||
IntentFilter filter = new IntentFilter();
|
||||
filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED);
|
||||
@@ -134,6 +135,7 @@ public class ConnectedDeviceSignalController extends BroadcastReceiver implement
|
||||
mController.addCallback(this);
|
||||
}
|
||||
|
||||
/** Stops listening for bluetooth broadcast messages. */
|
||||
public void stopListening() {
|
||||
mContext.unregisterReceiver(this);
|
||||
mController.removeCallback(this);
|
||||
@@ -35,9 +35,11 @@ import com.android.keyguard.ViewMediatorCallback;
|
||||
import com.android.systemui.R;
|
||||
import com.android.systemui.SystemUIFactory;
|
||||
import com.android.systemui.car.CarServiceProvider;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBarController;
|
||||
import com.android.systemui.car.window.OverlayViewController;
|
||||
import com.android.systemui.car.window.OverlayViewGlobalStateController;
|
||||
import com.android.systemui.dagger.qualifiers.Main;
|
||||
import com.android.systemui.keyguard.DismissCallbackRegistry;
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBarController;
|
||||
import com.android.systemui.plugins.FalsingManager;
|
||||
import com.android.systemui.statusbar.phone.BiometricUnlockController;
|
||||
import com.android.systemui.statusbar.phone.KeyguardBouncer;
|
||||
@@ -45,8 +47,6 @@ import com.android.systemui.statusbar.phone.KeyguardBypassController;
|
||||
import com.android.systemui.statusbar.phone.NotificationPanelViewController;
|
||||
import com.android.systemui.statusbar.phone.StatusBar;
|
||||
import com.android.systemui.statusbar.policy.KeyguardStateController;
|
||||
import com.android.systemui.window.OverlayViewController;
|
||||
import com.android.systemui.window.OverlayViewGlobalStateController;
|
||||
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package com.android.systemui.car.keyguard;
|
||||
|
||||
import com.android.systemui.car.userswitcher.FullScreenUserSwitcherViewController;
|
||||
import com.android.systemui.window.OverlayViewMediator;
|
||||
import com.android.systemui.car.window.OverlayViewMediator;
|
||||
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import static android.service.voice.VoiceInteractionSession.SHOW_SOURCE_ASSIST_GESTURE;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import android.app.ActivityManager;
|
||||
import android.content.ComponentName;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import android.app.ActivityTaskManager;
|
||||
import android.util.Log;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import static android.view.InsetsState.ITYPE_NAVIGATION_BAR;
|
||||
import static android.view.InsetsState.ITYPE_STATUS_BAR;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
@@ -24,7 +24,7 @@ import android.widget.LinearLayout;
|
||||
|
||||
import com.android.systemui.Dependency;
|
||||
import com.android.systemui.R;
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBarController.NotificationsShadeController;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBarController.NotificationsShadeController;
|
||||
import com.android.systemui.statusbar.CommandQueue;
|
||||
import com.android.systemui.statusbar.phone.StatusBarIconController;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import android.app.ActivityOptions;
|
||||
import android.content.Context;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.ArrayMap;
|
||||
@@ -45,13 +45,13 @@ import com.android.internal.statusbar.IStatusBarService;
|
||||
import com.android.systemui.R;
|
||||
import com.android.systemui.car.CarDeviceProvisionedController;
|
||||
import com.android.systemui.car.CarServiceProvider;
|
||||
import com.android.systemui.car.window.OverlayPanelViewController;
|
||||
import com.android.systemui.car.window.OverlayViewGlobalStateController;
|
||||
import com.android.systemui.dagger.qualifiers.Main;
|
||||
import com.android.systemui.plugins.statusbar.StatusBarStateController;
|
||||
import com.android.systemui.statusbar.CommandQueue;
|
||||
import com.android.systemui.statusbar.FlingAnimationUtils;
|
||||
import com.android.systemui.statusbar.StatusBarState;
|
||||
import com.android.systemui.window.OverlayPanelViewController;
|
||||
import com.android.systemui.window.OverlayViewGlobalStateController;
|
||||
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
@@ -20,10 +20,9 @@ import android.car.hardware.power.CarPowerManager;
|
||||
import android.content.res.Configuration;
|
||||
|
||||
import com.android.systemui.car.CarDeviceProvisionedController;
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBarController;
|
||||
import com.android.systemui.statusbar.car.PowerManagerHelper;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBarController;
|
||||
import com.android.systemui.car.window.OverlayViewMediator;
|
||||
import com.android.systemui.statusbar.policy.ConfigurationController;
|
||||
import com.android.systemui.window.OverlayViewMediator;
|
||||
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.statusbar.car;
|
||||
package com.android.systemui.car.notification;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.car.Car;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.statusbar.car;
|
||||
package com.android.systemui.car.statusbar;
|
||||
|
||||
import static com.android.systemui.Dependency.TIME_TICK_HANDLER_NAME;
|
||||
|
||||
@@ -41,6 +41,8 @@ import com.android.systemui.broadcast.BroadcastDispatcher;
|
||||
import com.android.systemui.bubbles.BubbleController;
|
||||
import com.android.systemui.car.CarDeviceProvisionedController;
|
||||
import com.android.systemui.car.CarDeviceProvisionedListener;
|
||||
import com.android.systemui.car.bluetooth.CarBatteryController;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBarController;
|
||||
import com.android.systemui.classifier.FalsingLog;
|
||||
import com.android.systemui.colorextraction.SysuiColorExtractor;
|
||||
import com.android.systemui.dagger.qualifiers.UiBackground;
|
||||
@@ -49,7 +51,6 @@ import com.android.systemui.keyguard.DismissCallbackRegistry;
|
||||
import com.android.systemui.keyguard.KeyguardViewMediator;
|
||||
import com.android.systemui.keyguard.ScreenLifecycle;
|
||||
import com.android.systemui.keyguard.WakefulnessLifecycle;
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBarController;
|
||||
import com.android.systemui.plugins.DarkIconDispatcher;
|
||||
import com.android.systemui.plugins.FalsingManager;
|
||||
import com.android.systemui.plugins.PluginDependencyProvider;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.statusbar.car;
|
||||
package com.android.systemui.car.statusbar;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
@@ -23,8 +23,8 @@ import com.android.internal.widget.LockPatternUtils;
|
||||
import com.android.keyguard.KeyguardUpdateMonitor;
|
||||
import com.android.keyguard.ViewMediatorCallback;
|
||||
import com.android.systemui.R;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBarController;
|
||||
import com.android.systemui.dock.DockManager;
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBarController;
|
||||
import com.android.systemui.statusbar.NotificationMediaManager;
|
||||
import com.android.systemui.statusbar.SysuiStatusBarStateController;
|
||||
import com.android.systemui.statusbar.phone.NavigationModeController;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.statusbar.car;
|
||||
package com.android.systemui.car.statusbar;
|
||||
|
||||
import static com.android.systemui.Dependency.TIME_TICK_HANDLER_NAME;
|
||||
|
||||
@@ -31,13 +31,13 @@ import com.android.systemui.assist.AssistManager;
|
||||
import com.android.systemui.broadcast.BroadcastDispatcher;
|
||||
import com.android.systemui.bubbles.BubbleController;
|
||||
import com.android.systemui.car.CarDeviceProvisionedController;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBarController;
|
||||
import com.android.systemui.colorextraction.SysuiColorExtractor;
|
||||
import com.android.systemui.dagger.qualifiers.UiBackground;
|
||||
import com.android.systemui.keyguard.DismissCallbackRegistry;
|
||||
import com.android.systemui.keyguard.KeyguardViewMediator;
|
||||
import com.android.systemui.keyguard.ScreenLifecycle;
|
||||
import com.android.systemui.keyguard.WakefulnessLifecycle;
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBarController;
|
||||
import com.android.systemui.plugins.DarkIconDispatcher;
|
||||
import com.android.systemui.plugins.FalsingManager;
|
||||
import com.android.systemui.plugins.PluginDependencyProvider;
|
||||
@@ -25,9 +25,9 @@ import android.view.View;
|
||||
import androidx.recyclerview.widget.GridLayoutManager;
|
||||
|
||||
import com.android.systemui.R;
|
||||
import com.android.systemui.car.window.OverlayViewController;
|
||||
import com.android.systemui.car.window.OverlayViewGlobalStateController;
|
||||
import com.android.systemui.dagger.qualifiers.Main;
|
||||
import com.android.systemui.window.OverlayViewController;
|
||||
import com.android.systemui.window.OverlayViewGlobalStateController;
|
||||
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
package com.android.systemui.car.userswitcher;
|
||||
|
||||
import com.android.systemui.car.keyguard.CarKeyguardViewController;
|
||||
import com.android.systemui.car.window.OverlayViewMediator;
|
||||
import com.android.systemui.plugins.statusbar.StatusBarStateController;
|
||||
import com.android.systemui.statusbar.StatusBarState;
|
||||
import com.android.systemui.window.OverlayViewMediator;
|
||||
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorListenerAdapter;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
@@ -14,13 +14,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBarController;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBarController;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
/**
|
||||
* Controls when to show and hide {@link OverlayViewController}(s).
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
import com.android.systemui.car.keyguard.CarKeyguardViewMediator;
|
||||
import com.android.systemui.car.notification.NotificationPanelViewMediator;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
@@ -38,15 +38,15 @@ import com.android.keyguard.ViewMediatorCallback;
|
||||
import com.android.systemui.R;
|
||||
import com.android.systemui.SysuiTestCase;
|
||||
import com.android.systemui.car.CarServiceProvider;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBarController;
|
||||
import com.android.systemui.car.window.OverlayViewGlobalStateController;
|
||||
import com.android.systemui.car.window.SystemUIOverlayWindowController;
|
||||
import com.android.systemui.keyguard.DismissCallbackRegistry;
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBarController;
|
||||
import com.android.systemui.plugins.FalsingManager;
|
||||
import com.android.systemui.statusbar.phone.BiometricUnlockController;
|
||||
import com.android.systemui.statusbar.phone.KeyguardBouncer;
|
||||
import com.android.systemui.statusbar.phone.KeyguardBypassController;
|
||||
import com.android.systemui.statusbar.policy.KeyguardStateController;
|
||||
import com.android.systemui.window.OverlayViewGlobalStateController;
|
||||
import com.android.systemui.window.SystemUIOverlayWindowController;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import static android.view.InsetsState.ITYPE_NAVIGATION_BAR;
|
||||
import static android.view.InsetsState.ITYPE_STATUS_BAR;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.navigationbar.car;
|
||||
package com.android.systemui.car.navigationbar;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.systemui.window;
|
||||
package com.android.systemui.car.window;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
@@ -30,7 +30,7 @@ import android.widget.FrameLayout;
|
||||
import androidx.test.filters.SmallTest;
|
||||
|
||||
import com.android.systemui.SysuiTestCase;
|
||||
import com.android.systemui.navigationbar.car.CarNavigationBarController;
|
||||
import com.android.systemui.car.navigationbar.CarNavigationBarController;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
Reference in New Issue
Block a user