Commit Graph

24000 Commits

Author SHA1 Message Date
thiruram f668ec0beb Fixes missing field mappings from launcher_atom.ItemInfo to Statslog. am: 3344b8ce3d am: 23331ead95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12160060

Change-Id: I66321bee8c2470c7eb73f30033a19e2d348b5289
2020-07-21 21:43:20 +00:00
thiruram 23331ead95 Fixes missing field mappings from launcher_atom.ItemInfo to Statslog. am: 3344b8ce3d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12160060

Change-Id: I8e0fb916e7492bbde97f9c30f08600134a021173
2020-07-21 21:23:49 +00:00
thiruram 3344b8ce3d Fixes missing field mappings from launcher_atom.ItemInfo to Statslog.
Bug: 161284668
Change-Id: I70b247e896bfcad5f6dbb6ce3ec5ed7aa57b8a61
2020-07-21 21:04:50 +00:00
Jonathan Miranda b2a4677503 Merge "Fix folder crash where view is added when it already has a parent." into ub-launcher3-rvc-qpr-dev am: 20d3187d88 am: cbc1336abb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195976

Change-Id: Ie6e1c73e161aede9d0ad07f842385e8926609caa
2020-07-21 20:47:19 +00:00
Jonathan Miranda cbc1336abb Merge "Fix folder crash where view is added when it already has a parent." into ub-launcher3-rvc-qpr-dev am: 20d3187d88
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195976

Change-Id: I3b1d8fb280de5d96838d7c315260d9cbe78b064b
2020-07-21 20:31:11 +00:00
Jonathan Miranda 20d3187d88 Merge "Fix folder crash where view is added when it already has a parent." into ub-launcher3-rvc-qpr-dev 2020-07-21 20:13:06 +00:00
Sunny Goyal b9a0a99ade Adding home animation support for non-system Launcher am: 30ac97d938 am: c60023449c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12150115

Change-Id: Idbd4c1ab36928420023987e0e4bdb06edd9e3268
2020-07-21 20:07:31 +00:00
Sunny Goyal c60023449c Adding home animation support for non-system Launcher am: 30ac97d938
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12150115

Change-Id: I225841557201a377e74c1b380beeea65faa30a61
2020-07-21 19:48:08 +00:00
TreeHugger Robot 3db3679c04 Merge "Fix launcher crash after restore with some specific widgets." into ub-launcher3-rvc-qpr-dev am: 664020146f am: 74baee14e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12196565

Change-Id: I1bd51f15d56386e644f287080ba7a8f2070082b7
2020-07-21 19:05:45 +00:00
TreeHugger Robot 74baee14e2 Merge "Fix launcher crash after restore with some specific widgets." into ub-launcher3-rvc-qpr-dev am: 664020146f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12196565

Change-Id: I2f180f865b2bcf51913b1185514095994b997170
2020-07-21 18:45:04 +00:00
Sunny Goyal 30ac97d938 Adding home animation support for non-system Launcher
When user swipes up to home, Launcher will receive a onNewIntent
callwith a bundle-extra gesture_nav_contract_v1. It will contain
the componentName & UserHandle of the closing app & a callback.
Launcher can use the callback to return the final position where
the app should animate to and an optional surface to be used for
crossFade animation. The surface cleanup can be handled in
onEnterAnimationComplete.

Change-Id: I76fdd810fdcb80b71f7d7588ccac8976d9dfe278
2020-07-21 11:43:21 -07:00
TreeHugger Robot 664020146f Merge "Fix launcher crash after restore with some specific widgets." into ub-launcher3-rvc-qpr-dev 2020-07-21 18:30:11 +00:00
Winson Chung 0c2b05947e Handle uiMode changes
- Launcher already dedupes if there are no theme changes

Bug: 148988542
Test: adb shell cmd uimode car yes/no, adb shell cmd uimode night yes/no
Change-Id: Ia83f02d18a0433c8be59d1f488e58b38476ba5ff
2020-07-21 17:20:53 +00:00
Samuel Fufa dad2efaa91 Merge "Fix hotseat file log name formatting" into ub-launcher3-rvc-qpr-dev am: 7dc81afc4d am: 5b832096e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193277

Change-Id: I434c9e39f3154872dc75f7a70e83bbea00b84830
2020-07-21 17:02:02 +00:00
Samuel Fufa 5b832096e0 Merge "Fix hotseat file log name formatting" into ub-launcher3-rvc-qpr-dev am: 7dc81afc4d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193277

Change-Id: Ia80cd6eaaae4db92a964b2f3824cecd7c6bd34ad
2020-07-21 16:39:18 +00:00
Samuel Fufa 7dc81afc4d Merge "Fix hotseat file log name formatting" into ub-launcher3-rvc-qpr-dev 2020-07-21 16:22:57 +00:00
Pinyao Ting f1af0171b7 Fix launcher crash after restore with some specific widgets.
The internal implementation of PendingAppWidgetHostView#getDefaultViews
uses the same view across updates which causes the exception in
AppWidgetHostView#applyContent when it tries to call addView() because
the view has already been added to its parent view in previous iteration.

Bug: 151901506
Test: manual
Change-Id: Ieccec814ac514e592d0d4f196b60ba89aec0d661
2020-07-20 17:55:14 -07:00
Jon Miranda 447ea429cd Fix folder crash where view is added when it already has a parent.
The fix is to prevent re-arrangement if the views are already unbound.

This is caused when:
- Folder is open
- Item has deep shortcuts
- Long press on deep shortcut to create DragView that could land in the
  folder if the folder did not auto close. This is important because it
  starts a drag within the folder

The folder unbinds all views as part of the Folder close complete callback.
And then the folder exit alarm gets triggered (because we drag DragView
outside of the folder) which causes the folder items to get
rearranged and added back to the folder's CellLayout.

Bug: 161559911
Change-Id: I142589b2c541dc21c47a67c20a93e627732107ef
2020-07-20 16:54:17 -07:00
TreeHugger Robot 6f86e5078f Merge "Create a new instance of rotation touch helper per device state" into ub-launcher3-rvc-qpr-dev am: a64362ee73 am: 175f8b99c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193665

Change-Id: Ib17766c22de22c9b8fd0499f090240af71a0cdce
2020-07-20 23:39:33 +00:00
TreeHugger Robot aaf4abd7b3 Merge "Fix bug where realtimeReorder is called after views have been unbound." into ub-launcher3-rvc-qpr-dev am: f55ccf4350 am: acecc0c3fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12196208

Change-Id: Id135a0d81cd6a37defe556058ffb51ddd475a7f7
2020-07-20 23:39:27 +00:00
TreeHugger Robot 175f8b99c6 Merge "Create a new instance of rotation touch helper per device state" into ub-launcher3-rvc-qpr-dev am: a64362ee73
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193665

Change-Id: Ic7bb4172f923cae64535d1de4a38faf3cbcdbb25
2020-07-20 23:21:13 +00:00
TreeHugger Robot acecc0c3fc Merge "Fix bug where realtimeReorder is called after views have been unbound." into ub-launcher3-rvc-qpr-dev am: f55ccf4350
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12196208

Change-Id: I5cd9dd385457a223c4a2553b1857f3e3a2c00e9d
2020-07-20 23:21:07 +00:00
TreeHugger Robot a64362ee73 Merge "Create a new instance of rotation touch helper per device state" into ub-launcher3-rvc-qpr-dev 2020-07-20 23:19:26 +00:00
TreeHugger Robot f55ccf4350 Merge "Fix bug where realtimeReorder is called after views have been unbound." into ub-launcher3-rvc-qpr-dev 2020-07-20 23:01:30 +00:00
Samuel Fufa 7d6207e61b Merge "Allow multiple hotseat restorations in single session" into ub-launcher3-rvc-qpr-dev am: 93802e2612 am: 32f5e99519
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193279

Change-Id: I34f81041d4368c2ea03d579cd1a96d20ebd65374
2020-07-20 22:58:32 +00:00
Samuel Fufa 32f5e99519 Merge "Allow multiple hotseat restorations in single session" into ub-launcher3-rvc-qpr-dev am: 93802e2612
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193279

Change-Id: Ib5fcde5f6abb8acd6443806775de236c341178a8
2020-07-20 22:42:11 +00:00
Jon Miranda 0f620500b0 Fix bug where realtimeReorder is called after views have been unbound.
Bug: 161498651
Change-Id: I89beaad9a91bfa1763454965bf95ba1a94d29902
2020-07-20 15:28:25 -07:00
Samuel Fufa 93802e2612 Merge "Allow multiple hotseat restorations in single session" into ub-launcher3-rvc-qpr-dev 2020-07-20 22:27:36 +00:00
TreeHugger Robot a1603ccdcd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: 78d22259fe -s ours am: 6822ae9fae -s ours am: 46394d184f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195526

Change-Id: I9a821f10be8cc09ffddaa500d72afe2acf2b563f
2020-07-20 22:11:39 +00:00
Bill Yi bef6300574 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 25ed0dce25 -s ours am: 008c2d17c8 -s ours am: 0b42a8b5d1 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195530

Change-Id: Ie0d3e87429f5c8b46f1685737d4c262fbcf1b9b5
2020-07-20 22:11:33 +00:00
TreeHugger Robot e7f7578d3d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: f7dc18b7bd -s ours am: db642d038c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195527

Change-Id: I602d4005c0fcfc0349731c4015b87baa9b50c8ac
2020-07-20 22:11:27 +00:00
TreeHugger Robot dfd300d154 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: 612b16a26b -s ours am: da674e7c95 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195532

Change-Id: I936dbddb00841a9eedcd3197f378e7d21154310c
2020-07-20 22:11:00 +00:00
TreeHugger Robot 46394d184f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: 78d22259fe -s ours am: 6822ae9fae -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195526

Change-Id: Ic305386dc05f98949587fc64640def27d3a91dae
2020-07-20 22:10:58 +00:00
TreeHugger Robot 6822ae9fae [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: 78d22259fe -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195526

Change-Id: Id2840e90f68772eef8e126df22595059c7b73d7a
2020-07-20 22:06:03 +00:00
Winson Chung 5b7bf9147b Create a new instance of rotation touch helper per device state
Change-Id: I4e4288eaf37aab5bf0b8115f5e06e64459c20f00
(cherry picked from commit 00850fb588)
2020-07-20 22:05:46 +00:00
Winson Chung 355ceb1a1d Merge "Create a new instance of rotation touch helper per device state" into ub-launcher3-master 2020-07-20 22:05:23 +00:00
TreeHugger Robot 78d22259fe Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev 2020-07-20 21:56:52 +00:00
Bill Yi 0b42a8b5d1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 25ed0dce25 -s ours am: 008c2d17c8 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195530

Change-Id: I950b3ec7ea8d93ac2ee7dfb6984c7e4d66f93a41
2020-07-20 21:55:10 +00:00
TreeHugger Robot db642d038c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: f7dc18b7bd -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195527

Change-Id: I597d40ec9f25519bbf1c105c2645ad42a5c2d697
2020-07-20 21:55:02 +00:00
TreeHugger Robot da674e7c95 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: 612b16a26b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195532

Change-Id: Ifa3e8531aaf9975cda8258f34ac218cab6ba36a3
2020-07-20 21:54:50 +00:00
Bill Yi 008c2d17c8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 25ed0dce25 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195530

Change-Id: If7dfe29ab40a0cb420e8fe66245d72994295f132
2020-07-20 21:54:36 +00:00
Samuel Fufa 63c64097d9 Invalidate stale BgDataModel when predictions are disabled am: e47896cb91 am: adc8870aa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193276

Change-Id: I9169f3a794bed745eb395ba938bca1ff847abdfc
2020-07-20 21:46:01 +00:00
TreeHugger Robot f7dc18b7bd Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev 2020-07-20 21:43:56 +00:00
TreeHugger Robot 612b16a26b Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev 2020-07-20 21:41:06 +00:00
Samuel Fufa adc8870aa1 Invalidate stale BgDataModel when predictions are disabled am: e47896cb91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193276

Change-Id: I840a11ea2986d9e7c0d95ec7c5ad7e738e2dd0a7
2020-07-20 21:26:20 +00:00
Samuel Fufa bd1f4c6a76 Allow multiple hotseat restorations in single session
restoreBackup uses mBackupRestored to prevent multiple restorations happening at once. This change is required to reset the value of mBackupRestored if a new backup is created.

Bug: 160033826
Test: Manual
Change-Id: I33836b26cf3876955cc14dcc8ec06202f3fe7fac
2020-07-20 14:14:47 -07:00
Bill Yi 19496b916b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4c326e8cf15da316393c3be70f6b1c8dfc559a52
2020-07-20 14:03:37 -07:00
Bill Yi 25ed0dce25 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic9168efed903a1cc61b770bc32d754ca1858b3df
2020-07-20 14:02:54 -07:00
Bill Yi d5821326f8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I344fea4e320a851f0d04a3308c9f7f2dca4c934e
2020-07-20 14:00:53 -07:00
Bill Yi a92c6bb531 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2ac85ce81a99d87d613ed1490c591d90323889f2
2020-07-20 14:00:14 -07:00