[Settings] Code refactor
1. Fix comments 2. Split test case Bug: 147338143 Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageListTest Change-Id: I017a3ac8a716e69eb4d9c3e30e20363a215563a2
This commit is contained in:
@@ -25,12 +25,12 @@ public class MobileDataEnabledListener {
|
||||
private Context mContext;
|
||||
private Client mClient;
|
||||
private int mSubId;
|
||||
/**
|
||||
* There're 2 listeners both activated at the same time.
|
||||
* For project that access MOBILE_DATA, only first listener is functional.
|
||||
* For project that access "MOBILE_DATA + subId", first listener will be stopped when receiving
|
||||
* any onChange from second listener.
|
||||
*/
|
||||
|
||||
// There're 2 listeners both activated at the same time.
|
||||
// For project that access MOBILE_DATA, only first listener is functional.
|
||||
// For project that access "MOBILE_DATA + subId", first listener will be stopped when receiving
|
||||
// any onChange from second listener.
|
||||
|
||||
private GlobalSettingsChangeListener mListener;
|
||||
private GlobalSettingsChangeListener mListenerForSubId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user