Make change and version bump to r_aml_300801400 for mainline module file: packages/Tethering/apex/manifest.json
Change-Id: I9c9f527416459b38c32ccf5b65f4054cea5b586f
This commit is contained in:
@@ -28,6 +28,7 @@ import android.telephony.TelephonyManager;
|
|||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
|
import com.android.internal.annotations.VisibleForTesting;
|
||||||
import com.android.internal.util.CollectionUtils;
|
import com.android.internal.util.CollectionUtils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@@ -38,8 +39,6 @@ import java.util.concurrent.Executor;
|
|||||||
/**
|
/**
|
||||||
* Helper class that watches for events that are triggered per subscription.
|
* Helper class that watches for events that are triggered per subscription.
|
||||||
*/
|
*/
|
||||||
// TODO (b/152176562): Write tests to verify subscription changes generate corresponding
|
|
||||||
// register/unregister calls.
|
|
||||||
public class NetworkStatsSubscriptionsMonitor extends
|
public class NetworkStatsSubscriptionsMonitor extends
|
||||||
SubscriptionManager.OnSubscriptionsChangedListener {
|
SubscriptionManager.OnSubscriptionsChangedListener {
|
||||||
|
|
||||||
@@ -207,5 +206,10 @@ public class NetworkStatsSubscriptionsMonitor extends
|
|||||||
mLastCollapsedRatType = collapsedRatType;
|
mLastCollapsedRatType = collapsedRatType;
|
||||||
mMonitor.mDelegate.onCollapsedRatTypeChanged(mSubscriberId, mLastCollapsedRatType);
|
mMonitor.mDelegate.onCollapsedRatTypeChanged(mSubscriberId, mLastCollapsedRatType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@VisibleForTesting
|
||||||
|
public int getSubId() {
|
||||||
|
return mSubId;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user