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

Commit d02ab069 authored by Jack Yu's avatar Jack Yu Committed by android-build-merger
Browse files

Merge "Added debug messages and watchdog" into qt-r1-dev am: 24397e7a

am: f14bf1ee

Change-Id: Ibdc7f8e6c694931731069e08e5d725f28af87e2a
parents 03d83884 f14bf1ee
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -42,6 +42,8 @@ public class DataServiceCallback {


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


    private static final boolean DBG = true;

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