From 96251f2a4de4c42c1721ea0937d0cb75164d3e6d Mon Sep 17 00:00:00 2001 From: Luca Stefani Date: Fri, 1 May 2020 16:03:52 +0200 Subject: Dialer: Fix proto warning with optmize for lite * option optimize_for = LITE_RUNTIME is ignored in proto 3+ * Instead we should use the java_lite compiler via the LOCAL_PROTOC_OPTIMIZE_TYPE flag which defaults to lite in java projects Test: m Dialer, no warnings Change-Id: I552f5895bbe8192a4ae870bb48e5ef6a9e7e8c78 --- .../contacts/common/widget/select_phone_account_dialog_options.proto | 1 - 1 file changed, 1 deletion(-) (limited to 'java/com/android/contacts/common/widget') diff --git a/java/com/android/contacts/common/widget/select_phone_account_dialog_options.proto b/java/com/android/contacts/common/widget/select_phone_account_dialog_options.proto index cc40c64b4..f96e31f2e 100644 --- a/java/com/android/contacts/common/widget/select_phone_account_dialog_options.proto +++ b/java/com/android/contacts/common/widget/select_phone_account_dialog_options.proto @@ -16,7 +16,6 @@ syntax = "proto2"; option java_package = "com.android.contacts.common.widget"; option java_multiple_files = true; -option optimize_for = LITE_RUNTIME; package com.android.contacts.common.widget; -- cgit v1.2.3