diff options
| author | Zach Johnson <zachoverflow@google.com> | 2015-05-22 15:56:09 -0700 |
|---|---|---|
| committer | Zach Johnson <zachoverflow@google.com> | 2015-05-27 15:30:31 -0700 |
| commit | 42ecc9eb902ef90876cd345a906c24e0d58720a3 (patch) | |
| tree | 7f233b309ae6b4c6c7acdef9de6be712fd48adf5 /core/java/android/service/carrier | |
| parent | b2849d9a20ac080c1b29a3b54a1d636080faccc3 (diff) | |
| download | frameworks_base-42ecc9eb902ef90876cd345a906c24e0d58720a3.zip frameworks_base-42ecc9eb902ef90876cd345a906c24e0d58720a3.tar.gz frameworks_base-42ecc9eb902ef90876cd345a906c24e0d58720a3.tar.bz2 | |
Drop the "Config". Just "CarrierService". It's cleaner.
b/21308727
Change-Id: I6515888c7804349ecd07c4dd74575ef89a4bea59
Diffstat (limited to 'core/java/android/service/carrier')
| -rw-r--r-- | core/java/android/service/carrier/CarrierService.java (renamed from core/java/android/service/carrier/CarrierConfigService.java) | 24 | ||||
| -rw-r--r-- | core/java/android/service/carrier/ICarrierService.aidl (renamed from core/java/android/service/carrier/ICarrierConfigService.aidl) | 8 |
2 files changed, 16 insertions, 16 deletions
diff --git a/core/java/android/service/carrier/CarrierConfigService.java b/core/java/android/service/carrier/CarrierService.java index bf33ad5..20865d4 100644 --- a/core/java/android/service/carrier/CarrierConfigService.java +++ b/core/java/android/service/carrier/CarrierService.java @@ -20,7 +20,7 @@ import android.os.IBinder; import android.os.PersistableBundle; /** - * A service that sets carrier configuration for telephony services. + * A service that exposes carrier-specific functionality to the system. * <p> * To extend this class, you must declare the service in your manifest file to require the * {@link android.Manifest.permission#BIND_CARRIER_SERVICES} permission and include an intent @@ -28,23 +28,23 @@ import android.os.PersistableBundle; * </p> * * <pre>{@code - * <service android:name=".MyCarrierConfigService" + * <service android:name=".MyCarrierService" * android:label="@string/service_name" * android:permission="android.permission.BIND_CARRIER_SERVICES"> * <intent-filter> - * <action android:name="android.service.carrier.CarrierConfigService" /> + * <action android:name="android.service.carrier.CarrierService" /> * </intent-filter> * </service> * }</pre> */ -public abstract class CarrierConfigService extends Service { +public abstract class CarrierService extends Service { - public static final String SERVICE_INTERFACE = "android.service.carrier.CarrierConfigService"; + public static final String SERVICE_INTERFACE = "android.service.carrier.CarrierService"; - private final ICarrierConfigService.Stub mStubWrapper; + private final ICarrierService.Stub mStubWrapper; - public CarrierConfigService() { - mStubWrapper = new ICarrierConfigServiceWrapper(); + public CarrierService() { + mStubWrapper = new ICarrierServiceWrapper(); } /** @@ -89,16 +89,16 @@ public abstract class CarrierConfigService extends Service { } /** - * A wrapper around ICarrierConfigService that forwards calls to implementations of - * {@link CarrierConfigService}. + * A wrapper around ICarrierService that forwards calls to implementations of + * {@link CarrierService}. * * @hide */ - private class ICarrierConfigServiceWrapper extends ICarrierConfigService.Stub { + private class ICarrierServiceWrapper extends ICarrierService.Stub { @Override public PersistableBundle getCarrierConfig(CarrierIdentifier id) { - return CarrierConfigService.this.onLoadConfig(id); + return CarrierService.this.onLoadConfig(id); } } } diff --git a/core/java/android/service/carrier/ICarrierConfigService.aidl b/core/java/android/service/carrier/ICarrierService.aidl index abbc000..4c87585 100644 --- a/core/java/android/service/carrier/ICarrierConfigService.aidl +++ b/core/java/android/service/carrier/ICarrierService.aidl @@ -20,13 +20,13 @@ import android.os.PersistableBundle; import android.service.carrier.CarrierIdentifier; /** - * Service used to get carrier config from carrier apps. + * Service used to expose carrier-specific functionality to the system. * - * @see android.service.carrier.CarrierConfigService + * @see android.service.carrier.CarrierService * @hide */ -interface ICarrierConfigService { +interface ICarrierService { - /** @see android.service.carrier.CarrierConfigService#onLoadConfig */ + /** @see android.service.carrier.CarrierService#onLoadConfig */ PersistableBundle getCarrierConfig(in CarrierIdentifier id); } |
