Merge "[Settings] Enable access from non-UI thread" into rvc-dev am: 068eb89251
Change-Id: I2174f9bfe34c5360ee3146b095c0e070efe52768
This commit is contained in:
@@ -73,6 +73,7 @@ public abstract class ActiveSubsciptionsListener
|
||||
* @param context {@code Context} of this listener
|
||||
*/
|
||||
public ActiveSubsciptionsListener(Looper looper, Context context) {
|
||||
super(looper);
|
||||
mLooper = looper;
|
||||
mContext = context;
|
||||
|
||||
|
@@ -72,7 +72,7 @@ public class ProxySubscriptionManager implements LifecycleObserver {
|
||||
private static ProxySubscriptionManager sSingleton;
|
||||
|
||||
private ProxySubscriptionManager(Context context) {
|
||||
final Looper looper = Looper.getMainLooper();
|
||||
final Looper looper = context.getMainLooper();
|
||||
|
||||
mActiveSubscriptionsListeners =
|
||||
new ArrayList<OnActiveSubscriptionChangedListener>();
|
||||
|
Reference in New Issue
Block a user