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

Commit 5b8bab91 authored by Jack Yu's avatar Jack Yu
Browse files

Partially revert ag/17450859

Since the server side change cl/437846745 and
cl/438092010 were merged, the test-only attribute can be
added into the test package, rather than using the platform
certificate to bypass Settings provider @Readble check.

Bug: 227000266
Test: atest FrameworksTelephonyTests
Change-Id: I8926175931cf7a764e1564215ccf64170092ab43
parent 590ca742
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@ android_test {
    name: "FrameworksTelephonyTests",
    // For access hidden connectivity methods in tests
    defaults: ["framework-connectivity-test-defaults"],
    certificate: "platform",
    srcs: ["**/*.java"],

    libs: [
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
     package="com.android.frameworks.telephonytests">

    <application android:name="com.android.internal.telephony.TestApplication"
        android:testOnly="true"
        android:largeHeap="true">
        <uses-library android:name="android.test.runner"/>
        <activity android:label="TelephonyTest"
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
<configuration description="Runs Frameworks Telephony Tests.">
    <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup">
        <option name="test-file-name" value="FrameworksTelephonyTests.apk" />
        <option name="install-arg" value="-t" />
    </target_preparer>

    <option name="test-suite-tag" value="apct" />