Alistair Delva
087a9e39b6
Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ..."
...
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert submission 12738409-merge_ub-launcher3-master_6877130
Reason for revert: Introduced crashes to global presubmit
Reverted Changes:
I624658ce6:Merge commit '8d14dbe041199d611839140f1c9285fd4174...
Iccd2f1e3a:Merging from ub-launcher3-master @ build 6877130
I791d64951:Merging from ub-launcher3-master @ build 6877130
Icdd32ab01:Merging from ub-launcher3-master @ build 6877130
Bug: 169963211
Change-Id: I77a4ae59e823147beae8dd7cb9b54ccdace2c7f4
2020-10-05 14:46:26 +00:00
Matt Casey
49a94be109
Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' into merge_ub-launcher3-master_6877130
...
Change-Id: I624658ce682b55042a12faacd4cf0cfd5d3a9a56
2020-10-01 18:55:38 +00:00
Samuel Fufa
9fa2d8812a
Resolve race condition between @Before conditions
...
Bug: 159671700
Change-Id: I5c96c32c171b7b539ce0ea799cf45955c2bee670
2020-09-30 10:57:04 -07:00
Samuel Fufa
e806f95349
Additional logs to resolve flaky work profile
...
Bug: 159671700
Change-Id: I9bed08ef89b06f79ee1e6a4140a880eeeb76ee75
2020-09-22 12:57:45 -07:00
vadimt
b1ee0a020f
Remove tracing for a non-repro flake
...
Change-Id: I53cc5020435bb3b630754a77d73590b35b595407
2020-09-17 11:53:44 -07:00
Treehugger Robot
ece21e957e
Merge "optimization of searching apps in Chinese" am: a0357329e0 am: f655c6e433 am: b634086d6c am: 27ae39420e am: 44150f8da4
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1425241
Change-Id: I1b270e7153c41789fb6a7eba88f29b0baa27780e
2020-09-17 14:52:29 +00:00
Treehugger Robot
44150f8da4
Merge "optimization of searching apps in Chinese" am: a0357329e0 am: f655c6e433 am: b634086d6c am: 27ae39420e
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1425241
Change-Id: Ic0b8025774c0c62e039ea9edd6f8f0e545107488
2020-09-17 14:12:18 +00:00
zhaoguomanong
97cc6df21d
optimization of searching apps in Chinese
...
Signed-off-by: zhaoguomanong <zhaoguomanong@gmail.com >
Change-Id: Id322eb8b5249d6163da8a5d3476a6cf9500ad6bb
2020-09-10 22:58:15 -04:00
Mehdi Alizadeh
4595166bf5
Merging from ub-launcher3-master @ build 6767682
...
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6767682.html
Change-Id: I5e9c73a7ac3033fe82006c4bd72824f56b8988f8
2020-08-16 12:31:21 -07:00
Hyunyoung Song
bb71582658
Merge remote-tracking branch 'goog/ub-launcher3-master' into temp
...
Test: make builds
Change-Id: I4e845aa51c9247328159e5aa0d95d425bffa435c
2020-08-06 11:04:41 -07:00
Raman Tenneti
ab98166c36
AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance.
...
See https://source.android.com/setup/contribute/respectful-code for reference
BUG=161896447
Test: make and Presubmit verify.
Change-Id: I44e903046dd4cd9c7c07872fc56a8d552eb09522
2020-08-04 00:35:03 +00:00
TreeHugger Robot
cb89edcbcc
Merge "Changing minimum supported Launcher version to 26" into ub-launcher3-master
2020-08-03 22:24:14 +00:00
Yuchen He
30caccbbc2
Enable memory dump for Launcher
...
Bug: 154772063
Change-Id: I3b2bc2e341037746891658f2596999248ec272ef
(cherry picked from commit 12baaadeca )
2020-07-31 17:07:56 +00:00
Hyunyoung Song
45c0918f47
Merging ub-launcher3-rvc-qpr-dev to rvc-qpr-dev
...
Bug: 162366734
Test: system image builds
Change-Id: I6675431b180976798afacc7a99251ae36764a50a
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-30 00:26:39 -07:00
Sunny Goyal
eaf7a95546
Changing minimum supported Launcher version to 26
...
Change-Id: I49fcf874430ac53c3246371e179fbd828e14e4da
2020-07-29 17:30:19 -07:00
TreeHugger Robot
89b670056f
Merge "Moving all-apps predictions to Launcher model" into ub-launcher3-master
2020-07-29 22:02:59 +00:00
Sunny Goyal
8b74cc761b
Moving all-apps predictions to Launcher model
...
Predictions are loaded and managed by Launcher model and follow
the model lifecycle. They are then bound to the callback which
handles the UI
Bug: 160748731
Change-Id: I4a3ea0698d80fafe94afb4ce66ffa7f4a6a91c68
2020-07-29 13:07:52 -07:00
Yuchen He
12baaadeca
Enable memory dump for Launcher
...
Bug: 154772063
Change-Id: I3b2bc2e341037746891658f2596999248ec272ef
2020-07-29 17:15:09 +00:00
Hyunyoung Song
0a4a4d920e
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
...
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
Revert submission 12190253-merge_ub-launcher3-rvc-qpr-dev_6690853
Reason for revert: Build ID picked from ub-launcher3-master and not ub-launcher3-rvc-qpr-dev
Reverted Changes:
I9e658ece0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
I2a47fe180:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ie86b0a2e0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Id3ca76da6:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ib6a63da0f:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Bug: 162366734
Change-Id: Ie81853a34c9a48d5b3fd922c65483a9ff639e0ce
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-28 23:43:43 +00:00
Samuel Fufa
884fc46942
Merge "Adding tracing for work profile removal" into ub-launcher3-rvc-qpr-dev am: 0cfcdc2170 am: c222411b30
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12241857
Change-Id: I03558944743b4672b88db0094fab8f9af65d9a55
2020-07-28 18:37:18 +00:00
Samuel Fufa
cfec6b5151
Adding tracing for work profile removal
...
Bug: 159671700
Change-Id: I6e1bcdfbf1bbaab989106ce2979575652a3fb404
2020-07-28 17:09:08 +00:00
vadimt
e1c0dda778
Eliminating 10-sec wait for a non-existing widget
...
If we want to ensure that a widget doesn't exist, it's sufficient to
wait 100 ms
Change-Id: I9982e89e1a376678df2271954ce177a90a6a579d
2020-07-23 23:06:19 +00:00
vadimt
4bc691b988
Removing workarounds for a fixed bug
...
Bug: 148422894
Change-Id: Ic6faa173ac5f28c8656daf68ac8304563264afdd
2020-07-13 20:02:13 -07:00
vadimt
a190dc1f40
Zero tolerance towards referred destroyed activities
...
After a framework fix, we are not allowing rooted
destroyed activities at all.
Bug: 139137636
Change-Id: I0dda200db438e1a1b5587636ee08f65300dfa6d1
2020-06-26 18:33:27 +00:00
vadimt
839fb7b3ae
Eliminating messages that launcher activity is frozen
...
They were ultimately caused by killing Launcher process from tests.
Now having a test info handler request to clear db.
Bug: 152629799
Change-Id: Ia81ddc3e338718c4cff08c7396b9fda1b7091024
2020-06-22 15:39:19 -07:00
vadimt
45564c831b
Removing debug requests from non-debug test info handlers
...
Bug: 152629799
Bug: 153670015
Change-Id: I02776be811d1d3325b35880d19d25a6638f904ef
2020-06-10 18:48:37 -07:00
vadimt
d9092e83d6
Removing instrumentation for unreproable bug
...
Bug: 152645831
Change-Id: Iacdb103b01375b8bf48691867b844adebcd325a0
2020-06-05 15:30:31 -07:00
TreeHugger Robot
eb0136b7c4
Merge "Abstracting out state handler logic into base classes so that it can also be used in different activity" into ub-launcher3-rvc-dev
2020-05-12 00:29:52 +00:00
TreeHugger Robot
3d668090af
Merge "Resolve Test flakes" into ub-launcher3-rvc-dev
2020-05-11 23:40:43 +00:00
Sunny Goyal
35e7d38681
Abstracting out state handler logic into base classes so that it can
...
also be used in different activity
Change-Id: Ic5e60b21e1429c71f1cd4e7041e70bf4fc9761b7
2020-05-11 16:38:26 -07:00
Samuel Fufa
b549819676
Resolve Test flakes
...
-> Synchronize calls in LoaderTask.java
issue 156041043
-> Remove non system users on setup
If a work test crashes before getting to run its teardown - we might end up with a user profile that could throw off subsequent tests.
issue 156022161
Test: Manual
Change-Id: Ife708a3de01572f7cb2187078d592d8d570dd951
2020-05-10 13:51:41 -07:00
vadimt
60d3333ff0
Adding waiting for Launcher initialization
...
This may fix or ease TIS sometimes not receiving events.
Bug: 154157191
Change-Id: I5db9e88397788014dbba9716d777a2b97347828c
2020-05-08 09:29:08 -07:00
vadimt
921f9fd254
Support for counting activity creations
...
Bug: 139137636
Change-Id: Ib999fd3c82eb2997662578ec35e1d9e1e75e3cbb
2020-04-27 12:41:26 -07:00
vadimt
0703464556
Checking that there are no more than 2 live activities at any moment
...
This is tightening the makeshift strictmode criteria.
Starting with this moment, we will know that there is
no memory growth during tests execution, which is a big deal.
Big: 139137636
Change-Id: I5edc84524463bd1736d727496ad0fc031bb9624c
2020-04-23 16:35:09 +00:00
TreeHugger Robot
d73d39b45a
Merge "Makeshift analog of Strictmode leak detector" into ub-launcher3-rvc-dev
2020-04-23 03:22:31 +00:00
vadimt
b3e8ae8230
Makeshift analog of Strictmode leak detector
...
Strictmode leak detector is still a goal, but we might not be able to
achieve it in R. Strictmode has several framework-side bugs that perhaps
hide Launcher-side strictmode violations, while the time to fix
everything is limited, and new leaks get introduced all the time.
For now, implementing a check that is slightly more relaxed than
Strictmode, but still ensures the absence of leaks. I’ll keep
eliminating Strictmode violations as well as keep strengthening the
makeshift checker conditions until we’ll be able to enable Strictmode in
continuous testing.
I’m disabling Strictmode checks for now so that they don’t generate
unnecessary hprof dumps, but leaving the code dealing with strictmode.
Bug: 139137636
Change-Id: Ib10136b0d4e9892f70a19cd052ae5a54cf0a4efb
2020-04-22 19:00:12 -07:00
Sunny Goyal
34ff8cb3c1
Adding common code for instrumentation and robolectric tests
...
Change-Id: Ia338f0565868bb174ef5f6721924944792866be6
2020-04-20 14:42:30 -07:00
TreeHugger Robot
11e36db88a
Merge "Cleanup code related to ag/11035582" into ub-launcher3-rvc-dev
2020-04-16 22:04:45 +00:00
Vinit Nayak
916456bb5f
Cleanup code related to ag/11035582
...
Fixes: 154235554
Change-Id: I114d1e1b9e446e15a774a5a51bdf988070091523
2020-04-16 14:16:56 -07:00
vadimt
cf275c1bd7
Choosing better points to output "start" events for TAPL
...
Now doing this before branching points, thus avoiding flakes when the
execution can go to an unexpected branch and not produce an event.
Bug: 153824894
Change-Id: If117da0498eaf2d94c9610552724981be34c6569
2020-04-15 12:45:11 -07:00
Vinit Nayak
770cc42685
Revert "Cleanup code related to ag/11035582"
...
This reverts commit a2a1f86dff .
Reason for revert: b/154068414
Change-Id: I1db0018fa97d5a5380651cf7d04a05a0abd62857
2020-04-15 05:24:10 +00:00
Vinit Nayak
a2a1f86dff
Cleanup code related to ag/11035582
...
Bug: 153443049
Change-Id: I2a9e46fa4ffc613751c9f427ce892ddad3878b35
2020-04-14 14:02:49 -07:00
Sunny Goyal
e396abf502
Moving model data structures to a separate file
...
Change-Id: I77ad7a5219e72d2e0d6c1803de2ac3ed6a65a8f7
2020-04-09 13:20:39 -07:00
Vinit Nayak
b9cb1e3c8f
Merge "Re-enable orientation sensor for Overview animation" into ub-launcher3-master
2020-04-02 19:02:30 +00:00
Vinit Nayak
6b7cc3fdc2
Re-enable orientation sensor for Overview animation
...
Slight revert of ag/10668129 with adjustment
of disabling it for tests.
Fixes: 151456795
Test: Ran the labtest command for OOP
tests for crosshatch (where this issue
was first detected)
Change-Id: I315d138c2e4a6d4068304e9b5fb2e1b7feb34e63
2020-04-02 11:07:10 -07:00
vadimt
00a031fbab
More diags for missing widgets
...
Bug: 152645831
Change-Id: Idf6584220328a0853cd8dd65ebb5c54bab9980fd
2020-04-01 15:33:35 -07:00
TreeHugger Robot
349e95f1e4
Merge "TAPL: Verifying activity start/stop events" into ub-launcher3-master
2020-03-28 03:45:24 +00:00
vadimt
75add7cef5
Debug tracing for "widget not present" flake
...
Bug: 152645831
Change-Id: I1e318650e45ab8e2a60eccef2f4f3c247b2a6b5b
2020-03-27 15:08:36 -07:00
vadimt
0dd1bd1113
TAPL: Verifying activity start/stop events
...
It also turned out that Pilfer event seems to come in a
non-deterministic order relative to the events from the Main and TIS
sequences. So I moved it to its own sequence.
Change-Id: Ie4ea5865afd900bebbd8287dad2372c94dce8ad5
2020-03-27 10:23:33 -07:00
vadimt
7a9f1628f2
Repeating unlocking the phone several times
...
Bug: 151613234
Change-Id: Id5cbc247d7827fa31c2011d817b2964c1486daeb
2020-03-21 15:09:39 -07:00