Commit Graph

20449 Commits

Author SHA1 Message Date
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
Becky Qiu
1289197487 Merge "Log the event for swiping up to dismiss a task in Overview." into ub-launcher3-qt-qpr1-dev
am: 22edac9bf5

Change-Id: Iae05c668fecf84c79086cfb6821e9644ac08bb71
2019-08-14 13:09:14 -07:00
Sunny Goyal
11a50747ed Refactoring some folder binding logic:
> Moving grid calcutation in a separate class
> Moving content saving logic to folder instead of relying on item bind

Bug: 139051851
Change-Id: I81b226dbebe13652482a767c992e8cc8f4f35a60
2019-08-14 12:03:09 -07:00
yingleiw
02cc848896 Add directional accessibility page actions to PagedView
For PagedView, when isPageOrderFlipped is true, it means the LTR mode is
flipped. For the "recents" in launcher, isPageOrderFlipped is true.
However, this doesn't affect the directional page operations since
scrollLeft()/Right() already has correct Rtl considerations. See
b/78788182 for more information on the LTR mode.

Test: Tested with the "recents" in launcher. Verified that page left
action always move pages to the right (so that the next page from the
left side shows), and page right actions always move pages to the left
(so that the next page from the right side shows). Also tested with the
home screen 1/2, 2/2 paging.
Bug: 136277517

Change-Id: I965d651c37d258eaa8ea347d1ad6f698f9b590bf
2019-08-14 18:05:08 +00:00
Becky Qiu
22edac9bf5 Merge "Log the event for swiping up to dismiss a task in Overview." into ub-launcher3-qt-qpr1-dev 2019-08-14 17:48:45 +00:00
Vadim Tryshev
3cc153813a Merge "Improving screenshot path" into ub-launcher3-qt-qpr1-dev
am: b13fdc8d6f

Change-Id: I13b492655978c173cd2944c81a7d4753f2655494
2019-08-14 10:33:43 -07:00
Vadim Tryshev
b13fdc8d6f Merge "Improving screenshot path" into ub-launcher3-qt-qpr1-dev 2019-08-14 17:25:22 +00:00
vadimt
cc5b17b351 Improving screenshot path
Change-Id: If61bbf0bbc8ace31142bc0e2d598d72ce48de360
2019-08-13 17:49:15 -07:00
Samuel Fufa
866ff00eb3 Add a "Dismiss" option for predicted apps in Launcher
Test: LongPress on a pridicted app to see dismiss options.
Bug:139020180
Change-Id: I877863c65def0d845c0ae2f0987fe7a4f6277565
2019-08-13 23:57:11 +00:00
Sunny Goyal
237441a2b4 Always go to home in case of fling-up am: a2cfc2d95e
am: f3dac0ef13

Change-Id: I3ff8759dcf2134d8d0bc991dff78af57880c137b
2019-08-13 15:08:00 -07:00
Sunny Goyal
f3dac0ef13 Always go to home in case of fling-up
am: a2cfc2d95e

Change-Id: I560fd690882998a9b503d5c30eda7f9397db138e
2019-08-13 14:58:45 -07:00
Sunny Goyal
a2cfc2d95e Always go to home in case of fling-up
Bug: 138881088
Change-Id: I86bf4c7a495805d5912b102470e72a51e843a222
2019-08-13 11:45:06 -07:00
TreeHugger Robot
d21505bcb7 Merge "Moving section names to model, to avoid an unnecessary hashmap" into ub-launcher3-master 2019-08-13 18:24:25 +00:00
TreeHugger Robot
10ed86af1d Merge "Build rule cleanup" into ub-launcher3-master 2019-08-13 00:57:42 +00:00
Alex Mang
cdbf19aa60 Merge "Adding app search improvement flag" into ub-launcher3-master 2019-08-12 19:22:25 +00:00
Danning Chen
f566d3f5d9 Merge "Create a HotseatPlugin interface." into ub-launcher3-master 2019-08-12 16:58:36 +00:00
Danning Chen
ba4077d9e0 Create a HotseatPlugin interface.
Change-Id: I382795262433879be4c4360fa12ab5bd1e41a297
2019-08-09 11:37:47 -07:00
Becky Qiu
90ea00b399 Log the event for swiping up to dismiss a task in Overview.
Test: manual
Bug: 137777105

Demo logging for dismissing a task:
  data {
    elapsed_timestamp_nanos: 70772067228810
    atom {
      launcher_event {
        action: DISMISS_TASK
        src_state: OVERVIEW
        dst_state: BACKGROUND
        is_swipe_up_enabled: true
      }
    }
  }

Change-Id: I5569b80e2e1f35661bc5e9e343c6c298791a1ec1
2019-08-09 10:57:05 -07:00
vadimt
3c523040cb Support for memory tests
am: c1a2764a6e

Change-Id: Ife853a32fa9e52f8993d25167af61dabc7fd64b8
2019-08-09 10:40:20 -07:00
Alex Mang
d27e31995b Adding app search improvement flag
Bug: 125027540
Change-Id: I68fd7710b108e9f2fa1f5ff335326585a92deb23
2019-08-09 01:51:23 +00:00
vadimt
c1a2764a6e Support for memory tests
Change-Id: I867a232a293f7bddbc630f563f18c0db94ac4b6e
2019-08-08 12:03:09 -07:00
Vinit Nayak
268e4ff95c Remove activityInfo from cache on package uninstall
We were keeping stale activityInfo objects from
package manager after an application got uninstalled.
We also were not removing task icons from the
cache after they were removed, which meant killing an
app and then re-opening would put 2 entries in the cache
since the two had unique process IDs.

fixes: 137731960
Test: Download app from play store, open it,
go to overview and observe that correct icon showing.
Uninstall it, download same app again, open it, and
in overview confirm that correct app icon is still showing

Change-Id: Icf482b0ad0ae66c10d52547582d8eeb2a544fb88
2019-08-08 11:11:03 -07:00