diff options
author | Ihab Awad <ihab@google.com> | 2015-02-06 10:13:05 -0800 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2015-03-02 11:31:23 -0800 |
commit | 78a5e6b9c1595c81f72d7a822617cb78db224e48 (patch) | |
tree | 744f4c2182dfa0c3662e27a274b1f7652c4d8903 /src/com/android/server/telecom/ServiceBinder.java | |
parent | 479b3025ef8be1a115468fd6c113afa24cca2790 (diff) | |
download | android_packages_services_Telecomm-78a5e6b9c1595c81f72d7a822617cb78db224e48.tar.gz android_packages_services_Telecomm-78a5e6b9c1595c81f72d7a822617cb78db224e48.tar.bz2 android_packages_services_Telecomm-78a5e6b9c1595c81f72d7a822617cb78db224e48.zip |
Refactoring for testability
Refactor to a single app singleton, TelecomSystem, which owns the
intialization of the rest of the app.
Change-Id: I3036f200b56f710e7f830b469260a67145c327e7
Diffstat (limited to 'src/com/android/server/telecom/ServiceBinder.java')
-rw-r--r-- | src/com/android/server/telecom/ServiceBinder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/server/telecom/ServiceBinder.java b/src/com/android/server/telecom/ServiceBinder.java index 9a5ad032..8baf3ecd 100644 --- a/src/com/android/server/telecom/ServiceBinder.java +++ b/src/com/android/server/telecom/ServiceBinder.java @@ -38,7 +38,7 @@ import java.util.concurrent.ConcurrentHashMap; * Subclasses supply the service intent and component name and this class will invoke protected * methods when the class is bound, unbound, or upon failure. */ -abstract class ServiceBinder<ServiceInterface extends IInterface> { +abstract class ServiceBinder { /** * Callback to notify after a binding succeeds or fails. @@ -51,7 +51,7 @@ abstract class ServiceBinder<ServiceInterface extends IInterface> { /** * Listener for bind events on ServiceBinder. */ - interface Listener<ServiceBinderClass extends ServiceBinder<?>> { + interface Listener<ServiceBinderClass extends ServiceBinder> { void onUnbind(ServiceBinderClass serviceBinder); } |