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

Commit 2460fff7 authored by Jordan Liu's avatar Jordan Liu Committed by Gerrit Code Review
Browse files

Merge "Support ENVELOPE (EVENT DOWNLOAD - User activity) command"

parents 3506a5b8 06ba716d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ import static com.android.internal.telephony.cat.CatCmdMessage.SetupEventListCon
        .IDLE_SCREEN_AVAILABLE_EVENT;
import static com.android.internal.telephony.cat.CatCmdMessage.SetupEventListConstants
        .LANGUAGE_SELECTION_EVENT;
import static com.android.internal.telephony.cat.CatCmdMessage.SetupEventListConstants
        .USER_ACTIVITY_EVENT;

import android.app.ActivityManagerNative;
import android.app.IActivityManager;
@@ -350,6 +352,7 @@ public class CatService extends Handler implements AppInterface {
                 * Language Selection.  */
                case IDLE_SCREEN_AVAILABLE_EVENT:
                case LANGUAGE_SELECTION_EVENT:
                case USER_ACTIVITY_EVENT:
                    break;
                default:
                    flag = false;
@@ -763,6 +766,8 @@ public class CatService extends Handler implements AppInterface {
                // Language length should be 2 byte
                buf.write(0x02);
                break;
            case USER_ACTIVITY_EVENT:
                break;
            default:
                break;
        }