kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
				
				
				
			fix autobug: exceptions become RemoteException when crossing service boundary
							rodzic
							
								
									9b57d60432
								
							
						
					
					
						commit
						428ea596b0
					
				| 
						 | 
				
			
			@ -168,7 +168,7 @@ class MeshService : Service(), Logging {
 | 
			
		|||
                                destNum = if (sendLora) NODENUM_BROADCAST else myNodeNum,
 | 
			
		||||
                                wantResponse = sendLora
 | 
			
		||||
                            )
 | 
			
		||||
                        } catch (ex: RadioNotConnectedException) {
 | 
			
		||||
                        } catch (ex: RemoteException) { // Really a RadioNotConnected exception, but it has changed into this type via remoting
 | 
			
		||||
                            warn("Lost connection to radio, stopping location requests")
 | 
			
		||||
                            onConnectionChanged(ConnectionState.DEVICE_SLEEP)
 | 
			
		||||
                        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue