Unhide constructors of DataService and NetworkService.
DataService and NetworkService are System level classes. We shouldn't hide their constructors otherwise their System level sub-class can't be instantiated properly. Test: gts Bug: 77531655 Change-Id: I1a58b4857dbcf939ac124e20eb0a801ad5a9b597 Merged-In: I1a58b4857dbcf939ac124e20eb0a801ad5a9b597
This commit is contained in:
committed by
Xiangyu/Malcolm Chen
parent
de65acb915
commit
1d7e446f6e
@@ -4013,6 +4013,7 @@ package android.telephony {
|
||||
}
|
||||
|
||||
public abstract class NetworkService extends android.app.Service {
|
||||
ctor public NetworkService();
|
||||
method protected abstract android.telephony.NetworkService.NetworkServiceProvider createNetworkServiceProvider(int);
|
||||
field public static final java.lang.String NETWORK_SERVICE_EXTRA_SLOT_ID = "android.telephony.extra.SLOT_ID";
|
||||
field public static final java.lang.String NETWORK_SERVICE_INTERFACE = "android.telephony.NetworkService";
|
||||
@@ -4262,6 +4263,7 @@ package android.telephony.data {
|
||||
}
|
||||
|
||||
public abstract class DataService extends android.app.Service {
|
||||
ctor public DataService();
|
||||
method public abstract android.telephony.data.DataService.DataServiceProvider createDataServiceProvider(int);
|
||||
field public static final java.lang.String DATA_SERVICE_EXTRA_SLOT_ID = "android.telephony.data.extra.SLOT_ID";
|
||||
field public static final java.lang.String DATA_SERVICE_INTERFACE = "android.telephony.data.DataService";
|
||||
|
||||
@@ -200,8 +200,10 @@ public abstract class NetworkService extends Service {
|
||||
}
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
protected NetworkService() {
|
||||
/**
|
||||
* Default constructor.
|
||||
*/
|
||||
public NetworkService() {
|
||||
mHandlerThread = new HandlerThread(TAG);
|
||||
mHandlerThread.start();
|
||||
|
||||
|
||||
@@ -429,8 +429,10 @@ public abstract class DataService extends Service {
|
||||
}
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
protected DataService() {
|
||||
/**
|
||||
* Default constructor.
|
||||
*/
|
||||
public DataService() {
|
||||
mHandlerThread = new HandlerThread(TAG);
|
||||
mHandlerThread.start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user