aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Kalla <mrnaveen@google.com>2017-02-14 14:55:24 -0800
committerNaveen Kalla <mrnaveen@google.com>2017-02-15 19:27:50 +0000
commit0484b738497bf589be6be5acbe7ccd9bb3f72336 (patch)
tree53134865218866e84488c014d8c5ff3b0f7e133a
parent48bc974ef6e593aa15e235050fe29b727349622c (diff)
downloadims-0484b738497bf589be6be5acbe7ccd9bb3f72336.tar.gz
Remove static from the listener.
To support Multi-SIM and multi-IMS stack use cases, we should have multiple instances of ImsManager. And each instance may need a separate isntance of the Listener if it needs to invoke non-static methods or access any fields of the ImsManager. Test: Successful compilation with this change. Change-Id: Idf4de1232ea54fef03a9e4a7ce1d98b8df841291 (cherry picked from commit 196fd3bd575c8e4c5c2466079500c06287ec3e02)
-rw-r--r--src/java/com/android/ims/ImsManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/android/ims/ImsManager.java b/src/java/com/android/ims/ImsManager.java
index a9273760..1e1e28ac 100644
--- a/src/java/com/android/ims/ImsManager.java
+++ b/src/java/com/android/ims/ImsManager.java
@@ -1525,7 +1525,7 @@ public class ImsManager {
/**
* Adapter class for {@link IImsRegistrationListener}.
*/
- private static class ImsRegistrationListenerProxy extends IImsRegistrationListener.Stub {
+ private class ImsRegistrationListenerProxy extends IImsRegistrationListener.Stub {
private int mServiceClass;
private ImsConnectionStateListener mListener;