1 package com.android.systemui.rotationlock 2 3 import com.android.systemui.qs.tileimpl.QSTileImpl 4 import com.android.systemui.qs.tiles.RotationLockTile 5 import dagger.Binds 6 import dagger.Module 7 import dagger.multibindings.IntoMap 8 import dagger.multibindings.StringKey 9 10 @Module 11 interface RotationLockModule { 12 13 /** Inject RotationLockTile into tileMap in QSModule */ 14 @Binds 15 @IntoMap 16 @StringKey(RotationLockTile.TILE_SPEC) bindRotationLockTilenull17 fun bindRotationLockTile(rotationLockTile: RotationLockTile): QSTileImpl<*> 18 } 19