今天遇到下面的错误 发现需要加入overlay的路径
加入/vendor/partner_gms/apps/GoogleDialer/overlay/vendor/mediatek/proprietary/packages/services/Telecomm/res/values/config.xml
具体可以看引用的文章
-------------
下面这个例子是在"vendor/google"路径中实现了对Telecom.apk资源配置的overlay。这个overlay会影响到incall-ui以及拨号盘的使用。
具体路径:“vendor/google/apps/GoogleDialer/overlay/packages/services/Telecomm/res/values/config.xml”
config.xml的内容如下:
1
2
3
4
5
6
7
8
9
10
11
下面是make文件的内容:
# Overlay for GoogleDialer
PRODUCT_PACKAGE_OVERLAYS += $(ANDROID_PARTNER_GMS_HOME)/apps/GoogleDialer/overlay
-----------------
android.telecom.cts.ConnectionServiceTest#testConnectionServiceFocusGainedWithSameConnectionService | fail |
java.util.ConcurrentModificationException |
android.telecom.cts.ConnectionServiceTest#testGetAllConnections | fail |
java.lang.Exception: Mock ConnectionService exists. Failed to call tearDown(). |
android.telecom.cts.ExtendedInCallServiceTest#testAcceptRingingCallTwoCallsCarMode | fail |
junit.framework.AssertionFailedError: MockInCallService not yet unbound! expected: |
android.telecom.cts.ExtendedInCallServiceTest#testCanAddCall_CannotAddForExistingDialingCall | fail |
junit.framework.AssertionFailedError: MockInCallService not yet unbound! expected: |
android.telecom.cts.ExtendedInCallServiceTest#testIncomingCallFromBlockedNumber_IsRejected | fail |
junit.framework.AssertionFailedError: MockInCallService not yet unbound! expected: |
android.telecom.cts.ExtendedInCallServiceTest#testSwitchAudioRoutes | fail |
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 |
android.telecom.cts.MissedCallTest#testMissedCall_NotifyDialer | fail |
java.lang.Exception: Mock ConnectionService exists. Failed to call tearDown(). |
android.telecom.cts.NumberDialingTest#testEndInPound | fail |
junit.framework.AssertionFailedError: MockInCallService not yet unbound! expected: |
android.telecom.cts.SelfManagedConnectionServiceTest#testAudioRoute | fail |
java.lang.ArrayIndexOutOfBoundsException: length=10; index=-1 |
android.telecom.cts.SelfManagedConnectionServiceTest#testTelecomManagerGetSelfManagedPhoneAccounts | fail |
junit.framework.AssertionFailedError: MockInCallService not yet unbound! expected:
|