Create an utils for embedding activity feature
This is an utility class to access relevant embedding activity feature
supported by Settings.
Bug: 201722672
Test: manual test
1) Run the apk built with this utils, and check some features work well
on large screen
Change-Id: I9f2a1fff57632ca2841b61a862f107d7df735247
diff --git a/packages/SettingsLib/ActivityEmbedding/Android.bp b/packages/SettingsLib/ActivityEmbedding/Android.bp
new file mode 100644
index 0000000..fc82b79
--- /dev/null
+++ b/packages/SettingsLib/ActivityEmbedding/Android.bp
@@ -0,0 +1,21 @@
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "frameworks_base_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["frameworks_base_license"],
+}
+
+android_library {
+ name: "SettingsLibActivityEmbedding",
+
+ srcs: ["src/**/*.java"],
+
+ static_libs: [
+ "androidx.annotation_annotation",
+ "SettingsLibUtils",
+ ],
+ sdk_version: "system_current",
+ min_sdk_version: "21",
+}