Commit Graph

34630 Commits

Author SHA1 Message Date
Samuel Fufa 68c57419c0 Log App Predictions from AiAi
+ Update edu screen strings

Bug:142753423
Test:Manual
Change-Id: If2424d134a5f9d2cafa248949a249ee2c7296276
2020-01-23 16:42:31 -08:00
TreeHugger Robot 3c7f820e2b Merge "More readable formatting for events mismatch message" into ub-launcher3-master 2020-01-24 00:19:24 +00:00
vadimt daed318930 Recognizing a Launcher ANR
Change-Id: Ib26df7b6e9f9e6b85f93d2aa2a4a0204430e304f
2020-01-23 15:19:46 -08:00
vadimt ff7cd03d43 More readable formatting for events mismatch message
This helps for longer event lists.

Change-Id: Ie3565d2ccdde27d23770d01b4f9d4680bd8e229b
2020-01-23 13:40:54 -08:00
Vadim Tryshev 8cf7b03cad Merge "Adding auto-investigation of one more flake" into ub-launcher3-master 2020-01-23 20:17:33 +00:00
Zak Cohen 54559b6451 SystemUiProxy - add dummy method to make compile happy.
Updated ISystemUiProxy.aidl , this change adds a dummy method to make
launcher in master compile.

Implementation will come from unbundled branch.

Test: local build and run
Change-Id: I295058eed65b35098525c4a51bf5ab6e746a98f7
2020-01-23 11:53:30 -08:00
Sunny Goyal 3970b8b797 Merging from ub-launcher3-master @ build 6155931
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6155931.html

Change-Id: I2083903dafc81c9b35437054be6a42a0612f0749
2020-01-23 10:11:24 -08:00
android-build-team Robot 0304161d6d Snap for 6154573 from 6b9595f607 to rvc-release
Change-Id: I00feb5270dd44c62f260bd9a3be81bcf9425aff0
2020-01-23 04:30:48 +00:00
vadimt 29d8b54957 Disabling events checks for successful gestures by default
Launcher tests will still perform checks upon every gesture completion.

All tests using tapl will still use events for diagnostics if the
gesture fails.

The benefit is that system health and other platform tests won't have to
use expensive logcat, and moreover, wait seconds for the events to
appear in logcat because of buffering in logcat.

Change-Id: I3b5a0965d9432144d0c4a8b40ebe2fa89b19a689
2020-01-22 19:16:32 -08:00
TreeHugger Robot 51ee9cf03e Merge "TAPL: verify input events" into ub-launcher3-master 2020-01-22 22:45:51 +00:00
vadimt 9af34a7b13 TAPL: verify input events
This will catch cases, for example, when the platform stops delivering
injected events to Launcher, or injects unexpected events, like Back
Button.

Also optimizing and fixing incorrect behavior of calculating the start
time for the event collection.

Change-Id: I2ba0108e6bfa112f2905a05bcb327b148ec08f77
2020-01-22 14:10:53 -08:00
vadimt f51cbd8e69 Use wrapped launcher animation runner for app launch
- Prevents a lingering reference to the icon view

Bug: 139137636
Change-Id: I576dd4f55609dbe75ef37a5f264eb808e571863d
2020-01-22 11:24:28 -08:00
Hyunyoung Song a85f3c2f2d Disable FOLDER_NAME_SUGGEST flag
Bug: 147913781

Change-Id: I12ec71e1fef735f41bb67b155df40335f88d95c9
2020-01-22 09:26:29 -08:00
Hyunyoung Song dc2c128b20 Merge "Updating feature flags subclassing" into ub-launcher3-master 2020-01-22 07:16:54 +00:00
android-build-team Robot 29225e4839 Snap for 6152176 from 25a97f5655 to rvc-release
Change-Id: If55e4c2b395f704aa7c5741f5c31cbb5dcf06904
2020-01-22 04:29:29 +00:00
vadimt 2c6316be46 Adding auto-investigation of one more flake
Reshuffling the tests to make the investigator the outmost rule and run
the code that throws the original exception inside the investigator.

Change-Id: I714717a9b616862db5ce59116138ba7ea6ceb971
2020-01-21 19:06:59 -08:00
TreeHugger Robot 8c786b2e5c Merge "Adds Launcher flag to enable Universal Smartspace." into ub-launcher3-master 2020-01-22 01:53:36 +00:00
TreeHugger Robot 1348e44378 Merge "TAPL: Optimization: avoid getting actual events twice" into ub-launcher3-master 2020-01-22 01:15:44 +00:00
Adam Cohen 6b9595f607 Merging from ub-launcher3-master @ build 6150369
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6150369.html

Change-Id: Ia79497c0a9f03cf6ad9e9daa58ed34c02a36e879
2020-01-22 01:10:38 +00:00
TreeHugger Robot d44326c2e7 Merge "Automatically diagnosing known flakes" into ub-launcher3-master 2020-01-21 22:56:35 +00:00
Sunny Goyal 94fa76fbeb Updating feature flags subclassing
> Preventing debug flags to get change listener on release device

Bug: 147913781
Change-Id: I2bd0456918c5d3224c714b153c4565b1ef41d7c0
2020-01-21 14:22:58 -08:00
vadimt cffe99f0bb Automatically diagnosing known flakes
It often takes a long time to fix a flake; meanwhile it takes a lot of
time for sheriffs to identify whether to register a new flake for a
failure.

This CL adds automatic identifies identification of one know flake type.
Once identified, it rewrites the error so that:
1. Flakes clustering tool that has only rudimentary clustering, places
all flakes of this kind in the same cluster (not multiple ones like
now). This is a step towards using clustering tool for monitoring
flakes;
2. Sheriff immediately sees that the issue is known.

Change-Id: I86a0762665cb21434289e1be00b60bd76fec4142
2020-01-21 13:29:37 -08:00
Muhammad Qureshi 25a97f5655 Merge "Use autogenerated SysUiStatsLog for statsd logging" 2020-01-21 21:22:14 +00:00
android-build-team Robot 395face51f Snap for 6145313 from 4e1a9b8236 to rvc-release
Change-Id: Ie327f4b0e17d02ae0673dcde4db4542f3e08fbce
2020-01-18 04:11:26 +00:00
TreeHugger Robot 745aff4294 Merge "Fix regression where ShortcutRequest returns no results" into ub-launcher3-master 2020-01-18 00:46:44 +00:00
Tony Wickham d11fa28df9 Fix regression where ShortcutRequest returns no results
There was a subtle bug introduced by ag/9898176 where we now accept
String... shortcutIds. There are a couple calls that don't pass any
id's, which means the shortcut query is doomed to return an empty list.
Instead, we should pass null to match all shortcuts for that package.

Bug: 147831521
Change-Id: I928b6ed23b7e0ad01d95749cabf88ada053bcdd3
2020-01-17 16:14:13 -08:00
Andy Wickham ff13792b83 Adds Launcher flag to enable Universal Smartspace.
Test: Used the flag
Bug: 141701658
Change-Id: Id06016e313b05ae70b693c39e2e1cde2576cfbb1
2020-01-17 23:03:03 +00:00
Winson Chung 442d5e5bcd Merge "Move remote animation definition runner to wrapped class" into ub-launcher3-master 2020-01-17 22:59:20 +00:00
Automerger Merge Worker 4e1a9b8236 [automerger skipped] Merge "Merge "Move the app to /system_ext" am: ca891c7a22" into stage-aosp-master am: a95d53aeb7 -s ours am: abe4bf7ecd -s ours
am skip reason: Change-Id Ida940a2e1bb832cf5c3d147297e7ed65fa6921d5 with SHA-1 6af66b01c7 is in history

Change-Id: I88fb1e88a20dd24c9296be6afe2d9545960e175d
2020-01-17 22:12:43 +00:00
Automerger Merge Worker 4841e33bd2 [automerger skipped] Merge "Move the app to /system_ext" am: ca891c7a22 am: 2f08bc884d -s ours am: a4c070ddbc -s ours
am skip reason: Change-Id Ida940a2e1bb832cf5c3d147297e7ed65fa6921d5 with SHA-1 6af66b01c7 is in history

Change-Id: I8b62651e320ce1dd6a4adf75564e0deb92b0cea2
2020-01-17 22:11:27 +00:00
Automerger Merge Worker c0f147b41a [automerger skipped] Merge "Move the app to /system_ext" am: ca891c7a22 am: 9db6d5922b am: 2e47d86840 -s ours
am skip reason: Change-Id Ida940a2e1bb832cf5c3d147297e7ed65fa6921d5 with SHA-1 6af66b01c7 is in history

Change-Id: I24a2eb5fc85482edad8f49d06f963ea6cdd43102
2020-01-17 22:04:00 +00:00
Automerger Merge Worker abe4bf7ecd [automerger skipped] Merge "Merge "Move the app to /system_ext" am: ca891c7a22" into stage-aosp-master am: a95d53aeb7 -s ours
am skip reason: Change-Id Ida940a2e1bb832cf5c3d147297e7ed65fa6921d5 with SHA-1 ad91de5185 is in history

Change-Id: I6f55d9c052778a1a0c03de7f1f87739fff00d875
2020-01-17 22:01:29 +00:00
Automerger Merge Worker a4c070ddbc [automerger skipped] Merge "Move the app to /system_ext" am: ca891c7a22 am: 2f08bc884d -s ours
am skip reason: Change-Id Ida940a2e1bb832cf5c3d147297e7ed65fa6921d5 with SHA-1 ad91de5185 is in history

Change-Id: If361783d0077d823fdf75fee247de2f0271d1065
2020-01-17 21:59:59 +00:00
Automerger Merge Worker 2e47d86840 Merge "Move the app to /system_ext" am: ca891c7a22 am: 9db6d5922b
Change-Id: I393f3bf319a9fc600949bd4361460edb8030b70c
2020-01-17 21:49:08 +00:00
TreeHugger Robot 9311785daf Merge "Better diags and a small correction for scrolling in AllApps" into ub-launcher3-master 2020-01-17 21:48:52 +00:00
Winson Chung 24ab40cebe Move remote animation definition runner to wrapped class
- Add call to unregister for remote animations from the system
  when the launcher activity is destroyed to prevent a lingering
  reference from the system to the old activity. But separately,
  to not have to wait for the system to GC before clearing the
  binder ref, we also wrap all runner implementations so that
  they can be cleaned up after a GC in our process only.

Bug: 139137636

Change-Id: Ib6276cac80b446440ec101fe00eae6ca41fdf32c
2020-01-17 21:34:54 +00:00
TreeHugger Robot 163d4d0184 Merge "TAPL: performing event verification for all gestures" into ub-launcher3-master 2020-01-17 21:16:24 +00:00
vadimt 299aaf3a8a TAPL: performing event verification for all gestures
+ missed comments from earlier CLs

Change-Id: Iec84de66a3ff9c2aa59a11566560fa6f169190d0
2020-01-17 12:25:40 -08:00
Android Build Merger (Role) a95d53aeb7 Merge "Merge "Move the app to /system_ext" am: ca891c7a22" into stage-aosp-master 2020-01-17 20:18:00 +00:00
Jeongik Cha 2f08bc884d Merge "Move the app to /system_ext"
am: ca891c7a22

Change-Id: Iff6d217bfc02ddad2a622e9f5481d36eedf87b9b
2020-01-17 12:14:00 -08:00
Automerger Merge Worker 9db6d5922b Merge "Move the app to /system_ext" am: ca891c7a22
Change-Id: I1742d39655c879123a0c8206a1c3a0b2ffef62fd
2020-01-17 20:13:15 +00:00
Amos Bianchi dda7490c34 Fix gradle build of Launcher3
Test: build, run

Change-Id: I121fe3174bdb2292ae8f08ab610da2bac01251b3
2020-01-17 11:24:43 -08:00
TreeHugger Robot bb150db0cd Merge "Removing flake when 2 long-press events happened on single long press" into ub-launcher3-master 2020-01-17 17:48:06 +00:00
TreeHugger Robot b616ee02f5 Merge "Verifying that Launcher didn't crash in TaplTestsQuickstep" into ub-launcher3-master 2020-01-17 16:27:25 +00:00
Treehugger Robot ca891c7a22 Merge "Move the app to /system_ext" 2020-01-17 11:44:41 +00:00
android-build-team Robot 45587df2a9 Snap for 6142138 from 2b9151f0f6 to rvc-release
Change-Id: I6513c3598fcdda36bdcb5e423a4585bb83744b1d
2020-01-17 04:23:56 +00:00
TreeHugger Robot f3b71bb230 Merge "hook database restore with restore session" into ub-launcher3-master 2020-01-17 01:37:07 +00:00
vadimt d8827bad12 Verifying that Launcher didn't crash in TaplTestsQuickstep
TaplTestsLauncher3 already do this

Change-Id: I17fe638b81cbef4cf5230a6bd49b165e4f9e7855
2020-01-16 17:28:43 -08:00
vadimt 2ea348ff87 Removing flake when 2 long-press events happened on single long press
There is some unknown to me logic in Launcher that sometimes duplicates
the long-press event . This causes flakes whenTAPL expects one long
press, but the actual sequence is 2 events.

That duplication logic seems to be related to race conditions is is hard
to repro. For now, just removing long-press verification. I'll start
with more deterministic events.

Bug: 147806932
Change-Id: I03841131bf8cae88011824f660f2c7b1906592f4
2020-01-16 17:10:55 -08:00
Pinyao Ting ad5f24072c hook database restore with restore session
1. Create feature flag for new backup & restore flow.
2. For each restore session (install reason is restore),
   if its creation time is newer than the one we have in
   SharedPreference, we update the entry and restores
   favorite table from backup.
3. The restore operation is debounced so that when
   multiple restore session is created within a small
   amount of time, only the last invocation will get
   executed.

Bug: 141472083
Change-Id: I7b5b63ec28741ba2b02ccfd13f591c961362ba36
Test:
1. apply on master, build & flash on physical device.
2. factory reset the device.
3. go through SuW, perform restore, exit without
   adding work profile.
4. settings -> account -> add work profile account.
5. finish work profile setup, verify work profiles
   is restored as well.
2020-01-16 16:01:54 -08:00