From 2d6bc36921c4a41b17bc1870c133ee42f1388b51 Mon Sep 17 00:00:00 2001 From: Eric Erfanian Date: Mon, 19 Jun 2017 17:28:33 -0700 Subject: Add "Simulator" for Enriched Calling An annoying part of development on enriched calling is that it was difficult to determine what sessions were in memory. We have a number of bugs related to incorrect sessions being shown, and knowing exactly what sessions are available in memory can help debug them. This CL adds a "Simulator" for enriched calling. This is more of a debug tool than a simulator since it doesn't yet support adding a new enriched calling session. To allow the simulator to view all of the sessions in memory, a new EnrichedCallManager API was introduced: getAllSessionsView. This API was designed in a way to prevent abuse, so it returns a list of string representations of the sessions. Just returning the full list of sessions would have allowed clients to bypass the getSession logic and examine sessions that shouldn't be available. Also in this change: * Integrate changes to form a base for future copybara imports. Test: TH PiperOrigin-RevId: 159445010 Change-Id: Ie8fc35d817a4e3b0eac37e0c34a6592060c43b23 --- .../app/res/drawable-hdpi/ic_dialer_fork_add_call.png | Bin .../app/res/drawable-hdpi/ic_dialer_fork_current_call.png | Bin .../app/res/drawable-hdpi/ic_dialer_fork_tt_keypad.png | Bin 3 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 java/com/android/dialer/app/res/drawable-hdpi/ic_dialer_fork_add_call.png mode change 100644 => 100755 java/com/android/dialer/app/res/drawable-hdpi/ic_dialer_fork_current_call.png mode change 100644 => 100755 java/com/android/dialer/app/res/drawable-hdpi/ic_dialer_fork_tt_keypad.png (limited to 'java/com/android/dialer/app') diff --git a/java/com/android/dialer/app/res/drawable-hdpi/ic_dialer_fork_add_call.png b/java/com/android/dialer/app/res/drawable-hdpi/ic_dialer_fork_add_call.png old mode 100644 new mode 100755 diff --git a/java/com/android/dialer/app/res/drawable-hdpi/ic_dialer_fork_current_call.png b/java/com/android/dialer/app/res/drawable-hdpi/ic_dialer_fork_current_call.png old mode 100644 new mode 100755 diff --git a/java/com/android/dialer/app/res/drawable-hdpi/ic_dialer_fork_tt_keypad.png b/java/com/android/dialer/app/res/drawable-hdpi/ic_dialer_fork_tt_keypad.png old mode 100644 new mode 100755 -- cgit v1.2.3