Commit Graph

34630 Commits

Author SHA1 Message Date
Adam Cohen a81e8d855a Demo mode default layout support
b/67062454

Change-Id: Ic060d3d7dba4fffe688dddf7cd04c48e4baaf813
2017-09-29 20:11:37 +00:00
Sunny Goyal 0edbb19c71 Merge changes from topic "am-ce7ed750-6b89-4e1c-80d9-bd9a3ec4b170" into ub-launcher3-master
* changes:
  [automerger] Caching system app flag to avoid unnecessary system calls when scrolling am: 6b0aa870b8
  Caching system app flag to avoid unnecessary system calls when scrolling
2017-09-29 19:57:07 +00:00
Sunny Goyal f2dd4216c1 Removing extraction service and palette api dependency
Change-Id: I30ad1a1462a97b6bc03f8e386ae3058c7fe022e5
2017-09-29 10:40:08 -07:00
Android Build Merger (Role) 165ff84d8e [automerger] Demo mode default layout support am: 2782449da6 am: ea1212a38a
Change-Id: Iaf6a29db70901d76125e79c86ca7dda0bf34ea67
2017-09-29 15:49:46 +00:00
Android Build Merger (Role) ea1212a38a [automerger] Demo mode default layout support am: 2782449da6
Change-Id: I0d03e760f97c6f9984ad0bf9e8f9e8c7a8a8b5c7
2017-09-29 15:49:43 +00:00
Adam Cohen 2782449da6 Demo mode default layout support
67062454

Change-Id: Ic060d3d7dba4fffe688dddf7cd04c48e4baaf813
2017-09-29 15:49:34 +00:00
Android Build Merger (Role) 9c73d4ff0c [automerger] Caching system app flag to avoid unnecessary system calls when scrolling am: 6b0aa870b8
Change-Id: I88759881bf7b22e691186b8f11f1bc7912537864
2017-09-29 14:55:42 +00:00
Sunny Goyal 6b0aa870b8 Caching system app flag to avoid unnecessary system calls
when scrolling

Bug: 65493000
Change-Id: If60ec6dec23e7efa1031d72e76775fa2449bcd7b
2017-09-29 07:55:25 -07:00
Sunny Goyal 9b8e36b95d Avoiding duplicate calls to Bitmap.getPixel(x, y)
Change-Id: I24414b41e9b0e9833cd4e962187a08672bc86c46
2017-09-28 19:21:35 -07:00
TreeHugger Robot 510fdfbcea Merge "Disabling state saving for search textbox as search results are not preserved across activity recreate" into ub-launcher3-dorval-polish2 2017-09-28 19:52:56 +00:00
TreeHugger Robot 9315c9a8cd Merge changes from topic "am-9137c936-4340-4643-aada-1ced62c0dd3f" into ub-launcher3-master
* changes:
  [automerger] Disabling state saving for search textbox as search results are not preserved across activity recreate am: b808e1102f
  Disabling state saving for search textbox as search results are not preserved across activity recreate
2017-09-28 19:52:56 +00:00
Mario Bertschler 230612f502 Fixing content description of a promise icon that is fully downloaded.
Bug: 65779803
Change-Id: I912a70310c6a44f0b0b443cebf77608fd19bdc71
2017-09-27 17:05:21 -07:00
Sunny Goyal 22d43850fa [automerger] Disabling state saving for search textbox as search results are not preserved across activity recreate am: b808e1102f
Change-Id: I2076af198e9672947898870d99a29aca3ed8abba
2017-09-27 21:05:07 +00:00
Sunny Goyal b808e1102f Disabling state saving for search textbox as search results are
not preserved across activity recreate

Bug: 65661416
Change-Id: I0bd6414cea8d25b341374cd40ecaa270d5f19c18
(cherry picked from commit dee55f92ad)
2017-09-27 21:05:03 +00:00
Zhi An Ng 534fa8a62b [automerger] Remove stateUnchanged flag from activity am: d772c0aece
Change-Id: I61fcd30de9a4bd3e2b59278e6e0c95d1ab181ad7
2017-09-27 20:41:22 +00:00
Ng Zhi An d772c0aece Remove stateUnchanged flag from activity
Bug: 65298313
Test: manual
1) Launch messages
2) Tap on FAB to compose new message, IME shows
3) Tap on Home button
4) Verify IME is hidden

Change-Id: I1823e70d49921d2c66b5abd9ce5d45592bde923c
2017-09-27 20:41:20 +00:00
Sunny Goyal 6316d98a2c Build fix due to prograud changes
Change-Id: I161020ecb2a1786fc9184d024208cac4efc4052f
2017-09-27 12:35:02 -07:00
Sunny Goyal aa3a2baab6 Simplifying drag preview generation
> Fixing wrong icon normalization when dragging a folder icon
> Reusing the preview bitmap for creating dragOutline
> Generating drag outline on the background thread

Bug: 35428783
Change-Id: I01e724ba63404302090ee1e562f6c2fc7147ba2f
2017-09-27 09:10:05 -07:00
Bill Yi f00c5b5fd4 Import translations. DO NOT MERGE
Change-Id: I565f8090a76c1019d02a1d00bef8d9f5a73a97ca
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-26 09:16:39 -07:00
TreeHugger Robot 505adedae8 Merge "Disabling state saving for search textbox as search results are not preserved across activity recreate" into ub-launcher3-master 2017-09-25 14:59:34 +00:00
Jon Miranda fc2bf24022 Remove assumptions from swap prediction logic.
Bug: 64689250
Change-Id: If54ac03dec7d8c09f951b3ffeb7732202e3f1562
2017-09-20 18:28:39 +00:00
Jon Miranda 4f1545ddee Clean up span calculations in LauncherAppWidgetProviderInfo.
Using the results from DeviceProfile#getCellSize instead of
manually computing the cell sizes.

Bug: 63850436
Change-Id: I1de3871756a8b0e9bc8c5f9c2c1f386bb8dc31a2
2017-09-20 11:09:42 -07:00
Jonathan Miranda 8c220d1311 [automerger] Move orientation initialization to onCreate. am: 11ee2f6e8f
Change-Id: Ic4928769ab2891a7a709ed57404298a988baec1d
2017-09-20 17:19:20 +00:00
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