cellbroadcast API cleanup
1. define SmsCbConstants inside cellbroadcastService
2. define a filegroup for smsCbConstants to share with
cellbroadcastReceiver
3. TODO delete SmsCbConstants defined in telephony--common
4. delete unused static lib
Bug: 135956699
Test: Build
Change-Id: I9ca0c466b356c307c0c844d6ddec7d2951295f8a
diff --git a/Android.bp b/Android.bp
index cbd991a..bef85be 100644
--- a/Android.bp
+++ b/Android.bp
@@ -11,15 +11,14 @@
certificate: "platform",
privileged: true,
resource_dirs: ["res"],
- static_libs: [
- "androidx.legacy_legacy-support-v4",
- "androidx.legacy_legacy-support-v13",
- "androidx.recyclerview_recyclerview",
- "androidx.preference_preference",
- "androidx.appcompat_appcompat",
- "androidx.legacy_legacy-preference-v14",
- ],
optimize: {
proguard_flags_files: ["proguard.flags"],
},
}
+
+filegroup {
+ name: "cellbroadcast-constants-shared-srcs",
+ srcs: [
+ "src/com/android/cellbroadcastservice/SmsCbConstants.java",
+ ],
+}
\ No newline at end of file