Pavlin Radoslavov

Enabled the capturing of WITHDRAW_REQ intent events in the intent-metrics

application.

Change-Id: Ic14066cdb0a4f3e5d03f52adb29e4ab32f569a40
...@@ -143,11 +143,9 @@ public class IntentMetrics implements IntentMetricsService, ...@@ -143,11 +143,9 @@ public class IntentMetrics implements IntentMetricsService,
143 case FAILED: 143 case FAILED:
144 // TODO: Just ignore? 144 // TODO: Just ignore?
145 break; 145 break;
146 - /* 146 + case WITHDRAW_REQ:
147 - case WITHDRAW_REQUESTED:
148 intentWithdrawRequestedEventMetric.eventReceived(); 147 intentWithdrawRequestedEventMetric.eventReceived();
149 break; 148 break;
150 - */
151 case WITHDRAWN: 149 case WITHDRAWN:
152 intentWithdrawnEventMetric.eventReceived(); 150 intentWithdrawnEventMetric.eventReceived();
153 break; 151 break;
......
...@@ -45,11 +45,9 @@ public interface IntentMetricsService { ...@@ -45,11 +45,9 @@ public interface IntentMetricsService {
45 public EventMetric intentInstalledEventMetric(); 45 public EventMetric intentInstalledEventMetric();
46 46
47 /** 47 /**
48 - * Gets the Event Metric for the intent WITHDRAW_REQUESTED events. 48 + * Gets the Event Metric for the intent WITHDRAW_REQ events.
49 * 49 *
50 - * TODO: This intent event is not implemented yet. 50 + * @return the Event Metric for the intent WITHDRAW_REQ events.
51 - *
52 - * @return the Event Metric for the intent WITHDRAW_REQUESTED events.
53 */ 51 */
54 public EventMetric intentWithdrawRequestedEventMetric(); 52 public EventMetric intentWithdrawRequestedEventMetric();
55 53
......