Commit 1cefb2d6 by lihuaikun

fix

parent 89ace990
<<<<<<< HEAD
#Thu May 07 10:42:38 CST 2020
D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\src\\main\\res\\raw\\downgrade_schema.json=D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\build\\intermediates\\packaged_res\\debug\\raw\\downgrade_schema.json
D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\src\\main\\res\\drawable\\ic_all_apps_bg_icon_2.xml=D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\build\\intermediates\\packaged_res\\debug\\drawable\\ic_all_apps_bg_icon_2.xml
......@@ -210,3 +211,217 @@ D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\src\\main\\res\\drawable\
D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\src\\main\\res\\mipmap-xxhdpi\\ic_launcher_home.png=D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\build\\intermediates\\packaged_res\\debug\\mipmap-xxhdpi-v4\\ic_launcher_home.png
D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\src\\main\\res\\layout\\qsb_default_view.xml=D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\build\\intermediates\\packaged_res\\debug\\layout\\qsb_default_view.xml
D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\src\\main\\res\\animator\\discovery_bounce.xml=D\:\\Android\\dankeProject\\qizi\\launcher\\Launcher3\\build\\intermediates\\packaged_res\\debug\\animator\\discovery_bounce.xml
=======
#Thu May 07 10:21:28 CST 2020
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/search_container_all_apps.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/search_container_all_apps.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/appwidget_error.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/appwidget_error.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_allapps_pressed.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_allapps_pressed.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/scrim_view.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/scrim_view.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/widgets_bottom_sheet.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/widgets_bottom_sheet.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/widget_resize_frame.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/widget_resize_frame.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_normal_use_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_normal_use_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/default_workspace_5x6.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/default_workspace_5x6.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/search_container_workspace.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/search_container_workspace.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/notification_gutter.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/notification_gutter.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/workspace_bg.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/workspace_bg.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/bg_all_apps_searchbox.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/bg_all_apps_searchbox.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_game_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_game_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/widgets_list_row_view.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/widgets_list_row_view.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_normal_use_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_normal_use_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/bg_celllayout.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/bg_celllayout.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/mipmap-xxhdpi/ic_launcher_home.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/mipmap-xxhdpi-v4/ic_launcher_home.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_uninstall_no_shadow.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_uninstall_no_shadow.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/raw/downgrade_schema.json=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/raw/downgrade_schema.json
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_allapps.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_allapps.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_normal_use_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_normal_use_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/interpolator/decelerate_quart.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/interpolator/decelerate_quart.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/device_profiles.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/device_profiles.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_instant_app_badge.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_instant_app_badge.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/user_folder_icon_normalized.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/user_folder_icon_normalized.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/folder_page.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/folder_page.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/workspace_bg.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/workspace_bg.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_launcher_home.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_launcher_home.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/work_tab_user_education.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/work_tab_user_education.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/dw_phone_hotseat.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/dw_phone_hotseat.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_warning.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_warning.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/activity_help.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/activity_help.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/animator/all_apps_fastscroll_icon_anim.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/animator/all_apps_fastscroll_icon_anim.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/interpolator/folder_interpolator.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/interpolator/folder_interpolator.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_game_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_game_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps_icon.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps_icon.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/all_apps_search_hint.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/all_apps_search_hint.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_back_black.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_back_black.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_rest_mode.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_rest_mode.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/animator/overview_button_anim.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/animator/overview_button_anim.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/workspace_screen.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/workspace_screen.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/custom_widgets.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/custom_widgets.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/animator/discovery_bounce.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/animator/discovery_bounce.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_all_apps_bg_icon_1.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_all_apps_bg_icon_1.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/drop_target_tool_tip.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/drop_target_tool_tip.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_rest_mode.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_rest_mode.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/work_tab_user_education.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/work_tab_user_education.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/mipmap-mdpi/ic_launcher_home_foreground.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/mipmap-mdpi-v4/ic_launcher_home_foreground.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/longpress_options_menu.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/longpress_options_menu.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/widget_resize_shadow.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/widget_resize_shadow.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_call_phone.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_call_phone.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/launcher.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/launcher.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_wallpaper.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_wallpaper.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/layout_lock_screen_normal_mode.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/layout_lock_screen_normal_mode.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/notification_content.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/notification_content.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_fore_lock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_fore_lock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_message.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_message.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/color-v24/all_apps_bg_hand_fill_dark.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/color-v24/all_apps_bg_hand_fill_dark.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/app_icon.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/app_icon.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_allapps_pressed.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_allapps_pressed.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_rest_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_rest_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/app_widget_resize_frame.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/app_widget_resize_frame.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_allapps_pressed.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_allapps_pressed.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/toast_gen_layout.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/toast_gen_layout.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_call_phone.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_call_phone.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/widgets_full_sheet.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/widgets_full_sheet.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/widget_list_divider.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/widget_list_divider.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/default_workspace_5x5.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/default_workspace_5x5.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_swipe_up_unlock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_swipe_up_unlock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_widget_resize_handle.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_widget_resize_handle.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_camera.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_camera.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/widget_resize_frame.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/widget_resize_frame.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/dialog_app_tips.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/dialog_app_tips.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/work_tab_user_education.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/work_tab_user_education.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/all_apps_divider.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/all_apps_divider.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_allapps_pressed.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_allapps_pressed.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_all_apps_bg_icon_4.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_all_apps_bg_icon_4.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/workspace_bg.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/workspace_bg.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/pending_widget_bg.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/pending_widget_bg.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/widget_resize_shadow.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/widget_resize_shadow.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/horizontal_ellipsis.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/horizontal_ellipsis.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/launcher_preferences.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/launcher_preferences.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/system_shortcut_icons.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/system_shortcut_icons.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_rest_mode.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_rest_mode.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_normal_use_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_normal_use_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/widget_resize_shadow.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/widget_resize_shadow.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/shape_dialog_back.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/shape_dialog_back.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/interpolator/large_folder_preview_item_close_interpolator.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/interpolator/large_folder_preview_item_close_interpolator.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps_rv_layout.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps_rv_layout.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_message.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_message.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_game_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_game_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_allapps_search.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_allapps_search.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_camera.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_camera.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/mipmap-xhdpi/ic_launcher_home.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/mipmap-xhdpi-v4/ic_launcher_home.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/mipmap-hdpi/ic_launcher_home_foreground.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/mipmap-hdpi-v4/ic_launcher_home_foreground.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/widget_resize_frame.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/widget_resize_frame.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/widget_resize_shadow.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/widget_resize_shadow.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/popup_container.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/popup_container.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/work_tab_user_education.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/work_tab_user_education.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/widget_cell.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/widget_cell.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_rest_mode.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_rest_mode.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/folder_icon.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/folder_icon.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/widget_internal_focus_bg.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/widget_internal_focus_bg.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_allapps.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_allapps.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_widget.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_widget.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/overview_panel.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/overview_panel.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/anim/task_open_enter.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/anim/task_open_enter.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_swipe_up_unlock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_swipe_up_unlock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-v24/ic_uninstall_shadow.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-v24/ic_uninstall_shadow.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps_button.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps_button.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_message.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_message.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-v26/ic_launcher_home.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-v26/ic_launcher_home.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/widget_resize_shadow.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/widget_resize_shadow.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/mipmap-mdpi/ic_launcher_home.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/mipmap-mdpi-v4/ic_launcher_home.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/notification_pref_warning.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/notification_pref_warning.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_swipe_up_unlock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_swipe_up_unlock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/system_shortcut.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/system_shortcut.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-v24/ic_remove_shadow.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-v24/ic_remove_shadow.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/layout_lock_screen_rest_mode.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/layout_lock_screen_rest_mode.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_close.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_close.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_info_no_shadow.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_info_no_shadow.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_all_apps_bg_icon_3.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_all_apps_bg_icon_3.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_setting.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_setting.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_swipe_up_unlock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_swipe_up_unlock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/drop_target_bar.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/drop_target_bar.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/widget_cell_content.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/widget_cell_content.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_widget_resize_handle.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_widget_resize_handle.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_allapps.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_allapps.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_fore_lock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_fore_lock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/default_workspace_4x4.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/default_workspace_4x4.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/widget_resize_frame.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/widget_resize_frame.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/dw_tablet_hotseat.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/dw_tablet_hotseat.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps_search_market.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps_search_market.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_install_no_shadow.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_install_no_shadow.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/mipmap-hdpi/ic_launcher_home.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/mipmap-hdpi-v4/ic_launcher_home.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/round_rect_primary.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/round_rect_primary.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/bg_notification_content.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/bg_notification_content.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/anim/no_anim.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/anim/no_anim.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/add_item_confirmation_activity.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/add_item_confirmation_activity.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/interpolator/large_folder_preview_item_open_interpolator.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/interpolator/large_folder_preview_item_open_interpolator.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_widget_resize_handle.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_widget_resize_handle.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/work_tab_bottom_user_education_view.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/work_tab_bottom_user_education_view.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_fore_lock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_fore_lock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/mipmap-xhdpi/ic_launcher_home_foreground.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/mipmap-xhdpi-v4/ic_launcher_home_foreground.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/shape_toast_back.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/shape_toast_back.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/top_round_rect_primary.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/top_round_rect_primary.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/hotseat.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/hotseat.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps_fast_scroller.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps_fast_scroller.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps_empty_search.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps_empty_search.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/folder_application.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/folder_application.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_rest_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_rest_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_widget_resize_handle.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_widget_resize_handle.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/activity_lock_screen.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/activity_lock_screen.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_rest_mode.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_rest_mode.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_rest_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_rest_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/all_apps_button_icon.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/all_apps_button_icon.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/layout_lock_screen_app_shortcut.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/layout_lock_screen_app_shortcut.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_camera.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_camera.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/appwidget_not_ready.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/appwidget_not_ready.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_normal_use_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_normal_use_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps_floating_header.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps_floating_header.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/backupscheme.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/backupscheme.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/tooltip_frame.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/tooltip_frame.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/lock_screen_wallpager.webp=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/lock_screen_wallpager.webp
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/system_shortcut_icon_only.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/system_shortcut_icon_only.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/workspace_bg.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/workspace_bg.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/workspace_bg.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/workspace_bg.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/accessibility_service_config.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/accessibility_service_config.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/drag_handle_indicator.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/drag_handle_indicator.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/interpolator/disco_bounce.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/interpolator/disco_bounce.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/color/all_apps_tab_text.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/color/all_apps_tab_text.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_game_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_game_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps_tabs.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps_tabs.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/widgets_scroll_container.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/widgets_scroll_container.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/deep_shortcut.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/deep_shortcut.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_message.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_message.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_fore_lock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_fore_lock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_game_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_game_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_corp.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_corp.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_remove_no_shadow.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_remove_no_shadow.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/all_apps_divider.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/all_apps_divider.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-v26/adaptive_icon_drawable_wrapper.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-v26/adaptive_icon_drawable_wrapper.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-hdpi/ic_call_phone.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-hdpi-v4/ic_call_phone.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/deep_shortcuts_drag_handle.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/deep_shortcuts_drag_handle.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_all_apps_bg_icon_2.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_all_apps_bg_icon_2.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/color-v24/all_apps_bg_hand_fill.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/color-v24/all_apps_bg_hand_fill.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/widget_resize_frame.9.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/widget_resize_frame.9.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_call_phone.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_call_phone.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_call_phone.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_call_phone.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/mipmap-xxhdpi/ic_launcher_home_foreground.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/mipmap-xxhdpi-v4/ic_launcher_home_foreground.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_swipe_up_unlock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_swipe_up_unlock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_widget_resize_handle.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_widget_resize_handle.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_camera.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_camera.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/interpolator/decelerate_quint.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/interpolator/decelerate_quint.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/work_tab_footer.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/work_tab_footer.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_camera.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_camera.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/default_workspace_3x3.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/default_workspace_3x3.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_all_apps_bg_hand.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_all_apps_bg_hand.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/gutter_horizontal.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/gutter_horizontal.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/layout/qsb_default_view.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/layout/qsb_default_view.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-v24/ic_setup_shadow.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-v24/ic_setup_shadow.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxhdpi/ic_allapps.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/ic_allapps.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/xml/device_admin.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/xml/device_admin.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_fore_lock.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_fore_lock.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-mdpi/ic_rest_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-mdpi-v4/ic_rest_time.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/bg_deferred_app_widget.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/bg_deferred_app_widget.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable/ic_suo.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable/ic_suo.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xhdpi/ic_message.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/ic_message.png
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/animator-v23/discovery_bounce.xml=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/animator-v23/discovery_bounce.xml
/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/src/main/res/drawable-xxxhdpi/ic_rest_time.png=/Users/apple/AndroidStudioProjects/dankal_launcher/Launcher3/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/ic_rest_time.png
>>>>>>> 将自启动与电量优化拆分
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -86,13 +86,13 @@ public class ListenerAppService extends Service {
} else if (checkAppRunnable.getStatus() == AsyncTask.Status.PENDING) {
checkAppRunnable.executeOnExecutor(executors);
}
}else {
} else {
checkAppRunnable = new CheckAppAsyncTask(this, getApplicationContext());
checkAppRunnable.executeOnExecutor(executors);
}
// Logger.e(TAG,"POST_RUNNABLE RUN");
}else {
} else {
// Logger.e(TAG,"POST_RUNNABLE notRUN");
}
......@@ -217,21 +217,23 @@ public class ListenerAppService extends Service {
Logger.e(TAG, action);
if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)) {
String reason = intent.getStringExtra(SYSTEM_DIALOG_REASON_KEY);
if (reason != null) {
Logger.e(TAG, action + "\t" + reason);
if (reason.equals(SYSTEM_DIALOG_REASON_HOME_KEY)) {
// "Home键被监听"
if (!LauncherManager.getInstance().isForceLock()) {
LauncherManager.getInstance().backLauncherHome(getApplicationContext());
} else {
if (!LauncherManager.getInstance().getExitState()) {
String reason = intent.getStringExtra(SYSTEM_DIALOG_REASON_KEY);
if (reason != null) {
Logger.e(TAG, action + "\t" + reason);
if (reason.equals(SYSTEM_DIALOG_REASON_HOME_KEY)) {
// "Home键被监听"
if (!LauncherManager.getInstance().isForceLock()) {
LauncherManager.getInstance().backLauncherHome(getApplicationContext());
} else {
// LauncherManager.getInstance().relockScreen();
}
} else if (reason.equals(SYSTEM_DIALOG_REASON_RECENT_APPS)) {
if (!LauncherManager.getInstance().isForceLock()) {
LauncherManager.getInstance().backLauncherHome(getApplicationContext());
} else {
}
} else if (reason.equals(SYSTEM_DIALOG_REASON_RECENT_APPS)) {
if (!LauncherManager.getInstance().isForceLock()) {
LauncherManager.getInstance().backLauncherHome(getApplicationContext());
} else {
// LauncherManager.getInstance().relockScreen();
}
}
}
}
......@@ -239,7 +241,7 @@ public class ListenerAppService extends Service {
active = false;
} else if (Intent.ACTION_USER_PRESENT.equals(action)) {
if (!LauncherManager.getInstance().isForceLock()){
if (!LauncherManager.getInstance().isForceLock()) {
LauncherManager.getInstance().lockScreenNormal(getApplicationContext());
}
......@@ -271,9 +273,12 @@ public class ListenerAppService extends Service {
protected Integer doInBackground(Void... voids) {
Logger.e(TAG,"doInBackground\t");
Logger.e(TAG, "doInBackground\t");
long currentMills = System.currentTimeMillis();
if (LauncherManager.getInstance().getExitState())
return -1;
List<UsageStats> stats = usageStatsManager.queryUsageStats(UsageStatsManager.INTERVAL_BEST, currentMills - TIME, currentMills);
//取得当前在前台的app,即当前运行的app
......@@ -307,9 +312,6 @@ public class ListenerAppService extends Service {
lastUseAppControlTimeStamp = currentMills;
if (topActivity.equals(context.getPackageName()))
return -1;
......
......@@ -94,7 +94,6 @@ public class PermissionOpenAccessiblityService extends AccessibilityService {
@Override
public boolean onUnbind(Intent intent) {
LauncherManager.getInstance().changeExitState(false);
permissionGetter.stop();
return super.onUnbind(intent);
}
......@@ -136,14 +135,12 @@ public class PermissionOpenAccessiblityService extends AccessibilityService {
* 权限完成后的操作 此处无法使用当前的context去startActivity
*/
public void finish() {
// if (){
// }
}
@Override
public void onDestroy() {
LauncherManager.getInstance().changeExitState(false);
permissionGetter.stop();
super.onDestroy();
}
......
......@@ -71,11 +71,11 @@ public class AccessibilityNodeOperateUtil {
if (child == null)
continue;
// Logger.e(TAG, child.getViewIdResourceName() + "\t" + child.getChildCount() + "child child\t" + child.toString());
Logger.e(TAG, child.getViewIdResourceName() + "\t" + child.getChildCount() + "child child\t" + child.toString());
if (child.getContentDescription() != null && child.getContentDescription().toString().equals(text)) {
// Logger.e(TAG, "find equal \t" + child.toString());
Logger.e(TAG, "find equal \t" + child.toString());
return child;
}
......@@ -90,7 +90,7 @@ public class AccessibilityNodeOperateUtil {
}
if (child.getContentDescription().toString().equals(text)) {
// Logger.e(TAG, "find equal \t" + child.toString());
Logger.e(TAG, "find equal \t" + child.toString());
return child;
}
......@@ -113,7 +113,7 @@ public class AccessibilityNodeOperateUtil {
if (childNode.getText() == null)
continue;
if (childNode.getText().toString().equals(text)) {
// Logger.e(TAG, "find equal \t" + childNode.toString());
Logger.e(TAG, "find equal \t" + childNode.toString());
return childNode;
}
}
......
......@@ -2,11 +2,14 @@ package com.android.launcher3.auto_get_permission;
import android.accessibilityservice.AccessibilityService;
import android.content.Context;
import android.content.Intent;
import android.graphics.Rect;
import android.net.Uri;
import android.os.Build;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.provider.Settings;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;
......@@ -21,6 +24,22 @@ import static android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_BA
import static android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_HOME;
public abstract class BaseAutoGetPermission {
// 设备管理器
public static final int STEP_REQUEST_DEVICE_ADMIN = 1;
// 自启动
public static final int STEP_REQUEST_AUTO_STARTUP = 2;
// 忽略电量优化
public static final int STEP_REQUEST_BATTERY_OPTIMIZE = 3;
// 使用记录访问权限
public static final int STEP_REQUEST_APP_USAGE= 4;
// 关闭USB调试
public static final int STEP_REQUEST_CLOSE_USB = 5;
// 通知访问使用权
public static final int STEP_REQUEST_NOTIFICATION_MANAGER= 6;
// 默认桌面
public static final int STEP_REQUEST_DEFAULT_LAUNCHER = 7;
private static final String TAG = "BaseAutoGetPermission";
public static final long MAX_SEARCH_TIME = 4000;
public static final int BREAK_WHILE = 2;
......@@ -72,8 +91,8 @@ public abstract class BaseAutoGetPermission {
}
public void operateAccessibilityEvent(AccessibilityEvent event){
if (step == 1) {
public void operateAccessibilityEvent(AccessibilityEvent event) {
if (step == STEP_REQUEST_DEVICE_ADMIN) {
if (event.getClassName() != null) {
......@@ -99,9 +118,23 @@ public abstract class BaseAutoGetPermission {
}
if (step == 2) {
if (step == STEP_REQUEST_AUTO_STARTUP) {
if (event.getClassName() != null) {
if (event.getSource() == null)
return;
if (PermissionUtil.checkAutoStartUp(getApplicationContext())) {
resetStep();
} else {
reqeustAutoStartUp(event);
}
}
}
if (step == STEP_REQUEST_BATTERY_OPTIMIZE) {
if (event.getClassName() != null) {
if (SystemUtils.isNOKIA() && event.getSource() == null) {
getService().performGlobalAction(GLOBAL_ACTION_HOME);
......@@ -119,7 +152,7 @@ public abstract class BaseAutoGetPermission {
}
}
if (step == 3) {
if (step == STEP_REQUEST_APP_USAGE) {
if (event.getClassName() != null) {
if (event.getSource() != null) {
if (PermissionUtil.checkAppUsagePermission(getApplicationContext())) {
......@@ -131,7 +164,7 @@ public abstract class BaseAutoGetPermission {
}
}
if (step == 4) {
if (step == STEP_REQUEST_CLOSE_USB) {
if (event.getClassName() != null) {
if (event.getSource() == null)
......@@ -143,7 +176,7 @@ public abstract class BaseAutoGetPermission {
}
}
}
if (step == 5) {
if (step == STEP_REQUEST_NOTIFICATION_MANAGER) {
if (event.getClassName() != null) {
if (event.getSource() == null)
......@@ -159,7 +192,7 @@ public abstract class BaseAutoGetPermission {
//设置默认桌面
if (step == 6) {
if (step == STEP_REQUEST_DEFAULT_LAUNCHER) {
if (PermissionUtil.isDefaultHome(getApplicationContext()))
return;
......@@ -178,14 +211,15 @@ public abstract class BaseAutoGetPermission {
}
if (!PermissionUtil.checkDeviceAdminPermission(getApplicationContext())) {
if (step != 1) {
if (step != STEP_REQUEST_DEVICE_ADMIN) {
if (SystemUtils.isMIUI()) {
if (event.getClassName().toString().contains("com.android.settings")) {
step = 1;
step = STEP_REQUEST_DEVICE_ADMIN;
operateAccessibilityEvent(event);
return;
}
......@@ -197,7 +231,7 @@ public abstract class BaseAutoGetPermission {
return;
}
if (step == 1) {
if (step == STEP_REQUEST_DEVICE_ADMIN) {
if (PermissionUtil.checkDeviceAdminPermission(getApplicationContext())) {
resetStep();
} else {
......@@ -207,14 +241,41 @@ public abstract class BaseAutoGetPermission {
}
}
if (!PermissionUtil.checkAutoStartUp(getApplicationContext())) {
if (step != STEP_REQUEST_AUTO_STARTUP) {
if (SystemUtils.isMIUI()) {
if (event.getClassName().toString().contains("com.android.settings")) {
step = STEP_REQUEST_AUTO_STARTUP;
operateAccessibilityEvent(event);
}
}
gotoAutoStartUpSetting();
sleep();
return;
}
if (step == STEP_REQUEST_AUTO_STARTUP) {
if (PermissionUtil.checkAutoStartUp(getApplicationContext())) {
resetStep();
} else {
// if (SystemUtils.isNOKIA()) {
// if (event.getSource() != null) {
// requestBatteryOptimize(event);
// }
// }
if (!PermissionUtil.checkBatteryOptimize(getApplicationContext()) && !SystemUtils.isSAMSUNG()) {
return;
}
}
}
if (step != 2) {
if (!PermissionUtil.checkBatteryOptimize(getApplicationContext())) {
if (step != STEP_REQUEST_BATTERY_OPTIMIZE) {
if (SystemUtils.isMIUI()) {
if (event.getClassName().toString().contains("com.android.settings")) {
step = 2;
step = STEP_REQUEST_BATTERY_OPTIMIZE;
operateAccessibilityEvent(event);
}
}
......@@ -223,7 +284,7 @@ public abstract class BaseAutoGetPermission {
return;
}
if (step == 2) {
if (step == STEP_REQUEST_BATTERY_OPTIMIZE) {
if (PermissionUtil.checkBatteryOptimize(getApplicationContext())) {
resetStep();
} else {
......@@ -241,13 +302,13 @@ public abstract class BaseAutoGetPermission {
if (!PermissionUtil.checkAppUsagePermission(getApplicationContext())) {
if (step != 3) {
if (step != STEP_REQUEST_APP_USAGE) {
gotoAppUsagePermission();
sleep();
return;
}
if (step == 3) {
if (step == STEP_REQUEST_APP_USAGE) {
if (PermissionUtil.checkAppUsagePermission(getApplicationContext())) {
resetStep();
} else {
......@@ -261,7 +322,7 @@ public abstract class BaseAutoGetPermission {
if (PermissionUtil.enAbleADB(getApplicationContext())) {
if (step != 4) {
if (step != STEP_REQUEST_CLOSE_USB) {
gotoDeveloperChoice();
sleep();
......@@ -269,7 +330,7 @@ public abstract class BaseAutoGetPermission {
return;
}
if (step == 4) {
if (step == STEP_REQUEST_CLOSE_USB) {
if (!PermissionUtil.enAbleADB(getApplicationContext())) {
resetStep();
} else {
......@@ -283,14 +344,14 @@ public abstract class BaseAutoGetPermission {
if (!PermissionUtil.isNotificationListenersEnabled(getApplicationContext())) {
if (step != 5) {
if (step != STEP_REQUEST_NOTIFICATION_MANAGER) {
gotoNotificationSettings();
sleep();
requestNotificationPermission(event);
return;
}
if (step == 5) {
if (step == STEP_REQUEST_NOTIFICATION_MANAGER) {
if (PermissionUtil.isNotificationListenersEnabled(getApplicationContext())) {
resetStep();
} else {
......@@ -303,7 +364,7 @@ public abstract class BaseAutoGetPermission {
if (!PermissionUtil.isDefaultHome(getApplicationContext())) {
if (step != 6) {
if (step != STEP_REQUEST_DEFAULT_LAUNCHER) {
if (!SystemUtils.isMEIZU()) {
gotoDefaultLauncherSetting();
} else {
......@@ -321,7 +382,7 @@ public abstract class BaseAutoGetPermission {
return;
}
if (step == 6) {
if (step == STEP_REQUEST_DEFAULT_LAUNCHER) {
if (PermissionUtil.isDefaultHome(getApplicationContext())) {
resetStep();
} else {
......@@ -331,15 +392,7 @@ public abstract class BaseAutoGetPermission {
}
if (!isFinish) {
isFinish = true;
Logger.e(TAG, "finish");
LauncherManager.getInstance().changeExitState(false);
service. finish();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
service.disableSelf();
}
}
finish();
}
......@@ -355,6 +408,16 @@ public abstract class BaseAutoGetPermission {
}
public void finish() {
if (!isFinish) {
isFinish = true;
service.finish();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
service.disableSelf();
}
}
}
/**
* 跳转之后停顿等待一会
*/
......@@ -489,7 +552,7 @@ public abstract class BaseAutoGetPermission {
// }
if (step == 2) {
if (step == STEP_REQUEST_BATTERY_OPTIMIZE) {
// if (SystemUtils.isMIUI()) {
PermissionUtil.isBatterySaveClose = true;
// }
......@@ -505,13 +568,19 @@ public abstract class BaseAutoGetPermission {
public void gotoDeviceAdminPermissionSetting() {
step = 1;
step = STEP_REQUEST_DEVICE_ADMIN;
PermissionUtil.gotoDeviceAdminPermissionSetting(getApplicationContext());
}
public void gotoAutoStartUpSetting() {
step = STEP_REQUEST_AUTO_STARTUP;
PermissionUtil.gotoAutoStartUpSettings(getApplicationContext());
}
public void gotoBatteryOptimize() {
step = 2;
step = STEP_REQUEST_BATTERY_OPTIMIZE;
PermissionUtil.gotoBatteryOptimize(getApplicationContext());
}
......@@ -523,33 +592,35 @@ public abstract class BaseAutoGetPermission {
} else {
PermissionUtil.gotoAppUsagePermission(getApplicationContext());
}
step = 3;
step = STEP_REQUEST_APP_USAGE;
}
public void gotoDeveloperChoice() {
PermissionUtil.gotoDeveloperChoice(getApplicationContext());
step = 4;
step = STEP_REQUEST_CLOSE_USB;
}
public void gotoNotificationSettings() {
PermissionUtil.goToNotificationAccessSetting(getApplicationContext());
step = 5;
step = STEP_REQUEST_NOTIFICATION_MANAGER;
}
public void gotoDefaultLauncherSetting() {
PermissionUtil.setDefaultL(getApplicationContext());
step = 6;
step = STEP_REQUEST_DEFAULT_LAUNCHER;
}
public void gotoSystemSettings() {
PermissionUtil.gotoSystemSetting(getApplicationContext());
step = 6;
step = STEP_REQUEST_DEFAULT_LAUNCHER;
}
public abstract void requestkDeviceAdmin(AccessibilityEvent event);
public abstract void reqeustAutoStartUp(AccessibilityEvent event);
public abstract void requestBatteryOptimize(AccessibilityEvent event);
public abstract void requestUsageAppPermission(AccessibilityEvent event);
......
......@@ -65,6 +65,11 @@ public class GeneralAutoGetPermission extends BaseAutoGetPermission {
}
@Override
public void reqeustAutoStartUp(AccessibilityEvent event) {
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
}
......
......@@ -3,6 +3,7 @@ package com.android.launcher3.auto_get_permission.honor;
import android.accessibilityservice.AccessibilityService;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Build;
import android.text.TextUtils;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;
......@@ -20,7 +21,7 @@ import static com.android.launcher3.auto_get_permission.AccessibilityNodeOperate
public class HonorAutoPermissionGetter extends BaseAutoGetPermission {
private static final String TAG="HonorAutoPermissionGetter";
private static final String TAG = "HonorAutoPermissionGetter";
public HonorAutoPermissionGetter(PermissionOpenAccessiblityService service) {
super(service);
......@@ -56,7 +57,7 @@ public class HonorAutoPermissionGetter extends BaseAutoGetPermission {
} else {
sleep();
}
}else if ("com.android.settings.DeviceAdminAdd".equals(event.getClassName().toString())) {
} else if ("com.android.settings.DeviceAdminAdd".equals(event.getClassName().toString())) {
AccessibilityNodeInfo accessibilityNodeInfo = getChildNodeByIdEqualText(sourceNode, "com.android.settings:id/action_button", "激活");
// List<AccessibilityNodeInfo> nodeInfoList = sourceNode.findAccessibilityNodeInfosByViewId("com.android.settings:id/action_button");
......@@ -78,8 +79,13 @@ public class HonorAutoPermissionGetter extends BaseAutoGetPermission {
}
@Override
public void reqeustAutoStartUp(AccessibilityEvent event) {
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode=event.getSource();
AccessibilityNodeInfo sourceNode = event.getSource();
if ("com.huawei.systemmanager.startupmgr.ui.StartupNormalAppListActivity".equals(event.getClassName())) {
......@@ -308,7 +314,7 @@ public class HonorAutoPermissionGetter extends BaseAutoGetPermission {
} else {
getService().performGlobalAction(GLOBAL_ACTION_BACK);
getService().performGlobalAction(GLOBAL_ACTION_BACK);
sleepShort();
}
}
......@@ -446,7 +452,7 @@ public class HonorAutoPermissionGetter extends BaseAutoGetPermission {
@Override
public void requestCloseUSB(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode=event.getSource();
AccessibilityNodeInfo sourceNode = event.getSource();
if ("com.android.settings.Settings$DevelopmentSettingsActivity".equals(event.getClassName())) {
// oppo也是这个页面
......@@ -554,7 +560,11 @@ public class HonorAutoPermissionGetter extends BaseAutoGetPermission {
@Override
public void requestDefaultLauncher(AccessibilityEvent event) {
AccessibilityNodeInfo nodeInfo = event.getSource();
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.O) {
showToastLong("华为8.0以上的设备不支持更换桌面哦");
finish();
return;
}
if ("com.android.settings.HWSettings".equals(event.getClassName())) {
AccessibilityNodeInfo accessibilityNodeInfo = getChildNodeEqual(nodeInfo, "应用和通知");
if (performAction(accessibilityNodeInfo, AccessibilityNodeInfo.ACTION_CLICK)) {
......
......@@ -3,6 +3,7 @@ package com.android.launcher3.auto_get_permission.huawei;
import android.accessibilityservice.AccessibilityService;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Build;
import android.text.TextUtils;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;
......@@ -29,11 +30,43 @@ public class HuaweiAutoPermissionGetter extends BaseAutoGetPermission {
@Override
public void requestkDeviceAdmin(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode = event.getSource();
if ("com.android.settings.Settings$DeviceAdminSettingsActivity".equals(event.getClassName().toString())) {
// 已跳转到设备管理器页面
AccessibilityNodeInfo accessibilityNodeInfo1 = getChildNodeEqual(sourceNode, appName);
if (!performAction(accessibilityNodeInfo1, AccessibilityNodeInfo.ACTION_CLICK)) {
showToastLong("请找到【" + appName + "】应用并点击");
return;
} else {
sleep();
}
} else if ("com.android.settings.DeviceAdminAdd".equals(event.getClassName().toString())) {
AccessibilityNodeInfo accessibilityNodeInfo = getChildNodeByIdEqualText(sourceNode, "com.android.settings:id/action_button", "激活");
// List<AccessibilityNodeInfo> nodeInfoList = sourceNode.findAccessibilityNodeInfosByViewId("com.android.settings:id/action_button");
// if (nodeInfoList != null && nodeInfoList.size() > 0) {
// nodeInfoList.get(0).getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
// sleep();
//
// }
if (performAction(accessibilityNodeInfo, AccessibilityNodeInfo.ACTION_CLICK)) {
sleep();
resetStep();
} else {
showToastLong("请点击【启用/激活此设备管理员】");
return;
}
}
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
public void reqeustAutoStartUp(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode = event.getSource();
if ("com.huawei.systemmanager.startupmgr.ui.StartupNormalAppListActivity".equals(event.getClassName())) {
......@@ -58,37 +91,42 @@ public class HuaweiAutoPermissionGetter extends BaseAutoGetPermission {
}
// 将自动管理的swicher关闭
if (targetAppNode.getParent() != null) {
if (targetAppNode != null && targetAppNode.getParent() != null) {
List<AccessibilityNodeInfo> switcherNodes = targetAppNode.getParent().findAccessibilityNodeInfosByViewId("com.huawei.systemmanager:id/switcher");
if (switcherNodes != null && switcherNodes.size() > 0) {
if (switcherNodes.get(0).isCheckable()) {
if (switcherNodes.get(0).isChecked()) {
targetAppNode.getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
if (switcherNodes.get(0).isChecked()) {
if (switcherNodes.get(0).isCheckable()&&performAction(switcherNodes.get(0),AccessibilityNodeInfo.ACTION_CLICK)) {
sleep();
} else {
List<AccessibilityNodeInfo> manualBtnList = sourceNode.findAccessibilityNodeInfosByViewId("com.huawei.systemmanager:id/listitem_all_manual");
long time2 = System.currentTimeMillis();
while ((manualBtnList == null || manualBtnList.size() <= 0) && System.currentTimeMillis() - time2 < MAX_SEARCH_TIME) {
if (listViewNode.isScrollable()) {
listViewNode.performAction(AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD);
sleepShort();
listViewNode.refresh();
} else {
break;
}
manualBtnList = sourceNode.findAccessibilityNodeInfosByViewId("com.huawei.systemmanager:id/listitem_all_manual");
}
if (manualBtnList.size() > 0 && manualBtnList.get(0).getParent() != null) {
manualBtnList.get(0).getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
sleep();
}
showToastLong("请找到【" + appName + "】并点击右侧的按钮");
// List<AccessibilityNodeInfo> manualBtnList = sourceNode.findAccessibilityNodeInfosByViewId("com.huawei.systemmanager:id/listitem_all_manual");
// long time2 = System.currentTimeMillis();
//
// while ((manualBtnList == null || manualBtnList.size() <= 0) && System.currentTimeMillis() - time2 < MAX_SEARCH_TIME) {
// if (listViewNode.isScrollable()) {
// listViewNode.performAction(AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD);
// sleepShort();
// listViewNode.refresh();
// } else {
// break;
// }
//
// manualBtnList = sourceNode.findAccessibilityNodeInfosByViewId("com.huawei.systemmanager:id/listitem_all_manual");
// }
//
// if (manualBtnList.size() > 0 && manualBtnList.get(0).getParent() != null) {
// manualBtnList.get(0).getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
// sleep();
// }
}
}
} else {
showToastLong("请找到【" + appName + "】并点击右侧的按钮");
}
} else {
showToastLong("请找到【" + appName + "】并点击右侧的按钮");
}
......@@ -176,6 +214,11 @@ public class HuaweiAutoPermissionGetter extends BaseAutoGetPermission {
}
}
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode = event.getSource();
long time2 = System.currentTimeMillis();
......@@ -230,6 +273,7 @@ public class HuaweiAutoPermissionGetter extends BaseAutoGetPermission {
} while (!loadFinish && System.currentTimeMillis() - time2 < MAX_SEARCH_TIME);
}
if ("android.widget.FrameLayout".equals(event.getClassName())) {
AccessibilityNodeInfo nodeInfo = getChildNodeEqual(sourceNode, "所有应用");
if (performAction(nodeInfo, AccessibilityNodeInfo.ACTION_CLICK)) {
......@@ -256,7 +300,7 @@ public class HuaweiAutoPermissionGetter extends BaseAutoGetPermission {
if (performAction(deterBtnNode, AccessibilityNodeInfo.ACTION_CLICK)) {
resetStep();
} else {
showToastLong("请点击【确定】");
showToastLong("请点击【确定/允许】");
return;
}
}
......@@ -267,6 +311,26 @@ public class HuaweiAutoPermissionGetter extends BaseAutoGetPermission {
sleepShort();
}
}
if ("android.app.Dialog".equals(event.getClassName()) && event.getText() != null && event.getText().contains(appName)) {
AccessibilityNodeInfo acceptTvNode = getChildNodeEqual(sourceNode, "允许");
if (acceptTvNode != null && acceptTvNode.getParent() != null) {
acceptTvNode.getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
sleepShort();
AccessibilityNodeInfo deterBtnNode = getChildNodeEqual(sourceNode, "确定");
if (performAction(deterBtnNode, AccessibilityNodeInfo.ACTION_CLICK)) {
resetStep();
} else {
showToastLong("请点击【确定/允许】");
return;
}
}
}
}
@Override
......@@ -351,61 +415,34 @@ public class HuaweiAutoPermissionGetter extends BaseAutoGetPermission {
*/
if ("com.android.settings.SubSettings".equals(event.getClassName()) && event.getText() != null && (event.getText().toString().contains("使用情况访问权限") || event.getText().toString().contains("使用记录访问权限") || event.getText().toString().contains("使用量数据访问"))) {
if (SystemUtils.isSAMSUNG()) {
AccessibilityNodeInfo nodeInfo = getChildNodeEqual(sourceNode, "允许追踪使用情况");
if (performAction(nodeInfo, AccessibilityNodeInfo.ACTION_CLICK)) {
AccessibilityNodeInfo textViewNode = getChildNodeByIdEqualText(sourceNode, "android:id/title", "允许访问使用记录");
if (textViewNode != null && textViewNode.getParent() != null) {
if (performAction(textViewNode, AccessibilityNodeInfo.ACTION_CLICK)) {
sleepShort();
resetStep();
} else {
showToastLong("请点击【允许追踪使用情况】并返回上一页");
showToastLong("请点击【允许访问使用记录】并返回上一页");
return;
}
} else if (SystemUtils.isNOKIA()) {
sleep();
List<AccessibilityNodeInfo> switchWidgetNodeList = sourceNode.findAccessibilityNodeInfosByViewId("android:id/switch_widget");
if (switchWidgetNodeList != null && switchWidgetNodeList.size() > 0) {
if (switchWidgetNodeList.get(0).isChecked()) {
resetStep();
}
switchWidgetNodeList.get(0).getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
resetStep();
}
} else {
AccessibilityNodeInfo textViewNode = getChildNodeByIdEqualText(sourceNode, "android:id/title", "允许访问使用记录");
if (textViewNode != null && textViewNode.getParent() != null) {
if (textViewNode.getParent().isClickable()) {
textViewNode.getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
resetStep();
}
textViewNode = getChildNodeByIdEqualText(sourceNode, "android:id/title", "允许查看使用情况");
if (performAction(textViewNode, AccessibilityNodeInfo.ACTION_CLICK)) {
resetStep();
} else {
textViewNode = getChildNodeByIdEqualText(sourceNode, "android:id/title", "允许查看使用情况");
if (performAction(textViewNode, AccessibilityNodeInfo.ACTION_CLICK)) {
resetStep();
} else {
showToastLong("请点击【允许查看使用情况】并返回上一页");
return;
}
showToastLong("请点击【允许查看使用情况】并返回上一页");
return;
}
}
}
}
@Override
public void requestCloseUSB(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode=event.getSource();
AccessibilityNodeInfo sourceNode = event.getSource();
if ("com.android.settings.Settings$DevelopmentSettingsActivity".equals(event.getClassName())) {
// oppo也是这个页面
getChildNodeEqual(sourceNode, "USB 调试");
List<AccessibilityNodeInfo> listViewNodes = sourceNode.findAccessibilityNodeInfosByViewId("com.android.settings:id/list");
if (listViewNodes == null || listViewNodes.isEmpty()) {
......@@ -431,20 +468,12 @@ public class HuaweiAutoPermissionGetter extends BaseAutoGetPermission {
usbNode = getChildNodeByIdEqualText(listViewNode, "android:id/title", "USB 调试");
}
}
if (usbNode != null && usbNode.getParent() != null) {
if (SystemUtils.isOPPO()) {
List<AccessibilityNodeInfo> switchWidgetList = usbNode.getParent().findAccessibilityNodeInfosByViewId("android:id/switch_widget");
if (switchWidgetList != null && !switchWidgetList.isEmpty()) {
switchWidgetList.get(0).performAction(AccessibilityNodeInfo.ACTION_CLICK);
sleepShort();
resetStep();
}
} else {
usbNode.getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
sleepShort();
// resetStep();
}
if (performAction(usbNode, AccessibilityNodeInfo.ACTION_CLICK)) {
sleepShort();
resetStep();
} else {
showToastLong("请点击【USB 调试】按钮");
}
}
......@@ -453,12 +482,67 @@ public class HuaweiAutoPermissionGetter extends BaseAutoGetPermission {
@Override
public void requestNotificationPermission(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode = event.getSource();
if ("com.android.settings.Settings$NotificationAccessSettingsActivity".equals(event.getClassName())) {
AccessibilityNodeInfo targetApp = getChildNodeEqual(sourceNode, appName);
if (!performAction(targetApp, AccessibilityNodeInfo.ACTION_CLICK)) {
List<AccessibilityNodeInfo> nodeInfoList = sourceNode.findAccessibilityNodeInfosByViewId("com.android.settings:id/list");
if (nodeInfoList != null && nodeInfoList.size() > 0) {
AccessibilityNodeInfo listViewNode = nodeInfoList.get(0);
AccessibilityNodeInfo targetAppItem = getChildNodeByIdEqualText(listViewNode, "android:id/title", appName);
long time = System.currentTimeMillis();
while (targetAppItem == null && System.currentTimeMillis() - time < MAX_SEARCH_TIME) {
if (listViewNode != null) {
if (listViewNode.isScrollable()) {
listViewNode.performAction(AccessibilityNodeInfo.ACTION_SCROLL_FORWARD);
sleepShort();
listViewNode.refresh();
}
}
targetAppItem = getChildNodeByIdEqualText(listViewNode, "android:id/title", appName);
}
if (!performAction(targetAppItem, AccessibilityNodeInfo.ACTION_CLICK)) {
showToastLong("请点击【" + appName + "】");
return;
}
} else {
showToastLong("请点击【" + appName + "】");
}
}
}
if ("android.app.AlertDialog".equals(event.getClassName())) {
// 允许
List<AccessibilityNodeInfo> nodeInfoList = sourceNode.findAccessibilityNodeInfosByViewId("android:id/button1");
if (nodeInfoList != null && nodeInfoList.size() > 0 && performAction(nodeInfoList.get(0), AccessibilityNodeInfo.ACTION_CLICK)) {
resetStep();
return;
} else {
showToastLong("请点击【允许】");
return;
}
}
}
@Override
public void requestDefaultLauncher(AccessibilityEvent event) {
AccessibilityNodeInfo nodeInfo=event.getSource();
AccessibilityNodeInfo nodeInfo = event.getSource();
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.O) {
showToastLong("华为8.0以上的设备不支持更换桌面哦");
finish();
return;
}
if ("com.android.settings.HWSettings".equals(event.getClassName())) {
AccessibilityNodeInfo accessibilityNodeInfo = getChildNodeEqual(nodeInfo, "应用和通知");
if (performAction(accessibilityNodeInfo, AccessibilityNodeInfo.ACTION_CLICK)) {
......
......@@ -30,6 +30,11 @@ public class MeizuAutoPermissionGetter extends BaseAutoGetPermission {
}
@Override
public void reqeustAutoStartUp(AccessibilityEvent event) {
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode = event.getSource();
// 魅族 权限管理 ->后台管理-> 打开应用开关
......
......@@ -53,6 +53,11 @@ public class NokiaAutoPermissionGetter extends BaseAutoGetPermission {
}
@Override
public void reqeustAutoStartUp(AccessibilityEvent event) {
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode=event.getSource();
......
......@@ -90,6 +90,11 @@ public class OppoAutoPermissionGetter extends BaseAutoGetPermission {
}
@Override
public void reqeustAutoStartUp(AccessibilityEvent event) {
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode = event.getSource();
if ("com.android.settings.applications.InstalledAppDetailsTop".equals(event.getClassName())) {
......
......@@ -7,6 +7,7 @@ import android.view.accessibility.AccessibilityNodeInfo;
import com.android.launcher3.accessibility.PermissionOpenAccessiblityService;
import com.android.launcher3.auto_get_permission.BaseAutoGetPermission;
import com.android.launcher3.util.Logger;
import com.android.launcher3.util.SystemUtils;
import java.util.List;
......@@ -18,6 +19,7 @@ import static com.android.launcher3.auto_get_permission.AccessibilityNodeOperate
public class SamsungAutoPermissionGetter extends BaseAutoGetPermission {
private static final String TAG = "SamsungAutoPermissionGetter";
public SamsungAutoPermissionGetter(PermissionOpenAccessiblityService service) {
super(service);
......@@ -76,6 +78,44 @@ public class SamsungAutoPermissionGetter extends BaseAutoGetPermission {
}
@Override
public void reqeustAutoStartUp(AccessibilityEvent event) {
// 三星 自动运行应用程序 -> 打开应用开关 -> 电池管理 -> 未监视的应用程序 -> 添加应用
if ("com.samsung.android.sm.score.ui.ScoreBoardActivity".equals(event.getClassName().toString())) {
AccessibilityNodeInfo sourceNode = event.getSource();
AccessibilityNodeInfo accessibilityNodeInfo1 = getChildNodeEqual(sourceNode, "自动运行应用程序");
if (accessibilityNodeInfo1 != null && accessibilityNodeInfo1.getParent() != null) {
accessibilityNodeInfo1.getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
sleep();
}
}
if ("com.samsung.android.sm.autorun.ui.AutoRunActivity".equals(event.getClassName().toString())) {
AccessibilityNodeInfo sourceNode = event.getSource();
getChildNodeEqual(sourceNode, appName);
AccessibilityNodeInfo frameLayoutNode = sourceNode.findAccessibilityNodeInfosByViewId("com.samsung.android.sm_cn:id/active_applications_detail").get(0).getParent().getParent();
// frameLayoutNode.getCollectionInfo()'
// for ()
//
Logger.e(TAG, sourceNode.findAccessibilityNodeInfosByViewId("com.samsung.android.sm_cn:id/app_name").size() + "");
//
// Logger.e(TAG, "\t" + sourceNode.findAccessibilityNodeInfosByViewId("com.samsung.android.sm_cn:id/active_applications_detail").get(0).getParent().getChildCount());
// AccessibilityNodeInfo accessibilityNodeInfo1 = getChildNodeEqual(sourceNode, appName);
AccessibilityNodeInfo accessibilityNodeInfo1 = getChildNodeByIdEqualText(sourceNode, "com.samsung.android.sm_cn:id/app_name", appName);
accessibilityNodeInfo1.getParent().performAction(AccessibilityNodeInfo.ACTION_CLICK);
sleep();
}
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode = event.getSource();
// 三星 自动运行应用程序 -> 打开应用开关 -> 电池管理 -> 未监视的应用程序 -> 添加应用
......@@ -338,7 +378,7 @@ public class SamsungAutoPermissionGetter extends BaseAutoGetPermission {
@Override
public void requestNotificationPermission(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode=event.getSource();
AccessibilityNodeInfo sourceNode = event.getSource();
if ("com.android.settings.Settings$NotificationAccessSettingsActivity".equals(event.getClassName())) {
AccessibilityNodeInfo targetApp = getChildNodeEqual(sourceNode, appName);
......@@ -393,7 +433,7 @@ public class SamsungAutoPermissionGetter extends BaseAutoGetPermission {
@Override
public void requestDefaultLauncher(AccessibilityEvent event) {
AccessibilityNodeInfo nodeInfo=event.getSource();
AccessibilityNodeInfo nodeInfo = event.getSource();
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
if ("com.android.settings.applications.InstalledAppDetailsTop".equals(event.getClassName())) {
......
......@@ -27,6 +27,11 @@ public class VivoAutoPermissionGetter extends BaseAutoGetPermission {
}
@Override
public void reqeustAutoStartUp(AccessibilityEvent event) {
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
}
......
......@@ -431,6 +431,11 @@ public class XiaoMiAutoPermissionGetter extends BaseAutoGetPermission {
}
@Override
public void reqeustAutoStartUp(AccessibilityEvent event) {
}
@Override
public void requestBatteryOptimize(AccessibilityEvent event) {
AccessibilityNodeInfo sourceNode = event.getSource();
if ("com.android.settings.MiuiSettings".equals(event.getClassName().toString())) {
......
......@@ -111,7 +111,7 @@ public class FirstInitWorkSpaceTask {
// 拨号 联系人( "", ) 短信 相机 浏览器
public static final String[] HOTSEAT_APP_PACKAGENAME = {"com.samsung.android.dialer|com.android.dialer|com.samsung.android.contacts|com.android.contacts", "com.samsung.android.messaging|com.android.mms", "com.sec.android.app.sbrowser|com.android.browser|com.heytap.browser", "com.sec.android.app.camera|com.android.camera2|com.meizu.media.camera|com.oppo.camera"};
public static final String[] HOTSEAT_APP_PACKAGENAME = {"com.samsung.android.dialer|com.android.dialer|com.samsung.android.contacts|com.android.contacts", "com.samsung.android.messaging|com.android.mms", "com.sec.android.app.sbrowser|com.android.browser|com.heytap.browser", "com.sec.android.app.camera|com.android.camera2|com.meizu.media.camera|com.oppo.camera|com.huawei.camera"};
public static final String[] NEED_FILTER_PACKAGE_NAME = {};
......
......@@ -47,7 +47,7 @@ public class KToast {
// 配置一些默认的参数
mWindowParams = new WindowManager.LayoutParams();
mWindowParams.height = WindowManager.LayoutParams.WRAP_CONTENT;
mWindowParams.width = WindowManager.LayoutParams.WRAP_CONTENT;
mWindowParams.width = WindowManager.LayoutParams.MATCH_PARENT;
mWindowParams.format = PixelFormat.TRANSLUCENT;
// mWindowParams.windowAnimations = android.R.style.Animation_Toast;
// mWindowParams.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
......
......@@ -170,7 +170,30 @@ public class PermissionUtil {
}
public static void gotoBatteryOptimize(Context context) {
/**
* 判断是否有自启动权限
* @param context
* @return
*/
public static boolean checkAutoStartUp(Context context) {
PackageManager pm=context.getPackageManager();
boolean haveStartup = false;
try {
PackageInfo pkgInfo = pm
.getPackageInfo(context.getPackageName(), PackageManager.GET_RECEIVERS
| PackageManager.GET_META_DATA);// 通过包名,返回包信息
} catch (PackageManager.NameNotFoundException e) {
e.printStackTrace();
}
haveStartup = pm.checkPermission(
"android.permission.RECEIVE_BOOT_COMPLETED", context.getPackageName()) == PackageManager.PERMISSION_GRANTED;
return haveStartup;
}
public static void gotoAutoStartUpSettings(Context context) {
Intent intent = new Intent();
......@@ -227,6 +250,25 @@ public class PermissionUtil {
}
public static void gotoBatteryOptimize(Context context) {
requestIgnoreBatteryOptimizations(context);
}
public static void requestIgnoreBatteryOptimizations(Context context) {
try {
Intent intent = new Intent(Settings.ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS);
intent.setData(Uri.parse("package:" + context.getPackageName()));
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(intent);
} catch (Exception e) {
e.printStackTrace();
}
}
/**
* 检测电池优化是否开启 三星不支持
*
......
......@@ -139,8 +139,6 @@ public class PackageManageActivity extends Activity {
//
//
// LauncherManager.getInstance().setCurrentWorkMode(ColumnDef.TimeManager.WORK_DAY);
LauncherManager.getInstance().setInterceptSystemSetting(false);
handler.sendEmptyMessage(0);
}
});
......@@ -198,8 +196,10 @@ public class PackageManageActivity extends Activity {
new Thread(new Runnable() {
@Override
public void run() {
// LauncherManager.getInstance().forceLockScreen(PackageManageActivity.this, 1*60);
PermissionUtil.gotoBatteryOptimize(getApplicationContext());
LauncherManager.getInstance().changeExitState(true);
LauncherManager.getInstance().setInterceptSystemSetting(false);
// handler.sendEmptyMessage(3);
}
}).start();
......@@ -274,4 +274,6 @@ public class PackageManageActivity extends Activity {
onResume();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment