Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36e2bfba authored by Jack Yu's avatar Jack Yu Committed by Jayachandran Chinnakkannu
Browse files

Added debug messages and watchdog

Added debug messages and watchdog to catch
unresponsive data service issue.

Bug: 139076980
Test: Manual
Change-Id: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5
parent 3633c30c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -42,6 +42,8 @@ public class DataServiceCallback {

    private static final String TAG = DataServiceCallback.class.getSimpleName();

    private static final boolean DBG = true;

    /**
     * Result of data requests
     * @hide
@@ -81,6 +83,7 @@ public class DataServiceCallback {
        IDataServiceCallback callback = mCallback.get();
        if (callback != null) {
            try {
                if (DBG) Rlog.d(TAG, "onSetupDataCallComplete");
                callback.onSetupDataCallComplete(result, response);
            } catch (RemoteException e) {
                Rlog.e(TAG, "Failed to onSetupDataCallComplete on the remote");
@@ -98,6 +101,7 @@ public class DataServiceCallback {
        IDataServiceCallback callback = mCallback.get();
        if (callback != null) {
            try {
                if (DBG) Rlog.d(TAG, "onDeactivateDataCallComplete");
                callback.onDeactivateDataCallComplete(result);
            } catch (RemoteException e) {
                Rlog.e(TAG, "Failed to onDeactivateDataCallComplete on the remote");
@@ -169,6 +173,7 @@ public class DataServiceCallback {
        IDataServiceCallback callback = mCallback.get();
        if (callback != null) {
            try {
                if (DBG) Rlog.d(TAG, "onDataCallListChanged");
                callback.onDataCallListChanged(dataCallList);
            } catch (RemoteException e) {
                Rlog.e(TAG, "Failed to onDataCallListChanged on the remote");