diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-09-07 00:49:58 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-09-07 22:48:02 -0700 |
commit | eb034652c2037a47ebfd99779e8383bb8bb528af (patch) | |
tree | 0d4f6d9b752d6be70083cdf51085872e52610c3b /core/java/android/content/pm/ServiceInfo.java | |
parent | 9c93007bcdf684cd15fd9db0cf1eae238dd38191 (diff) | |
download | frameworks_base-eb034652c2037a47ebfd99779e8383bb8bb528af.zip frameworks_base-eb034652c2037a47ebfd99779e8383bb8bb528af.tar.gz frameworks_base-eb034652c2037a47ebfd99779e8383bb8bb528af.tar.bz2 |
Implement all of the infrastructure for configuring wallpapers.
Actually being able to configure a wallpaper relies on additional
work in the launcher and wallpapers that will be in another change.
Also note that this breaks all existing wallpapers, since they now
need to include a meta-data item about themselves. This also
will be fixed in another change.
Change-Id: I97d2c2bd07237abc32f92b9147c32530a2f73c71
Diffstat (limited to 'core/java/android/content/pm/ServiceInfo.java')
-rw-r--r-- | core/java/android/content/pm/ServiceInfo.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/content/pm/ServiceInfo.java b/core/java/android/content/pm/ServiceInfo.java index b60650c..51d2a4d 100644 --- a/core/java/android/content/pm/ServiceInfo.java +++ b/core/java/android/content/pm/ServiceInfo.java @@ -2,6 +2,7 @@ package android.content.pm; import android.os.Parcel; import android.os.Parcelable; +import android.util.Printer; /** * Information you can retrieve about a particular application @@ -24,6 +25,11 @@ public class ServiceInfo extends ComponentInfo permission = orig.permission; } + public void dump(Printer pw, String prefix) { + super.dumpFront(pw, prefix); + pw.println(prefix + "permission=" + permission); + } + public String toString() { return "ServiceInfo{" + Integer.toHexString(System.identityHashCode(this)) |