Commit Graph

20520 Commits

Author SHA1 Message Date
Becky Qiu 6d0d8969f6 Merge "Move swipe actions on container logging to west world." into ub-launcher3-qt-qpr1-dev 2019-08-23 18:03:02 +00:00
Samuel Fufa ca37b8afe5 Add support for searchwidget in layout files.
Test: Manual
Bug:139703885
Change-Id: I86b36187d95bb5db59dbf6ae2e20373d23e55aa1
2019-08-23 10:58:13 -07:00
Samuel Fufa 03302548ae Close shortcut menu after launching from hotseat
+ Fixed bug where popup menu does not close when animations are disabled.

Test: Manual
Bug:123298377
Change-Id: I863241158e09a618af6243d8afd70549421013d0
2019-08-23 10:54:57 -07:00
Vadim Tryshev 29a8f130fb Merge "Not freezing All Apps during user interactions" into ub-launcher3-qt-qpr1-dev
am: 94dcb3b5bf

Change-Id: I110730f8abb1d63c363aba9939799570bea69f07
2019-08-22 17:32:16 -07:00
Vadim Tryshev 94dcb3b5bf Merge "Not freezing All Apps during user interactions" into ub-launcher3-qt-qpr1-dev 2019-08-23 00:05:38 +00:00
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
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
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
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
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
Vadim Tryshev 96a066ab52 Merge "Logging to catch INJECT PERMISSION problem" into ub-launcher3-qt-qpr1-dev 2019-08-15 23:41:59 +00: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
vadimt a81be5003c Extending the list of test owners
Otherwise, changes in tests would require my-only approval.

Change-Id: Ia957a28a5a8e55dc2ee4efdf9a46c91511d3e611
2019-08-14 17:18:45 -07:00
Vadim Tryshev aec2d5afca Merge "Temporary workaround for UIAutomator not recognizing a new window" into ub-launcher3-qt-qpr1-dev
am: 68f5d6bf76

Change-Id: I1708938ae4db969398a9718e50127d1d22ed427d
2019-08-14 16:51:03 -07:00
Vadim Tryshev 68f5d6bf76 Merge "Temporary workaround for UIAutomator not recognizing a new window" into ub-launcher3-qt-qpr1-dev 2019-08-14 23:34:22 +00:00
Sunny Goyal cee8bce1ce [automerger skipped] Merge "Adding support for storing keywords in iconCache" into ub-launcher3-qt-qpr1-dev
am: 46463f6a19 -s ours
am skip reason: change_id I1183e63a6556ebfb3eee5df23d149e09728193a9 with SHA1 934ebd087b is in history

Change-Id: I443b1b497073c3c2fbea029c8a7779aaec4001d2
2019-08-14 16:31:36 -07:00
Sunny Goyal 3ad44dcc2d [automerger skipped] Adding support for storing keywords in iconCache
am: 934ebd087b -s ours
am skip reason: change_id I1183e63a6556ebfb3eee5df23d149e09728193a9 with SHA1 e529a86fbd is in history

Change-Id: Ib88dc17c83c95d0b2437f2d8e1c7b638cd863e5e
2019-08-14 16:30:16 -07:00
Alex Mang 43112be53b [automerger skipped] Merge "Adding app search improvement flag" into ub-launcher3-qt-qpr1-dev
am: 4c19f94181 -s ours
am skip reason: change_id I68fd7710b108e9f2fa1f5ff335326585a92deb23 with SHA1 d27e31995b is in history

Change-Id: I9138c0b4a9de39d9afaaac6e65d74696ed28f0b9
2019-08-14 16:30:05 -07:00
TreeHugger Robot 46463f6a19 Merge "Adding support for storing keywords in iconCache" into ub-launcher3-qt-qpr1-dev 2019-08-14 23:08:43 +00:00
TreeHugger Robot 4c19f94181 Merge "Adding app search improvement flag" into ub-launcher3-qt-qpr1-dev 2019-08-14 23:08:43 +00:00
Android Build Merger (Role) 847520f468 Merge "Fixed PredictionAppTracker as service might not be available on device. am: 7ca46ba2ee" into ub-launcher3-master 2019-08-14 22:53:59 +00:00
Felipe Leme 0940c487b1 Fixed PredictionAppTracker as service might not be available on device.
am: 7ca46ba2ee

Change-Id: Ib7eed879bdb25291cd5faefa5e2176aed0b32095
2019-08-14 15:53:49 -07:00
vadimt 849b201de0 Temporary workaround for UIAutomator not recognizing a new window
Bug: 112282235
Change-Id: I145bb88d72689f8c6d61ba3481f25d8978933ab2
2019-08-14 15:38:34 -07:00
Sunny Goyal 934ebd087b Adding support for storing keywords in iconCache
Change-Id: I1183e63a6556ebfb3eee5df23d149e09728193a9
Merged-In: I1183e63a6556ebfb3eee5df23d149e09728193a9
(cherry picked from commit e529a86fbd)
2019-08-14 22:12:49 +00:00
Samuel Fufa 8628eb9353 Sorting people by key crashes launcher
Approch: approach: filter out people with null getKey before sorting.

Bug:139436782
Change-Id: I6510a12374ff4fec02c879ff76ba42b1fcdb8281
2019-08-14 15:12:43 -07:00
Felipe Leme 7ca46ba2ee Fixed PredictionAppTracker as service might not be available on device.
Fixes: 139416391
Bug: 135218095

Test: echo 'in TreeHugger we trust'

Change-Id: Iea89b3d379792327657e01869c9494975e7b0306
(cherry picked from commit 214a45ee02)
2019-08-14 22:02:22 +00:00
Alex Mang 713cd6fd56 Adding app search improvement flag
Bug: 125027540
Change-Id: I68fd7710b108e9f2fa1f5ff335326585a92deb23
Merged-In: I68fd7710b108e9f2fa1f5ff335326585a92deb23
(cherry picked from commit d27e31995b)
2019-08-14 21:58:57 +00:00
TreeHugger Robot 23582eb7c0 Merge "Refactoring some folder binding logic:" into ub-launcher3-master 2019-08-14 21:10:20 +00:00
yingleiw 6f703ccff5 Add directional accessibility page actions to PagedView
am: 02cc848896

Change-Id: Ide8077d5996de0faaec6d1ef0afee0e0e639d889
2019-08-14 13:09:36 -07:00