Implement RemoteVvmTaskService
RemoteVvmTaskService manages the connection to the
VisualVoicemailService in the default dialer, notifying it service
connected, incoming VVM SMS and SIM removed events. It will held
resources for the dialer until it is signaled all events has been
processed.
Test: CTS / CTS verifier test
Change-Id: I713ace11c526a5ed838b6a85932c2588649cc14e
diff --git a/src/com/android/phone/Assert.java b/src/com/android/phone/Assert.java
index 143e66f..37ccda8 100644
--- a/src/com/android/phone/Assert.java
+++ b/src/com/android/phone/Assert.java
@@ -49,7 +49,11 @@
}
public static void fail() {
- throw new AssertionError("Fail");
+ fail("Fail");
+ }
+
+ public static void fail(String reason) {
+ throw new AssertionError(reason);
}
/**