diff options
author | sail <sail@google.com> | 2017-06-27 10:55:49 -0700 |
---|---|---|
committer | Brandon Maxwell <maxwelb@google.com> | 2017-06-30 14:35:27 -0700 |
commit | e85fa664ac1e7394a7e9e5d0c8dc61ba1e33ab1c (patch) | |
tree | 45eca16c212165d1380800f49de0f5bad9329c63 /java/com/android/dialer/phonenumbercache/CallLogQuery.java | |
parent | def8100bfce62eaa16d150430c6f99e6a3d8afa1 (diff) |
Automated g4 rollback of changelist 159993127.
*** Reason for rollback ***
This CL causes a crash when swapping SIMs.
*** Original change description ***
Adding voicemail transcription branding and progress UI
screen shot showing branding (its harder to capture the progress UI):
https://drive.google.com/open?id=0B9o_KvtLkcuIdkkycVo1RFhsaENYV3J2Yi1LWnJzR0FfSHJR
***
Bug: 63059930
Test: N/A
PiperOrigin-RevId: 160296762
Change-Id: Ib8d709d03d6d8a3fee4a0c384c15df00f55cb182
Diffstat (limited to 'java/com/android/dialer/phonenumbercache/CallLogQuery.java')
-rw-r--r-- | java/com/android/dialer/phonenumbercache/CallLogQuery.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/java/com/android/dialer/phonenumbercache/CallLogQuery.java b/java/com/android/dialer/phonenumbercache/CallLogQuery.java index 2ebc302cf..6d4756927 100644 --- a/java/com/android/dialer/phonenumbercache/CallLogQuery.java +++ b/java/com/android/dialer/phonenumbercache/CallLogQuery.java @@ -60,9 +60,6 @@ public final class CallLogQuery { @RequiresApi(VERSION_CODES.N) public static final int VIA_NUMBER = 25; - @RequiresApi(VERSION_CODES.O) - public static final int TRANSCRIPTION_STATE = 26; - private static final String[] PROJECTION_M = new String[] { Calls._ID, // 0 @@ -100,23 +97,8 @@ public final class CallLogQuery { PROJECTION_N = projectionList.toArray(new String[projectionList.size()]); } - private static final String[] PROJECTION_O; - - // TODO(mdooley): remove when this becomes a public api - // Copied from android.provider.CallLog.Calls - private static final String TRANSCRIPTION_STATE_COLUMN = "transcription_state"; - - static { - List<String> projectionList = new ArrayList<>(Arrays.asList(PROJECTION_N)); - projectionList.add(TRANSCRIPTION_STATE_COLUMN); - PROJECTION_O = projectionList.toArray(new String[projectionList.size()]); - } - @NonNull public static String[] getProjection() { - if (VERSION.SDK_INT >= VERSION_CODES.O) { - return PROJECTION_O; - } if (VERSION.SDK_INT >= VERSION_CODES.N) { return PROJECTION_N; } |