Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 958f2008 authored by Nathan Harold's avatar Nathan Harold
Browse files

Lazily init Handler in SubscriptionManager

Convert to lazy initialization of the Handler inside the
OnSubscriptionsChangedListener to avoid the undocumented
requirement that it always be created inside of a thread that
has a prepared Looper.

Bug: 278814050
Test: atest FrameworksTelephonyTests
Test: atest SubscriptionManagerTest#testCreateSubscriptionChangedListenerWithoutLooper
Change-Id: I22fec4924ed7299f415e0cbf2c208e65a4f2e3d1
parent 4f51bbe2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment