Merge "Fix a couple compiler warnings in Settings" into udc-dev
This commit is contained in:
@@ -123,8 +123,8 @@ class SpaLogData(val id: String, val event: LogEvent,
|
||||
return ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())
|
||||
}
|
||||
|
||||
//TODO(b/253979024): Will be implemented in subsequent CLs.
|
||||
private fun getPageIdByEntryId(id: String): String {
|
||||
//TODO(b/253979024): Will be implemented in subsequent CLs. Remove @Suppress when done.
|
||||
private fun getPageIdByEntryId(@Suppress("UNUSED_PARAMETER") id: String): String {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
@@ -52,7 +52,7 @@ fun AirplaneModePreference() {
|
||||
}
|
||||
|
||||
private class AirplaneModeController(private val context: Context) : OnAirplaneModeChangedListener {
|
||||
private var airplaneModeEnabler = AirplaneModeEnabler(context, this)!!
|
||||
private var airplaneModeEnabler = AirplaneModeEnabler(context, this)
|
||||
private val _airplaneModeState = MutableLiveData<Boolean>()
|
||||
val airplaneModeState: LiveData<Boolean>
|
||||
get() = _airplaneModeState
|
||||
|
Reference in New Issue
Block a user