From eda5d30035fb24e5260b189bd51115acf8e58b8b Mon Sep 17 00:00:00 2001 From: markchien Date: Wed, 18 Dec 2019 17:47:26 +0800 Subject: [PATCH] Change Tethering package name ".apex" is easy to confuse. Rename as below: apex: com.android.tethering.apex -> com.android.tethering apk: com.android.tethering -> com.android.networkstack.tethering Bug: 146471733 Test: build Change-Id: I2c7647abb996539a3af6cfe0e0214a5e8927c0d6 --- Tethering/AndroidManifest.xml | 2 +- Tethering/AndroidManifestBase.xml | 2 +- Tethering/AndroidManifest_InProcess.xml | 2 +- Tethering/apex/Android.bp | 14 ++--- Tethering/apex/AndroidManifest.xml | 2 +- .../apex/com.android.tethering.apex.avbpubkey | Bin 1032 -> 0 bytes Tethering/apex/com.android.tethering.apex.pem | 51 ------------------ Tethering/apex/com.android.tethering.apex.pk8 | Bin 2375 -> 0 bytes .../apex/com.android.tethering.apex.x509.pem | 36 ------------- .../apex/com.android.tethering.avbpubkey | Bin 0 -> 1032 bytes Tethering/apex/com.android.tethering.pem | 51 ++++++++++++++++++ Tethering/apex/com.android.tethering.pk8 | Bin 0 -> 2375 bytes Tethering/apex/com.android.tethering.x509.pem | 35 ++++++++++++ Tethering/apex/manifest.json | 2 +- .../connectivity/tethering/Tethering.java | 2 +- Tethering/tests/unit/AndroidManifest.xml | 4 +- 16 files changed, 101 insertions(+), 102 deletions(-) delete mode 100644 Tethering/apex/com.android.tethering.apex.avbpubkey delete mode 100644 Tethering/apex/com.android.tethering.apex.pem delete mode 100644 Tethering/apex/com.android.tethering.apex.pk8 delete mode 100644 Tethering/apex/com.android.tethering.apex.x509.pem create mode 100644 Tethering/apex/com.android.tethering.avbpubkey create mode 100644 Tethering/apex/com.android.tethering.pem create mode 100644 Tethering/apex/com.android.tethering.pk8 create mode 100644 Tethering/apex/com.android.tethering.x509.pem diff --git a/Tethering/AndroidManifest.xml b/Tethering/AndroidManifest.xml index 1430ed00aa..8ba05df99e 100644 --- a/Tethering/AndroidManifest.xml +++ b/Tethering/AndroidManifest.xml @@ -17,7 +17,7 @@ */ --> diff --git a/Tethering/AndroidManifestBase.xml b/Tethering/AndroidManifestBase.xml index dc013da338..fa85f66489 100644 --- a/Tethering/AndroidManifestBase.xml +++ b/Tethering/AndroidManifestBase.xml @@ -17,7 +17,7 @@ */ --> diff --git a/Tethering/apex/Android.bp b/Tethering/apex/Android.bp index bca01ebdf8..af6af93650 100644 --- a/Tethering/apex/Android.bp +++ b/Tethering/apex/Android.bp @@ -15,21 +15,21 @@ // apex { - name: "com.android.tethering.apex", + name: "com.android.tethering", apps: ["Tethering"], manifest: "manifest.json", - key: "com.android.tethering.apex.key", + key: "com.android.tethering.key", androidManifest: "AndroidManifest.xml", } apex_key { - name: "com.android.tethering.apex.key", - public_key: "com.android.tethering.apex.avbpubkey", - private_key: "com.android.tethering.apex.pem", + name: "com.android.tethering.key", + public_key: "com.android.tethering.avbpubkey", + private_key: "com.android.tethering.pem", } android_app_certificate { - name: "com.android.tethering.apex.certificate", - certificate: "com.android.tethering.apex", + name: "com.android.tethering.certificate", + certificate: "com.android.tethering", } diff --git a/Tethering/apex/AndroidManifest.xml b/Tethering/apex/AndroidManifest.xml index 7769b799b6..5c35c51dc7 100644 --- a/Tethering/apex/AndroidManifest.xml +++ b/Tethering/apex/AndroidManifest.xml @@ -15,7 +15,7 @@ * limitations under the License. --> + package="com.android.tethering"> + package="com.android.networkstack.tethering.tests.unit">