mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
remove okhttp3 lib
This commit is contained in:
parent
f6a88f7db0
commit
3239867523
2 changed files with 1 additions and 5 deletions
|
|
@ -169,9 +169,6 @@ dependencies {
|
|||
// mapbox
|
||||
implementation 'com.mapbox.maps:android:10.2.0'
|
||||
|
||||
// mapbox specifies a really old version of okhttp3 which causes lots of API warnings. trying a newer version
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
|
||||
|
||||
// location services
|
||||
implementation 'com.google.android.gms:play-services-location:19.0.1'
|
||||
// For Google Sign-In (owner name accesss)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import com.geeksville.mesh.*
|
|||
import com.geeksville.mesh.model.getInitials
|
||||
import com.geeksville.mesh.repository.usb.UsbRepository
|
||||
import com.google.protobuf.ByteString
|
||||
import okhttp3.internal.toHexString
|
||||
|
||||
/** A simulated interface that is used for testing in the simulator */
|
||||
class MockInterface(private val service: RadioInterfaceService) : Logging, IRadioInterface {
|
||||
|
|
@ -159,7 +158,7 @@ class MockInterface(private val service: RadioInterfaceService) : Logging, IRadi
|
|||
num = numIn
|
||||
user = MeshProtos.User.newBuilder().apply {
|
||||
id = DataPacket.nodeNumToDefaultId(numIn)
|
||||
longName = "Sim " + num.toHexString()
|
||||
longName = "Sim " + Integer.toHexString(num)
|
||||
shortName = getInitials(longName)
|
||||
hwModel = MeshProtos.HardwareModel.ANDROID_SIM
|
||||
}.build()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue