Merge "CellularDataService: mCallbackMap is not thread safe" am: 88d585becf am: 62b60cf729 am: 7f42fd8419 am: 60f1b7161c

Change-Id: I31056cfc92bd82a0626aa0a30a038f0d01553240
This commit is contained in:
Automerger Merge Worker
2020-03-13 06:10:55 +00:00
2 changed files with 6 additions and 0 deletions

View File

@@ -234,6 +234,9 @@ public abstract class NetworkService extends Service {
* this method to facilitate the creation of {@link NetworkServiceProvider} instances. The system
* will call this method after binding the network service for each active SIM slot id.
*
* This methead is guaranteed to be invoked in {@link NetworkService}'s internal handler thread
* whose looper can be retrieved with {@link Looper.myLooper()} when override this method.
*
* @param slotIndex SIM slot id the network service associated with.
* @return Network service object. Null if failed to create the provider (e.g. invalid slot
* index)

View File

@@ -458,6 +458,9 @@ public abstract class DataService extends Service {
* this method to facilitate the creation of {@link DataServiceProvider} instances. The system
* will call this method after binding the data service for each active SIM slot id.
*
* This methead is guaranteed to be invoked in {@link DataService}'s internal handler thread
* whose looper can be retrieved with {@link Looper.myLooper()} when override this method.
*
* @param slotIndex SIM slot id the data service associated with.
* @return Data service object. Null if failed to create the provider (e.g. invalid slot index)
*/