Commit Graph

13607 Commits

Author SHA1 Message Date
Sunny Goyal a17acdee4e Do not delete chost widgets when opening DB. am: 57266aa2bd
Change-Id: I4e8580b47c07a6b555f0ea803bda872253988080
2017-05-05 17:55:38 +00:00
Sunny Goyal 57266aa2bd Do not delete chost widgets when opening DB.
During restore, the data can be in inconsistant state, as the
system is yet to give us the widget map. Deleting the widget during
open would cause the AppWidgetRestoredReceiver to store the widget id
after it has been deleted.

Bug: 37935101
Bug: 38029633
Change-Id: Id3b8766229718239ae784794e848dcfbc74658ac
2017-05-05 10:55:21 -07:00
Hyunyoung Song 0ccf5cbd3f Merge "Add meta data to indicate launcher_dump provider name" into ub-launcher3-dorval am: 8dd56b7e44
am: c52517ceb5

Change-Id: Ib042eb997c584d304925855ccebb4d17e750530a
2017-05-05 03:40:30 +00:00
Hyunyoung Song c52517ceb5 Merge "Add meta data to indicate launcher_dump provider name" into ub-launcher3-dorval
am: 8dd56b7e44

Change-Id: I46f62d1e99db22a75b1c43a120e87bb406759c85
2017-05-05 03:37:02 +00:00
Hyunyoung Song 8dd56b7e44 Merge "Add meta data to indicate launcher_dump provider name" into ub-launcher3-dorval 2017-05-05 03:32:04 +00:00
Hyunyoung Song 01911f3b15 Merge changes from topic 'am-b9544cab-d459-4ac3-9cb4-d75904cce3e2' into ub-launcher3-master
* changes:
  Add meta data to indicate launcher_dump provider name am: 37fa9b407b
  Add meta data to indicate launcher_dump provider name
2017-05-05 03:32:04 +00:00
Tony Wickham b64541af7b Merge "Don't delete legacy shortcuts in loadWorkspace()" into ub-launcher3-dorval am: 23cae10576
am: dce01fe029

Change-Id: Iade8f76803a172b96eea3e2f3b330c21c4653464
2017-05-05 00:35:17 +00:00
Tony Wickham dce01fe029 Merge "Don't delete legacy shortcuts in loadWorkspace()" into ub-launcher3-dorval
am: 23cae10576

Change-Id: Icb8b72be29249e5df4505bb02c75c6f2a90d6bee
2017-05-05 00:31:49 +00:00
Tony Wickham 23cae10576 Merge "Don't delete legacy shortcuts in loadWorkspace()" into ub-launcher3-dorval 2017-05-05 00:26:33 +00:00
Hyunyoung Song 72dbc7190c Add meta data to indicate launcher_dump provider name am: 37fa9b407b
Change-Id: Iba38efe9d8608b5b66e9f31824181d407a87ef06
2017-05-05 00:20:42 +00:00
Hyunyoung Song 37fa9b407b Add meta data to indicate launcher_dump provider name
b/36904684

Change-Id: I3e4bdae163dbe1ecfbd0a009462f13f25e2486d6
2017-05-04 17:20:20 -07:00
Tony Wickham 969350d766 Don't delete legacy shortcuts in loadWorkspace() am: 431a71320c
Change-Id: Iff8045078b8cb86577a62aa40f4645fa428ffdc1
2017-05-05 00:09:38 +00:00
Tony Wickham 431a71320c Don't delete legacy shortcuts in loadWorkspace()
Legacy 1x1 shortcut intents have null package names.
This was causing an NPE when calling LauncherApps#getApplicationInfo(),
which caused those shortcuts to be removed from the workspace.

Bug: 37634887
Change-Id: I6d9876ee1634a573c1f0f94602ae373365cab01c
2017-05-04 17:08:30 -07:00
Tony d2dde2bfaa Merge "Fix center-align issue in widgets bottom sheet" into ub-launcher3-dorval am: b77aa69eee
am: e5931a552a

Change-Id: I745dbff59db26262ebeda457ba9aa7f88ea0dfb8
2017-05-04 23:13:13 +00:00
Tony e5931a552a Merge "Fix center-align issue in widgets bottom sheet" into ub-launcher3-dorval
am: b77aa69eee

Change-Id: Ie206f8f66b45ad9dfe2c085b5087a4600c0d41b0
2017-05-04 23:09:13 +00:00
TreeHugger Robot b77aa69eee Merge "Fix center-align issue in widgets bottom sheet" into ub-launcher3-dorval 2017-05-04 23:02:21 +00:00
Tony Wickham d88e6bd7f8 Fix center-align issue in widgets bottom sheet am: 9d3743c3a8
Change-Id: I84b995b8e991a50c0aec4f36836fbea7668971cc
2017-05-04 22:53:29 +00:00
Tony 9d3743c3a8 Fix center-align issue in widgets bottom sheet
- Remove paddingStart
- To add padding for multiple widgets, add empty view to scrollview

Bug: 37918677
Change-Id: I5ec1208765874dda1c4439f60aaeb989c06ccd63
2017-05-04 15:53:15 -07:00
Sunny Goyal 20f76948ef Start settings activity in a new task, so that if the LauncherActivity finishes from behind, the task does not enter an inconsistant state am: 53f93b9c15
am: cd8f4291dc

Change-Id: Iacfc54d313e526647607b4aaf20f4c3d23feed68
2017-05-04 21:03:33 +00:00
Sunny Goyal cd8f4291dc Start settings activity in a new task, so that if the LauncherActivity finishes from behind, the task does not enter an inconsistant state
am: 53f93b9c15

Change-Id: I9a21552903d44b468d42efebbe60353b9b0c91a5
2017-05-04 21:00:02 +00:00
Sunny Goyal ba6908c641 Start settings activity in a new task, so that if the LauncherActivity finishes from behind, the task does not enter an inconsistant state am: 53f93b9c15
Change-Id: Ib0aa97ffa6550b8e99bce1133e634208b5b59234
2017-05-04 18:24:34 +00:00
Sunny Goyal 53f93b9c15 Start settings activity in a new task, so that if the LauncherActivity
finishes from behind, the task does not enter an inconsistant state

Bug: 37921974
Change-Id: I5f943ae89ce1099d3b9cf6a4902c7fd077beb764
2017-05-04 11:24:19 -07:00
Jon Miranda 68f27c6f7c Merge "Show icon in PendingAppWidgetHostView immediately." into ub-launcher3-dorval-polish
am: 825c3db194

Change-Id: I14beaaad78a70ca89df02718295a5f1ba7322097
2017-05-04 00:23:38 +00:00
TreeHugger Robot 825c3db194 Merge "Show icon in PendingAppWidgetHostView immediately." into ub-launcher3-dorval-polish 2017-05-04 00:14:31 +00:00
Jon Miranda 2b823f452b Show icon in PendingAppWidgetHostView immediately.
Before this change, PendingAppWidgetHostView would appear 'blank'
until they were loaded -- which could take a while depending on
how many apps the user had, because the all apps icons are loaded
first.

Bug: 36815047
Change-Id: Ia7449cce4341ed9e9384fc8aaadeaae6c33bb262
2017-05-03 17:05:41 -07:00
Hyunyoung Song fd0240b168 Guard aginast O for checking AdaptiveIconDrawable b/37952598 am: 8f4a3963b0
am: 2868d7ca4e

Change-Id: Ib59d6796a445db25f33905c356d2fb3aaad260a5
2017-05-03 23:38:36 +00:00
Hyunyoung Song 2868d7ca4e Guard aginast O for checking AdaptiveIconDrawable b/37952598
am: 8f4a3963b0

Change-Id: I88f5ff89d7cb5f021f857295db89520100d044ae
2017-05-03 23:33:05 +00:00
Hyunyoung Song f622e4f494 Guard aginast O for checking AdaptiveIconDrawable b/37952598 am: 8f4a3963b0
Change-Id: I376dd5c29e5a8c1af0b9dc25c8dfe47b50214112
2017-05-03 22:39:45 +00:00
Hyunyoung Song 8f4a3963b0 Guard aginast O for checking AdaptiveIconDrawable
b/37952598

Change-Id: Ief11aa61d804f9ca44ce9199002a6e763b3bf3e9
2017-05-03 15:39:26 -07:00
Sunny Goyal 8ecc14a0ab Merge "Refactoring some shadow generator logic into common methods" into ub-launcher3-dorval-polish
am: d2d43ef9be

Change-Id: I5434d7cc5022e50243444d765452c4d2cea849d6
2017-05-03 20:59:26 +00:00
TreeHugger Robot d2d43ef9be Merge "Refactoring some shadow generator logic into common methods" into ub-launcher3-dorval-polish 2017-05-03 20:52:22 +00:00
Sunny Goyal 6eb3d32625 Merge "Initializing the Add To Homescreen setting by reading it from market app" into ub-launcher3-dorval am: f436478b02
am: 9205a3035d

Change-Id: Ieb802b4650adcb13f6878b1c877c762987cded3f
2017-05-03 20:14:35 +00:00
Tony Wickham 48a0d15be8 resolve merge conflicts of 82eb1f0ea to ub-launcher3-dorval-polish
am: a2d1540c0e

Change-Id: I810723316fa569b0b2259c3baeca7e62d6918ec6
2017-05-03 20:14:21 +00:00
Sunny Goyal 9205a3035d Merge "Initializing the Add To Homescreen setting by reading it from market app" into ub-launcher3-dorval
am: f436478b02

Change-Id: I0f322aeb37c7ba35b2d2f97b1802f1c657a790b4
2017-05-03 20:11:57 +00:00
Tony Wickham a2d1540c0e resolve merge conflicts of 82eb1f0ea to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ic1f6ace04ec2c11206276df76ef7a20df545d604
2017-05-03 12:59:09 -07:00
TreeHugger Robot f436478b02 Merge "Initializing the Add To Homescreen setting by reading it from market app" into ub-launcher3-dorval 2017-05-03 18:41:06 +00:00
Sunny Goyal 27687f31c0 Initializing the Add To Homescreen setting by reading it from market app am: 3e443a2457
Change-Id: I53fed693082c4733f9fffc542998885231f54eaf
2017-05-03 18:25:04 +00:00
Sunny Goyal 3e443a2457 Initializing the Add To Homescreen setting by reading it from market app
> Also enabling add to home-to-homescreen feature based on install reason

Bug: 36588249
Change-Id: Icfc1edd4c31ed7eb50086f8ffb1a7858a9641b41
2017-05-03 11:24:54 -07:00
Tony Wickham 82eb1f0ea6 Merge "Use source bounds/activity options for App Info System Shortcut" into ub-launcher3-dorval 2017-05-03 18:20:41 +00:00
Tony Wickham 6484fe3748 Merge changes from topic 'am-58d0617b-47f2-44b7-ac1f-c278ee055d1e' into ub-launcher3-master
* changes:
  Merge commit 'e3c59256794448c67e01333a9f5036559b1bd502' into am-58d0617b-47f2-44b7-ac1f-c278ee055d1e
  Use source bounds/activity options for App Info System Shortcut
2017-05-03 18:20:41 +00:00
Tony Wickham debc046b89 Merge commit 'e3c59256794448c67e01333a9f5036559b1bd502' into am-58d0617b-47f2-44b7-ac1f-c278ee055d1e
* commit 'e3c59256794448c67e01333a9f5036559b1bd502':
  Use source bounds/activity options for App Info System Shortcut

Change-Id: Ic7e89e1f2de44198ab95308095b17447d27f0c0d
2017-05-03 11:17:13 -07:00
Mario Bertschler c9c955a9fd Merge "All Apps transition with gradient and scrim." into ub-launcher3-dorval-polish
am: db67e7c7a3

Change-Id: I2d418d73b3957938ab6072e92fdd69ac45d385e7
2017-05-03 18:06:51 +00:00
Mario Bertschler db67e7c7a3 Merge "All Apps transition with gradient and scrim." into ub-launcher3-dorval-polish 2017-05-03 18:04:11 +00:00
Mario Bertschler 48198d004a All Apps transition with gradient and scrim.
The transition is behind a feature flag and
turned off by default.

Change-Id: I155840ba82b5a573d874376797db5f739a52d706
2017-05-03 10:32:57 -07:00
Tony e3c5925679 Use source bounds/activity options for App Info System Shortcut
Bug: 37923215
Change-Id: I6c3e64b7a98223ab26fde80c0a86dd169200065f
2017-05-02 21:32:27 -07:00
Hyunyoung Song 0bc04a9841 Merge "Uninstalling app from recent apps shelf should not leave a hole." into ub-launcher3-dorval am: 6d163e0fe7
am: 0811bc5003

Change-Id: I583d4dace89995f2398eab3ffe4955438ee64faf
2017-05-03 00:12:33 +00:00
Hyunyoung Song 0811bc5003 Merge "Uninstalling app from recent apps shelf should not leave a hole." into ub-launcher3-dorval
am: 6d163e0fe7

Change-Id: Ib56767f618cbaa3b63afa6871819fd9c85a43747
2017-05-03 00:10:04 +00:00
Hyunyoung Song 6d163e0fe7 Merge "Uninstalling app from recent apps shelf should not leave a hole." into ub-launcher3-dorval 2017-05-03 00:04:10 +00:00
Hyunyoung Song 5ae6832a9f Uninstalling app from recent apps shelf should not leave a hole. am: 51114f2ad3
Change-Id: Ibe932f41a23036ee76af3a5d41d5cc83b1345419
2017-05-02 23:32:06 +00:00
Hyunyoung Song 51114f2ad3 Uninstalling app from recent apps shelf should not leave a hole.
Bug: 37751234
Change-Id: Ie36d2ab1a24523e5061582dbc0ee347444da8a78
2017-05-02 16:31:47 -07:00