Commit Graph

34630 Commits

Author SHA1 Message Date
vadimt ce7ec2e645 Merge "Adding tracing for suspending via Wellbeing" into ub-launcher3-qt-qpr1-dev
am: 418787778b

Change-Id: Id8869a40893ef596b3ad50275d8e9bfa3fdac2c4
2019-08-22 16:35:31 -07:00
Becky Qiu f0a014d7ff Move swipe actions on container logging to west world.
Test: manual
Bug: 137777105

Log result for swiping in and out of -1 screen.
  data {
    elapsed_timestamp_nanos: 597609736235111
    atom {
      launcher_event {
        action: SWIPE_LEFT
        src_state: HOME
        dst_state: HOME
        is_swipe_up_enabled: true
      }
    }
  }

  data {
    elapsed_timestamp_nanos: 597610569783111
    atom {
      launcher_event {
        action: SWIPE_RIGHT
        src_state: HOME
        dst_state: HOME
        is_swipe_up_enabled: true
      }
    }
  }


Change-Id: Ic84d3c32d1c9f780f13ec5cd6320e9f1d610f018
2019-08-22 16:27:49 -07:00
TreeHugger Robot 418787778b Merge "Adding tracing for suspending via Wellbeing" into ub-launcher3-qt-qpr1-dev 2019-08-22 23:22:02 +00:00
vadimt 2b3303c744 Not freezing All Apps during user interactions
Extremely rarely, All Apps will get stuck in a non-updating state even
after the interaction ends.

It would be impractical to try drilling to the root cause of this,
so it's better to just allow All Apps updates while the user interacts
with it.

Bug: 139384936
Change-Id: I2ed7fb052da77a9e47ef9b9aa7800499071b98c3
2019-08-22 22:34:17 +00:00
vadimt 872cf29211 Adding tracing for suspending via Wellbeing
Bug: 139891609
Change-Id: I3ffb7941f7c4015cba3c65d87e20ccc6be920592
2019-08-22 15:30:42 -07:00
Jon Miranda 14f3936c92 Fix RequestPinItemTest, broken by my manual merge.
Bug: 139880994
Change-Id: I7f6e1dda6cf4497bccf7ea682739bacd12079d4d
2019-08-22 13:37:29 -07:00
Jon Miranda fb08b7e662 [automerger skipped] Add support for adding promise icons for new install sessions by user.
am: 89137e7bb8 -s ours
am skip reason: change_id I411db59f9bd1b346d98b9bb73f5376a5983b8de5 with SHA1 c84168df80 is in history

Change-Id: I0748c2169f0e0aae6adb45eb4eb3f893cb879ccd
2019-08-22 13:35:49 -07:00
Jon Miranda 89137e7bb8 Add support for adding promise icons for new install sessions by user.
- Added flag PROMISE_APPS_NEW_INSTALLS
- Promise icons only added if flag (above) is on, as well as the setting
  for "Add icon to Home screen"
- Maintains a list of session ids of promise icons that have been added to the
  home screen, so that if the user manually removes the icon, we do not add
  it back to the home screen when the install is completed.
- Queues all applications as promise icons, and replaces with actual
  app info when its being added to the workspace.

Bug: 135633159
Change-Id: Idf2fc9033f890afef924628b76b89ad4692f529c
Merged-In: I411db59f9bd1b346d98b9bb73f5376a5983b8de5
2019-08-22 10:42:45 -07:00
Hyunyoung Song 551e033da1 ub-launcher3-qt-qpr1-dev @ build 5818303 am: 227daf0108
am: b5d3d5ee26

Change-Id: If173e2df39c600baf95bea6adcaa2a7c15c88447
2019-08-22 10:38:50 -07:00
Hyunyoung Song b5d3d5ee26 ub-launcher3-qt-qpr1-dev @ build 5818303
am: 227daf0108

Change-Id: I6aa8a25a124e07701e1fe215101597bc00d6a7a8
2019-08-22 10:31:55 -07:00
Jon Miranda c84168df80 Add support for adding promise icons for new install sessions by user.
- Added flag PROMISE_APPS_NEW_INSTALLS
- Promise icons only added if flag (above) is on, as well as the setting
  for "Add icon to Home screen"
- Maintains a list of session ids of promise icons that have been added to the
  home screen, so that if the user manually removes the icon, we do not add
  it back to the home screen when the install is completed.
- Queues all applications as promise icons, and replaces with actual
  app info when its being added to the workspace.

Bug: 135633159
Change-Id: I411db59f9bd1b346d98b9bb73f5376a5983b8de5
2019-08-22 10:28:14 -07:00
Hyunyoung Song 227daf0108 ub-launcher3-qt-qpr1-dev @ build 5818303
Test: presubmit setup on source branch

Bug: 112282235  Starting an app from Launcher sometimes takes > 10 sec
Bug: 125027540  Apps to be searchable in different languages
Bug: 132336512  Notification dots on pinned shortcuts
Bug: 135218095  Disable unnecessary services
Bug: 136277517  Widgets often don’t support scroll direction up/down, left/right and use forward/backward instead
Bug: 137777105  Make clearcut launcher logging feature parity with westworld logging
Bug: 137952354  OnResume() and onStop logging doesn't reflect the real source id for -1 screen
Bug: 137953006  Swiping/fling up from workspace logged as hotseat
Bug: 138273985  The pause app message takes more than 30 seconds to display after restarting the device.
Bug: 138683199  Pass the captured snapshot data to Launcher when recents animation is cancelled
Bug: 138729456  [Flaky test] java.lang.AssertionError: http://go/tapl : Can't find an object with selector: BySelector [CLASS='\Qandroid.widget.TextView\E', PKG='\Qcom.google.android.apps.nexuslauncher\E', TEXT='\QShortcut 3\E'] (visible state: Workspace)
Bug: 138743758  [Flaky test] java.lang.AssertionError: App still doesn't have Pause action: com.google.android.calculator
Bug: 138743792  [Flaky test] java.lang.AssertionError: ensureScrollable didn't add Chrome app
Bug: 138964490  Investigate if ToggleableFlags can be connected with DeviceConfig
Bug: 139416391  CTS tests crash when app_prediction service is disabled
Bug: 139498375  Flake:     java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission
Bug: 139540363  Launcher goes in crash loop

Change-Id: Iaba4ed67e9fe4f8f5858324201e4c4e8711f59fa
2019-08-21 22:20:03 +00:00
android-build-team Robot 3f871b8a90 Snap for 5817336 from d3ef57b4dd to rvc-release
Change-Id: I5663b79b4410160d8f3aabb75b62a2ea4db55334
2019-08-21 03:03:43 +00:00
Sunny Goyal 6fe3eec95c Moving various common executors to a single location
Change-Id: I44bca49b8adb6fa22c3b48d10f674e42c28d792c
2019-08-20 14:36:17 -07:00
Tracy Zhou 4fa6f63ffd Make sure that live tile overlay is added only once.
Users report seeing empty launcher. After adding some logging, live tile
overlay can be added twice and removed only once. I added some logic to
make sure that it can only be added once.

Test: manual
Fixes: 135864059
Change-Id: I9d3325c56e76654f1397cc65979b97a6c0a80aee
(cherry picked from commit d3ef57b4dd)
2019-08-20 18:16:28 +00:00
Tracy Zhou d3ef57b4dd Make sure that live tile overlay is added only once.
Users report seeing empty launcher. After adding some logging, live tile
overlay can be added twice and removed only once. I added some logic to
make sure that it can only be added once.

Test: manual
Fixes: 135864059
Change-Id: I9d3325c56e76654f1397cc65979b97a6c0a80aee
2019-08-19 23:38:41 -07:00
android-build-team Robot 94ec645dff Snap for 5811156 from fcc74217d1 to rvc-release
Change-Id: I2d3e951b43ce66e03f49077bf5e24c3c3e8e961e
2019-08-17 23:15:42 +00:00
android-build-team Robot 520081b487 Snap for 5811135 from 63b2cbc0c7 to qt-qpr1-release
Change-Id: Id1d0804174d7a370929d8e6734e3dc0fef619361
2019-08-17 23:05:13 +00:00
Pinyao Ting d1f712d14b [automerger skipped] add null check when accessing target component from iteminfo
am: d88f63bbed -s ours
am skip reason: change_id I25d0100077de67b085c27b5ef91e22c6ac1ad959 with SHA1 2f9019e56c is in history

Change-Id: I9db3c71c11571962dcb18afec7ce31397d58c8e5
2019-08-16 16:23:31 -07:00
Samuel Fufa 6888b5ceaa Merge "Support Agassi (Search Engine choice) in Android R" into ub-launcher3-master 2019-08-16 21:57:58 +00:00
Pinyao Ting d88f63bbed add null check when accessing target component from iteminfo
Bug: 139540363
Change-Id: I25d0100077de67b085c27b5ef91e22c6ac1ad959
Merged-In: I25d0100077de67b085c27b5ef91e22c6ac1ad959
2019-08-16 21:50:21 +00:00
Samuel Fufa 9ec8cfa269 Support Agassi (Search Engine choice) in Android R
Test:
1) set your preferred search provider using `adb shell settings put global SEARCH_PROVIDER_PACKAGE_NAME <value>`.(eg: com.duckduckgo.mobile.android)
2) install the package name and confirm search widget on launcher is updated
3) uninstalled the package and confirm widget is replaced with placeholder on launcher.

Bug:137653564
Change-Id: I8904d5915a8c03ea6068fb5950af15ca786b8ad7
2019-08-16 14:46:00 -07:00
Pinyao Ting 2f9019e56c add null check when accessing target component from iteminfo
Bug: 139540363
Change-Id: I25d0100077de67b085c27b5ef91e22c6ac1ad959
2019-08-16 14:25:31 -07:00
Hyunyoung Song b00a1e2a0a Merge "Add READ_DEVICE_CONFIG permission Bug: 138964490" into ub-launcher3-qt-qpr1-dev
am: 74aff3b206

Change-Id: I167b288775f16542791b24ad04b837cf22f66d17
2019-08-16 12:12:10 -07:00
Hyunyoung Song 74aff3b206 Merge "Add READ_DEVICE_CONFIG permission Bug: 138964490" into ub-launcher3-qt-qpr1-dev 2019-08-16 18:59:04 +00:00
Vadim Tryshev f24ae74cd2 Merge "Extending the list of test owners" into ub-launcher3-qt-qpr1-dev
am: 1cbdcb2961

Change-Id: I5f01dc9b50cc33499bd9cb88913157802656cd52
2019-08-16 10:56:32 -07:00
Vadim Tryshev 1cbdcb2961 Merge "Extending the list of test owners" into ub-launcher3-qt-qpr1-dev 2019-08-16 17:36:54 +00:00
Hyunyoung Song 2dac6f8d30 Add READ_DEVICE_CONFIG permission
Bug: 138964490

Change-Id: I5e119de3d4725aaa0e9c843d1e3d65df2c6c756e
2019-08-16 10:18:11 -07:00
android-build-team Robot f13edbd5cc Snap for 5807722 from 6991a015ad to qt-c2f2-release
Change-Id: I22b923319cc497e3dc774b35d155841d37939336
2019-08-16 05:12:51 +00:00
Xin Li fcc74217d1 [automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master am: 5487e82df5 -s ours am: 4117bb8201 am: 263d196387
am: 97dfdf3654 -s ours
am skip reason: subject contains skip directive

Change-Id: I5e8f5f57c3d4d14fdf54d5c1380a98764d694874
2019-08-15 18:47:44 -07:00
Xin Li 97dfdf3654 [automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master am: 5487e82df5 -s ours am: 4117bb8201
am: 263d196387

Change-Id: I6f6482af0bc76e0006aabb08eb3f514588e3c390
2019-08-15 18:05:35 -07:00
Vadim Tryshev 30cd83ef2d Merge "Logging to catch INJECT PERMISSION problem" into ub-launcher3-qt-qpr1-dev
am: 96a066ab52

Change-Id: I736858db69b4b4fb396890ca2f27804c37479efb
2019-08-15 17:35:18 -07:00
Xin Li 263d196387 [automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master am: 5487e82df5 -s ours
am: 4117bb8201

Change-Id: I7957f27fb7ab5f4e6c3fb5b8c18ccd731ed6a991
2019-08-15 17:31:04 -07:00
Vadim Tryshev 96a066ab52 Merge "Logging to catch INJECT PERMISSION problem" into ub-launcher3-qt-qpr1-dev 2019-08-15 23:41:59 +00:00
Xin Li 4117bb8201 [automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master
am: 5487e82df5 -s ours
am skip reason: subject contains skip directive

Change-Id: I31a24ffd3834839da5aafb9419d7480febbb4bde
2019-08-15 16:36:36 -07:00
vadimt 47144ca73c Logging to catch INJECT PERMISSION problem
Bug: 139498375
Change-Id: Ib7b8e1997bae9d4ff9cce7cf8690e42b6fdaaf38
2019-08-15 16:06:58 -07:00
Hyunyoung Song 27df700f05 Merge "Make TogglableFlag backed by DeviceConfig for e2e testing" into ub-launcher3-qt-qpr1-dev
am: 96eba3aea6

Change-Id: I738256f1623119a61197c03008e098b066161542
2019-08-15 16:03:32 -07:00
Hyunyoung Song 96eba3aea6 Merge "Make TogglableFlag backed by DeviceConfig for e2e testing" into ub-launcher3-qt-qpr1-dev 2019-08-15 22:25:33 +00:00
Hyunyoung Song d4204437de Make TogglableFlag backed by DeviceConfig for e2e testing
Bug: 138964490

TL;DR;; need this to be part of QQ1 or QD1 to verify if DeviceConfig
can be supported for launcher toggleableFlags.

Not handled in this CL:
- When flag is locally modified, that will override the flag value
How that scenario is handled should be discussed separately and is not
within scope of this CL.

Change-Id: I2e6694a40bee9202ed0b0d559e3b5607634071bf
2019-08-15 14:02:28 -07:00
Samuel Fufa 84245e84c8 Default name's language of folder won't change after changing the system language
Test: Manual - Create unnamed folder and change system language. Folder
name should pickup new language.
Bug:78611156
Change-Id: Ie06baebe5b9a64e91630c581b75b674f363b9973
2019-08-15 09:56:12 -07:00
Sunny Goyal 2d7dcf1e71 Merge "Always go to home in case of fling-up am: 64155533b6 am: 6991a015ad" into qt-r1-dev-plus-aosp am: 641a5264d9
am: 7f4e761fac

Change-Id: I76310bc071aba99ba943017a01180fc5b4b8584c
2019-08-14 20:44:02 -07:00
Sunny Goyal e9f2f0d2ed Merge "Always go to home in case of fling-up am: 64155533b6 am: 6991a015ad am: 63b2cbc0c7" into qt-qpr1-dev-plus-aosp
am: de87b780cb

Change-Id: I96bd9279d5243dd203fb37f9eeb5ca73af8b4de7
2019-08-14 20:43:45 -07:00
Sunny Goyal 9e2eeafefe Always go to home in case of fling-up am: 64155533b6 am: a81eeeff14 am: cee500b482
am: 1d272f7178

Change-Id: Ic3cd2b95c76b6cb210d6f06324d4a722115aebcf
2019-08-14 20:43:22 -07:00
Sunny Goyal 7f4e761fac Merge "Always go to home in case of fling-up am: 64155533b6 am: 6991a015ad" into qt-r1-dev-plus-aosp
am: 641a5264d9

Change-Id: Ia62e9fc6dbd44e57bf6741bccd9563450c08fe72
2019-08-14 20:33:39 -07:00
Android Build Merger (Role) de87b780cb Merge "Always go to home in case of fling-up am: 64155533b6 am: 6991a015ad am: 63b2cbc0c7" into qt-qpr1-dev-plus-aosp 2019-08-15 03:33:31 +00:00
Sunny Goyal 1d272f7178 Always go to home in case of fling-up am: 64155533b6 am: a81eeeff14
am: cee500b482

Change-Id: I3e0a511925345edceb77a2f8ab52334e269caea0
2019-08-14 20:33:20 -07:00
Sunny Goyal 556df64ac3 Always go to home in case of fling-up am: 64155533b6 am: 6991a015ad
am: 63b2cbc0c7

Change-Id: I4397bc0d5a1c131f049a0de66208af4123210195
2019-08-14 20:33:20 -07:00
Android Build Merger (Role) 641a5264d9 Merge "Always go to home in case of fling-up am: 64155533b6 am: 6991a015ad" into qt-r1-dev-plus-aosp 2019-08-15 03:23:41 +00:00
Sunny Goyal cee500b482 Always go to home in case of fling-up am: 64155533b6
am: a81eeeff14

Change-Id: I215a5783ff916be8e75a029f00d4179fb55bb9ef
2019-08-14 20:23:28 -07:00
Sunny Goyal 63b2cbc0c7 Always go to home in case of fling-up am: 64155533b6
am: 6991a015ad

Change-Id: I199c1bacf113cc886bbd46736a1de8c47330ef01
2019-08-14 20:23:26 -07:00