Commit Graph

78507 Commits

Author SHA1 Message Date
Jon Miranda 11ee2f6e8f Move orientation initialization to onCreate.
Bug: 64916689
Change-Id: Iacc04dcc261fc049b83cb81792975414fb00b3cc
2017-09-20 10:18:41 -07:00
TreeHugger Robot 0520395d66 Merge "Change rule so that multi-window labels are shown if there is space." into ub-launcher3-master 2017-09-20 15:47:26 +00:00
android-build-team Robot c7153987f6 release-request-e2e4ef47-6e2d-4fd3-aa91-845ba8826fbc-for-git_pi-release-4349279 snap-temp-L58700000104420312
Change-Id: I795ffd48331a9dcf1aa1b4b67b50efe6388d6cfc
2017-09-20 08:20:58 +00:00
Jon Miranda 724fbcd53c Merge "Merge branch 'ub-launcher3-dorval-polish2'" into oc-mr1-dev am: fb46415e80
am: 40f806ef53

Change-Id: I10b31a87f837d8c20e7ec26173021383d19222a4
2017-09-19 23:47:27 +00:00
Jon Miranda 40f806ef53 Merge "Merge branch 'ub-launcher3-dorval-polish2'" into oc-mr1-dev
am: fb46415e80

Change-Id: I78c3b855c5c213c3ba89288f6d0f8a1a61c263d3
2017-09-19 23:39:27 +00:00
TreeHugger Robot fb46415e80 Merge "Merge branch 'ub-launcher3-dorval-polish2'" into oc-mr1-dev 2017-09-19 23:25:35 +00:00
Jonathan Miranda ef4697fdad [automerger] Fix bug where widgets are inflated in the wrong orientation. am: 6bed350b75
Change-Id: I9d4bdaba96fe6afc90a48a141cd3af640b592a7a
2017-09-19 21:43:36 +00:00
Jon Miranda 6bed350b75 Fix bug where widgets are inflated in the wrong orientation.
The bug is that in onResume, the context may tell us the wrong
orientation.

As a workaround, we store the orientation that the Launcher
is created with, and we use that orientation to check whether
we actually need to reinflate the widgets.

Bug: 64916689
Change-Id: I5194debbd217a573d1f177c31d8c0abdf9da51b5
2017-09-19 14:43:17 -07:00
Sunny Goyal dee55f92ad Disabling state saving for search textbox as search results are
not preserved across activity recreate

Bug: 65661416
Change-Id: I0bd6414cea8d25b341374cd40ecaa270d5f19c18
2017-09-19 12:06:40 -07:00
Jon Miranda 0cd04571d2 Change rule so that multi-window labels are shown if there is space.
ie. Taimen has enough room to show the labels in mw mode.

Bug: 65778773
Change-Id: If585f3f975b44d17ea6e07f23c50758998bbb564
2017-09-19 11:31:42 -07:00
android-build-team Robot f7438cc74c release-request-849a3dc3-db53-4e70-9b7a-92295133ddeb-for-git_pi-release-4346747 snap-temp-L27900000104043986
Change-Id: Icd948fcec2a6974114517ab491c1b48760ff8c00
2017-09-19 08:10:48 +00:00
TreeHugger Robot 02ed3743a8 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-09-18 22:00:18 +00:00
Bill Yi baaee5fd4e Import translations. DO NOT MERGE
Change-Id: I8b2409eb2a055992bd47f2c4f1959919333a9417
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-18 14:44:18 -07:00
Colin Cross 693db5d70b Use tools:node="replace" instead of tools:merge="override"
tools:merge="override" is no longer supported in Manifest Merger 2.

Bug: 36005379
Test: m -j Launcher3Go
Change-Id: I289f74f35876cdf274433ec1a579875217d9b9a8
(cherry picked from commit 318a8b626f)
2017-09-18 21:42:34 +00:00
Colin Cross 0a0c949a6f Use tools:node="replace" instead of tools:merge="override"
am: c510d042fb

Change-Id: I60be51efa8561773100ecaf7fceb834443288537
2017-09-18 21:11:17 +00:00
Colin Cross c510d042fb Use tools:node="replace" instead of tools:merge="override"
tools:merge="override" is no longer supported in Manifest Merger 2.

Bug: 36005379
Test: m -j Launcher3Go
Change-Id: I289f74f35876cdf274433ec1a579875217d9b9a8
Merged-In: I289f74f35876cdf274433ec1a579875217d9b9a8
(cherry picked from commit 318a8b626f)
2017-09-18 21:03:59 +00:00
Jon Miranda 7f55620089 Merge branch 'ub-launcher3-dorval-polish2'
Bug: 64937210
Test: flashed img
Change-Id: Id6a05e7be885bf5c53a41eab2573c6ae3a44dc55
2017-09-18 16:53:16 -04:00
TreeHugger Robot d926a9316f Merge "Fixing widgets not getting restored when the corresponding system app is enabled" into ub-launcher3-dorval-polish2 2017-09-18 17:14:10 +00:00
TreeHugger Robot 291e4d2420 Merge changes from topic "am-1de652e5-383f-4291-b4b5-dee384ddf1ba" into ub-launcher3-master
* changes:
  [automerger] Fixing widgets not getting restored when the corresponding system app is enabled am: adaf210794
  Fixing widgets not getting restored when the corresponding system app is enabled
2017-09-18 17:14:10 +00:00
Tony Wickham 42b5f52b36 Merge "Ignore clicks on notifications that don't have intents." into ub-launcher3-dorval-polish2 2017-09-18 17:11:33 +00:00
Sunny Goyal 0d992b903c [automerger] Fixing widgets not getting restored when the corresponding system app is enabled am: adaf210794
Change-Id: I91d976d1985a72737d5a365898dbfc9a6a18cd68
2017-09-18 17:04:45 +00:00
Sunny Goyal adaf210794 Fixing widgets not getting restored when the corresponding system app is enabled
Bug: 64723295
Change-Id: I143b554087e6ff8cfbdb5f02d53fdcc7a1ce3b12
2017-09-18 10:04:37 -07:00
Tony Wickham 716688f50e [automerger] Ignore clicks on notifications that don't have intents. am: 22cb37745c
Change-Id: I8973d3ebdb083ed28b8516b8dc26f547f9ab0d52
2017-09-16 00:40:30 +00:00
Tony Wickham 22cb37745c Ignore clicks on notifications that don't have intents.
Bug: 64479852
Change-Id: I3bfff96a12169d0d191a36a8c7e90d4810e9f176
2017-09-15 17:38:48 -07:00
Colin Cross 318a8b626f Use tools:node="replace" instead of tools:merge="override"
tools:merge="override" is no longer supported in Manifest Merger 2.

Bug: 36005379
Test: m -j Launcher3Go
Change-Id: I289f74f35876cdf274433ec1a579875217d9b9a8
2017-09-14 17:09:18 -07:00
Hyunyoung Song 2dd64c0710 Merge changes from topic "am-ef87c1d2-519f-467f-b097-802ff59b63b3" into ub-launcher3-master
* changes:
  [automerger] Remove haptic on touch down Bug: 65463659 am: d315ff2bc2
  Remove haptic on touch down Bug: 65463659
2017-09-14 17:51:48 +00:00
Hyunyoung Song 465435d16d Merge "Remove haptic on touch down Bug: 65463659" into ub-launcher3-dorval-polish2 2017-09-14 17:51:48 +00:00
TreeHugger Robot 83f7683509 Merge "Fixing custom widgets support:" into ub-launcher3-master 2017-09-14 00:00:48 +00:00
TreeHugger Robot 971b1a0572 Merge "Unifying various icon loading methods" into ub-launcher3-master 2017-09-13 22:58:35 +00:00
Sunny Goyal 952e63d006 Fixing custom widgets support:
> Moving the definitions to xml so that it is easier to override in derivative projects
> Fixing verious bind and save logic for custom widgets
> Adding feature flag to easily disable custom widgets

Change-Id: I0e278bc7dd415713029364060ef10842da990be9
2017-09-13 14:04:35 -07:00
Sunny Goyal ad7ff44009 Unifying various icon loading methods
Change-Id: I5a8969b6aad6513d769b5bb38bf95a701fe346d8
2017-09-13 11:56:55 -07:00
Bill Yi be213def87 Import translations. DO NOT MERGE
Change-Id: Id11401a9e60c09548748d7a60c602d33ae4a9329
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-13 11:49:14 -07:00
Hyunyoung Song 3705664cf0 [automerger] Remove haptic on touch down Bug: 65463659 am: d315ff2bc2
Change-Id: Ib476e68fe09e94e4a6299434c876b8bd4834c248
2017-09-12 22:55:15 +00:00
Hyunyoung Song d315ff2bc2 Remove haptic on touch down
Bug: 65463659

Change-Id: I111d18a3d1dcd7877ad4aa5baaeca2e6810be332
2017-09-12 15:54:50 -07:00
TreeHugger Robot 673f917d57 Merge "WallpaperManagerCompat should target correct platform Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683" into ub-launcher3-dorval-polish2 2017-09-11 21:40:47 +00:00
TreeHugger Robot b22a49a677 Merge changes from topic "launcher_at_least_oreo" into ub-launcher3-master
* changes:
  [automerger] WallpaperManagerCompat should target correct platform Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683 am: e24cb63b81
  WallpaperManagerCompat should target correct platform Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683
2017-09-11 21:40:47 +00:00
Sunny Goyal e76297e4cc [automerger] Fixing promise icons not getting restored after the app is installed am: a41ebf0cd2
Change-Id: I36a2e68f4514a10e73a6f52809c59cbd5a30f34c
2017-09-11 20:07:51 +00:00
Sunny Goyal a41ebf0cd2 Fixing promise icons not getting restored after the app is installed
Bug: 65387781
Change-Id: I8f6ca6695ad074a707b574af9499586fdd90d5c1
2017-09-11 13:07:41 -07:00
Hyunyoung Song 8c1e15f3a5 [automerger] WallpaperManagerCompat should target correct platform Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683 am: e24cb63b81
Change-Id: I85935372c20d6b473b692119730212811e01657d
2017-09-11 19:17:38 +00:00
Hyunyoung Song e24cb63b81 WallpaperManagerCompat should target correct platform
Also replace Utilities.isAtLeastO() to static final constant.
Bug: 65544683

Change-Id: I39fbea66939d72c31702748716c4e65b4f9bee6a
2017-09-11 12:17:09 -07:00
Jon Miranda 6d3586c761 Polish animation when icon returns to Folder.
ie. The animation when the user drags an icon from a Folder to a
full workspace/hotseat.

Bug: 31443188
Change-Id: If51b23cd8fc822543ac3f550f9fd2e48dd58e0e9
2017-09-11 11:01:31 -07:00
TreeHugger Robot 2f8d53d2f7 Merge "Removing some folder customization options" into ub-launcher3-master 2017-09-08 22:41:35 +00:00
Sunny Goyal 7ce471bdf6 Removing support for CustomContent screen
The supported way to customize Launcher and add a "-1 page" is by
using LauncherOverlays. Custom content screen is no longer supported.

Change-Id: I3f8a2734c287d1a69ae0c038ec1de1d45fa1b464
2017-09-08 14:06:30 -07:00
Sunny Goyal add3d8322d Removing some folder customization options
The old folder preview and animation relied on creating bitmaps for transition.
As we move to hardware bitmaps, creating custom bitmaps which rely on icon bitmaps
would be costly (hardware bitmaps are immutable and cannot be drawn on a software canvas).

Bug: 35428783
Change-Id: I39869ed44feb6a886985ad15775bc1ab55565727
2017-09-08 12:07:24 -07:00
TreeHugger Robot 9c1607886b Merge "Try-catching getColorHints in wallpapermanager compat." into ub-launcher3-dorval-polish2 2017-09-06 21:25:54 +00:00
TreeHugger Robot 17e780794b Merge changes from topic "am-b36d86f4-1165-4732-96de-e44bd366c739" into ub-launcher3-master
* changes:
  [automerger] Try-catching getColorHints in wallpapermanager compat. am: 2b1073994c
  Try-catching getColorHints in wallpapermanager compat.
2017-09-06 21:25:54 +00:00
Tony Wickham 9fad935b03 Merge "Adjust notification paddings" into ub-launcher3-dorval-polish2 2017-09-06 21:17:29 +00:00
Mario Bertschler 7b6badad54 [automerger] Try-catching getColorHints in wallpapermanager compat. am: 2b1073994c
Change-Id: Ie9d0ebcdde7bd885905177f2ee07a0e3d2868d16
2017-09-06 21:06:20 +00:00
Mario Bertschler 2b1073994c Try-catching getColorHints in wallpapermanager compat.
Change-Id: I1b2fbbdfeecb46d1864dad888f4c7e9765a25715
2017-09-06 14:06:09 -07:00
Tony Wickham 614484617b [automerger] Adjust notification paddings am: 2063ebd990
Change-Id: I58f0521e3d23f113c5729bf79010a69ac7b6bf5a
2017-09-06 20:39:00 +00:00