summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Remi NGUYEN VAN <reminv@google.com> 2022-01-31 04:25:49 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-01-31 04:25:49 +0000
commitc6dc74ed9f510840189c0dc8b85306cf757b798d (patch)
tree3f790104053bb6b85246ad5e6e86846e9d3b03c4
parent5f73621d01fac6c6482afe216dcda30f31c21afe (diff)
parent0b692d5b50434fbea095307434209e5faa06fcdf (diff)
Merge changes from topic "nearby_tethering_apex"
* changes: Remove nearby API surface Revert "Start NearbyService when system server starts."
-rw-r--r--Android.bp1
-rw-r--r--api/Android.bp1
-rw-r--r--boot/Android.bp4
-rw-r--r--services/java/com/android/server/SystemServer.java14
4 files changed, 0 insertions, 20 deletions
diff --git a/Android.bp b/Android.bp
index 838f304b2e8e..e03f8449891a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -169,7 +169,6 @@ java_library_with_nonpublic_deps {
"framework-statsd.impl",
"framework-supplementalprocess.impl",
"framework-tethering.impl",
- "framework-nearby.impl",
"framework-uwb.impl",
"framework-wifi.impl",
"updatable-media",
diff --git a/api/Android.bp b/api/Android.bp
index 3075d385f1ca..d57f5dbdf948 100644
--- a/api/Android.bp
+++ b/api/Android.bp
@@ -116,7 +116,6 @@ combined_apis {
"framework-graphics",
"framework-media",
"framework-mediaprovider",
- "framework-nearby",
"framework-permission",
"framework-permission-s",
"framework-scheduling",
diff --git a/boot/Android.bp b/boot/Android.bp
index 8958d70f63cf..55ffe7c3dda3 100644
--- a/boot/Android.bp
+++ b/boot/Android.bp
@@ -80,10 +80,6 @@ platform_bootclasspath {
module: "com.android.mediaprovider-bootclasspath-fragment",
},
{
- apex: "com.android.nearby",
- module: "com.android.nearby-bootclasspath-fragment",
- },
- {
apex: "com.android.os.statsd",
module: "com.android.os.statsd-bootclasspath-fragment",
},
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index 74e04ed6e58b..aad1bf8ab7c3 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -265,8 +265,6 @@ public final class SystemServer implements Dumpable {
"/apex/com.android.os.statsd/javalib/service-statsd.jar";
private static final String CONNECTIVITY_SERVICE_APEX_PATH =
"/apex/com.android.tethering/javalib/service-connectivity.jar";
- private static final String NEARBY_SERVICE_APEX_PATH =
- "/apex/com.android.nearby/javalib/service-nearby.jar";
private static final String STATS_COMPANION_LIFECYCLE_CLASS =
"com.android.server.stats.StatsCompanion$Lifecycle";
private static final String STATS_PULL_ATOM_SERVICE_CLASS =
@@ -277,8 +275,6 @@ public final class SystemServer implements Dumpable {
"com.android.server.usb.UsbService$Lifecycle";
private static final String MIDI_SERVICE_CLASS =
"com.android.server.midi.MidiService$Lifecycle";
- private static final String NEARBY_SERVICE_CLASS =
- "com.android.server.nearby.NearbyService";
private static final String WIFI_APEX_SERVICE_JAR_PATH =
"/apex/com.android.wifi/javalib/service-wifi.jar";
private static final String WIFI_SERVICE_CLASS =
@@ -2000,16 +1996,6 @@ public final class SystemServer implements Dumpable {
}
t.traceEnd();
- // Start Nearby Service.
- t.traceBegin("StartNearbyService");
- try {
- mSystemServiceManager.startServiceFromJar(NEARBY_SERVICE_CLASS,
- NEARBY_SERVICE_APEX_PATH);
- } catch (Throwable e) {
- reportWtf("starting NearbyService", e);
- }
- t.traceEnd();
-
t.traceBegin("StartConnectivityService");
// This has to be called after NetworkManagementService, NetworkStatsService
// and NetworkPolicyManager because ConnectivityService needs to take these