diff --git a/.gitignore b/.gitignore index 694b40c7ef..85bd93af17 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ gradle/ build/ gradlew* .DS_Store +.settings diff --git a/Android.bp b/Android.bp index 0bbb3d2c1e..3fb98e98b7 100644 --- a/Android.bp +++ b/Android.bp @@ -136,6 +136,13 @@ java_library { min_sdk_version: min_launcher3_sdk_version, } +java_import { + name: "libGoogleFeed", + jars: [ + "libs/libGoogleFeed.jar", + ], +} + // Library with all the dependencies for building Launcher3 android_library { name: "Launcher3ResLib", @@ -153,7 +160,10 @@ android_library { "androidx.cardview_cardview", "com.google.android.material_material", "iconloader_base", - "view_capture" + "view_capture", + "libGoogleFeed", + "SettingsLib", + "monet", ], manifest: "AndroidManifest-common.xml", sdk_version: "current", @@ -212,7 +222,10 @@ android_app { "Home", "Launcher2", ], - required: ["privapp_whitelist_com.android.launcher3"], + required: [ + "privapp_whitelist_com.android.launcher3", + "privapp_whitelist_bianca_launcher3.xml", + ], jacoco: { include_filter: ["com.android.launcher3.**"], @@ -341,7 +354,10 @@ android_app { "Launcher3", "Launcher3QuickStep", ], - required: ["privapp_whitelist_com.android.launcher3"], + required: [ + "privapp_whitelist_com.android.launcher3", + "privapp_whitelist_bianca_launcher3.xml", + ], additional_manifests: [ "AndroidManifest.xml", @@ -367,6 +383,7 @@ android_app { platform_apis: true, min_sdk_version: "current", target_sdk_version: "current", + certificate: "platform", privileged: true, system_ext_specific: true, @@ -375,7 +392,10 @@ android_app { "Launcher2", "Launcher3", ], - required: ["privapp_whitelist_com.android.launcher3"], + required: [ + "privapp_whitelist_com.android.launcher3", + "privapp_whitelist_bianca_launcher3.xml", + ], resource_dirs: ["quickstep/res"], @@ -426,7 +446,10 @@ android_app { "Launcher3", "Launcher3QuickStep", ], - required: ["privapp_whitelist_com.android.launcher3"], + required: [ + "privapp_whitelist_com.android.launcher3", + "privapp_whitelist_bianca_launcher3.xml", + ], additional_manifests: [ "go/AndroidManifest.xml", @@ -441,3 +464,9 @@ android_app { } +prebuilt_etc { + name: "privapp_whitelist_bianca_launcher3.xml", + src: "privapp_whitelist_bianca_launcher3.xml", + system_ext_specific: true, + sub_dir: "permissions", +} diff --git a/AndroidManifest-common.xml b/AndroidManifest-common.xml index 951be4e54e..da175b4632 100644 --- a/AndroidManifest-common.xml +++ b/AndroidManifest-common.xml @@ -31,6 +31,8 @@ with some minor changed based on the derivative app. --> + + @@ -41,10 +43,14 @@ + + + + + + + diff --git a/go/AndroidManifest-launcher.xml b/go/AndroidManifest-launcher.xml index 2223036a7a..c7562f114e 100644 --- a/go/AndroidManifest-launcher.xml +++ b/go/AndroidManifest-launcher.xml @@ -65,6 +65,9 @@ + diff --git a/libs/libGoogleFeed.jar b/libs/libGoogleFeed.jar new file mode 100644 index 0000000000..158b76de40 Binary files /dev/null and b/libs/libGoogleFeed.jar differ diff --git a/privapp_whitelist_bianca_launcher3.xml b/privapp_whitelist_bianca_launcher3.xml new file mode 100644 index 0000000000..ba828e69f7 --- /dev/null +++ b/privapp_whitelist_bianca_launcher3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/quickstep/AndroidManifest-launcher.xml b/quickstep/AndroidManifest-launcher.xml index 7d7054f5a5..86cbe4dbaa 100644 --- a/quickstep/AndroidManifest-launcher.xml +++ b/quickstep/AndroidManifest-launcher.xml @@ -43,7 +43,7 @@ attributes and intent filters the same --> + diff --git a/quickstep/res/drawable/ic_clear_all.xml b/quickstep/res/drawable/ic_clear_all.xml new file mode 100644 index 0000000000..00e8fd42a3 --- /dev/null +++ b/quickstep/res/drawable/ic_clear_all.xml @@ -0,0 +1,19 @@ + + + + + \ No newline at end of file diff --git a/quickstep/res/drawable/ic_kill_app.xml b/quickstep/res/drawable/ic_kill_app.xml new file mode 100644 index 0000000000..bb7036a6ac --- /dev/null +++ b/quickstep/res/drawable/ic_kill_app.xml @@ -0,0 +1,29 @@ + + + + + + diff --git a/quickstep/res/drawable/ic_lens.xml b/quickstep/res/drawable/ic_lens.xml new file mode 100644 index 0000000000..e372e83526 --- /dev/null +++ b/quickstep/res/drawable/ic_lens.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/quickstep/res/drawable/task_menu_item_bg.xml b/quickstep/res/drawable/task_menu_item_bg.xml index 16c13ebebc..bd863f2bc4 100644 --- a/quickstep/res/drawable/task_menu_item_bg.xml +++ b/quickstep/res/drawable/task_menu_item_bg.xml @@ -15,8 +15,13 @@ limitations under the License. --> - - - - + + + + + + + + diff --git a/quickstep/res/layout/overview_actions_container.xml b/quickstep/res/layout/overview_actions_container.xml index 0fda0bf8d4..43b065442a 100644 --- a/quickstep/res/layout/overview_actions_container.xml +++ b/quickstep/res/layout/overview_actions_container.xml @@ -27,6 +27,7 @@ android:orientation="horizontal"> @@ -40,6 +41,37 @@ android:text="@string/action_screenshot" android:theme="@style/ThemeControlHighlightWorkspaceColor" /> + + +