You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Android SDK 30 the no parameter and callback constructors of the Handler class were deprecated. Now a Looper instance is required to be passed. The library uses the default,no param constructor in most cases.
Replace Handler with a queue from task master and create tasks to be used. This solution will not work in the cases where a Handler is passed to a Messenger instance, for example the binding between TransportBroker and SdlRouterService .
The text was updated successfully, but these errors were encountered:
Bug Report
As of Android SDK 30 the no parameter and callback constructors of the
Handler
class were deprecated. Now aLooper
instance is required to be passed. The library uses the default,no param constructor in most cases.See here: https://developer.android.com/reference/android/os/Handler#Handler()
Expected Behavior
The library does not use deprecated methods from the Android API.
Observed Behavior
The library uses deprecated constroctures for
Handler
instancesOS & Version Information
Test Case, Sample Code, and / or Example App
Two solutions are possible:
Update handler constructors
Needs to be replaced with
Switch to using TaskMaster
Replace
Handler
with a queue from task master and create tasks to be used. This solution will not work in the cases where aHandler
is passed to a Messenger instance, for example the binding betweenTransportBroker
andSdlRouterService
.The text was updated successfully, but these errors were encountered: