summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/pm/ServiceInfo.java
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:45 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:45 -0800
commitd83a98f4ce9cfa908f5c54bbd70f03eec07e7553 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /core/java/android/content/pm/ServiceInfo.java
parent076357b8567458d4b6dfdcf839ef751634cd2bfb (diff)
downloadframeworks_base-d83a98f4ce9cfa908f5c54bbd70f03eec07e7553.zip
frameworks_base-d83a98f4ce9cfa908f5c54bbd70f03eec07e7553.tar.gz
frameworks_base-d83a98f4ce9cfa908f5c54bbd70f03eec07e7553.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'core/java/android/content/pm/ServiceInfo.java')
-rw-r--r--core/java/android/content/pm/ServiceInfo.java56
1 files changed, 0 insertions, 56 deletions
diff --git a/core/java/android/content/pm/ServiceInfo.java b/core/java/android/content/pm/ServiceInfo.java
deleted file mode 100644
index b60650c..0000000
--- a/core/java/android/content/pm/ServiceInfo.java
+++ /dev/null
@@ -1,56 +0,0 @@
-package android.content.pm;
-
-import android.os.Parcel;
-import android.os.Parcelable;
-
-/**
- * Information you can retrieve about a particular application
- * service. This corresponds to information collected from the
- * AndroidManifest.xml's &lt;service&gt; tags.
- */
-public class ServiceInfo extends ComponentInfo
- implements Parcelable {
- /**
- * Optional name of a permission required to be able to access this
- * Service. From the "permission" attribute.
- */
- public String permission;
-
- public ServiceInfo() {
- }
-
- public ServiceInfo(ServiceInfo orig) {
- super(orig);
- permission = orig.permission;
- }
-
- public String toString() {
- return "ServiceInfo{"
- + Integer.toHexString(System.identityHashCode(this))
- + " " + name + "}";
- }
-
- public int describeContents() {
- return 0;
- }
-
- public void writeToParcel(Parcel dest, int parcelableFlags) {
- super.writeToParcel(dest, parcelableFlags);
- dest.writeString(permission);
- }
-
- public static final Creator<ServiceInfo> CREATOR =
- new Creator<ServiceInfo>() {
- public ServiceInfo createFromParcel(Parcel source) {
- return new ServiceInfo(source);
- }
- public ServiceInfo[] newArray(int size) {
- return new ServiceInfo[size];
- }
- };
-
- private ServiceInfo(Parcel source) {
- super(source);
- permission = source.readString();
- }
-}