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

Commit 503be61a authored by markchien's avatar markchien
Browse files

Change tethering file structure to respect its package name

Bug: 145099347
Test: atest TetheringTests
      atest CtsTetheringTest
Change-Id: I7401c550fbafd17a5ed2d925b5d0e17e358af467
Merged-In: I7401c550fbafd17a5ed2d925b5d0e17e358af467
parent 35f960df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@
        android:process="com.android.networkstack.process"
        android:extractNativeLibs="false"
        android:persistent="true">
        <service android:name="com.android.server.connectivity.tethering.TetheringService"
        <service android:name="com.android.networkstack.tethering.TetheringService"
                 android:permission="android.permission.MAINLINE_NETWORK_STACK"
                 android:exported="true">
            <intent-filter>
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
          android:process="system">
    <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29" />
    <application>
        <service android:name="com.android.server.connectivity.tethering.TetheringService"
        <service android:name="com.android.networkstack.tethering.TetheringService"
                 android:process="system"
                 android:permission="android.permission.MAINLINE_NETWORK_STACK"
                 android:exported="true">
+1 −1
Original line number Diff line number Diff line
# Keep class's integer static field for MessageUtils to parsing their name.
-keep class com.android.server.connectivity.tethering.Tethering$TetherMasterSM {
-keep class com.android.networkstack.tethering.Tethering$TetherMasterSM {
    static final int CMD_*;
    static final int EVENT_*;
}
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@
                        TYPE_MOBILE_HIPRI is appended.

         For other changes applied to this list, now and in the future, see
         com.android.server.connectivity.tethering.TetheringConfiguration.
         com.android.networkstack.tethering.TetheringConfiguration.

         Note also: the order of this is important. The first upstream type
         for which a satisfying network exists is used.
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.server.connectivity.tethering;
package com.android.networkstack.tethering;

import static android.net.TetheringManager.TETHERING_WIFI;

Loading