Commit Graph

13553 Commits

Author SHA1 Message Date
Sunny Goyal 2ee15ef38d Using package update event as well for restoring promise icons
> Sometimes a system app can be in disabled state. When the app is
enabled or disabled, the system sends onPackageChanged event instead
of onPackageAdded/onPackagesRemoved.

Bug: 36911898
Change-Id: Id82f70421b95b23f9891c8d4b0b7e0e1d4cddf7b
2017-05-08 12:08:11 -07:00
Sunny Goyal 5c60e71487 Updating the setAsyncExecutor call as per API changes
am: 9a1227105a

Change-Id: I6734eb6c3dfd8efebb5de2d7130522aacc5caa3e
2017-05-08 16:14:45 +00:00
Sunny Goyal 9a1227105a Updating the setAsyncExecutor call as per API changes
Bug: 37534990
Change-Id: I3cb9ea4e9aec5647a0f03e5514780f42f207ebc0
2017-05-08 08:56:28 -07:00
Bill Rassieur bac1321201 Empty commit to trigger a build.
am: 833a3943ed

Change-Id: I6a8a254e3ec7c0f5fcfd21beebd1719b944b84dd
2017-05-08 13:33:28 +00:00
Bill Rassieur 833a3943ed Empty commit to trigger a build.
BUG: 38093737
2017-05-08 06:28:48 -07:00
Mario Bertschler 0e261d56a7 Merge "Revert "Adding suggested app as part of app discovery."" into ub-launcher3-dorval-polish 2017-05-05 20:48:57 +00:00
Mario Bertschler b3cbd7c87d Revert "Adding suggested app as part of app discovery."
This reverts commit c0372a42a2.

Change-Id: Iebfb5bdbe042cb17f3d3657e0caa2fc7e9913ac6
2017-05-05 20:09:40 +00:00
Mario Bertschler 86b9705535 Merge "Adding suggested app as part of app discovery." into ub-launcher3-dorval-polish 2017-05-05 20:01:35 +00:00
Sunny Goyal f7d9b70700 Do not delete chost widgets when opening DB.
am: 57266aa2bd

Change-Id: Iab767b7b7c60db60322151cc5c2ab6a65706a553
2017-05-05 19:55:31 +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 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
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 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 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 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 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 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
Mario Bertschler c0372a42a2 Adding suggested app as part of app discovery.
It will replace the least prioritized predicted app
with the suggested app from app discovery.

Dogfood only!

Change-Id: I7713759c70ab6eaacfec2c45d3f78335c40dac79
2017-05-04 12:44:52 -07: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
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 2868d7ca4e Guard aginast O for checking AdaptiveIconDrawable b/37952598
am: 8f4a3963b0

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

Change-Id: Ief11aa61d804f9ca44ce9199002a6e763b3bf3e9
2017-05-03 15:39:26 -07: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 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 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
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 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 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
Sunny Goyal b3648e084f Refactoring some shadow generator logic into common methods
Change-Id: I25fc3248be5148fb1c14944eb4ddeec5bd4125b2
2017-05-02 16:17:29 -07:00
Tony Wickham 2526ba8215 Merge "Relax notification filter for badges" into ub-launcher3-dorval
am: 61682f2fd4

Change-Id: I9e87d0b152a4dc60bb23454a9993ef73747d0636
2017-05-02 21:25:22 +00:00
Tony Wickham 61682f2fd4 Merge "Relax notification filter for badges" into ub-launcher3-dorval 2017-05-02 21:19:14 +00:00
Tony Wickham 9d02a3ddd6 Merge "Handle back-to-back height reduction animations" into ub-launcher3-dorval
am: aaff476c3d

Change-Id: I31a2d3628fa2413d0c2bac4fc0b37c27a029b6d0
2017-05-02 21:13:22 +00:00
Tony Wickham 0228b32ce0 Merge "Close Folder when opening WidgetsBottomSheet" into ub-launcher3-dorval
am: 2bb1e74ccf

Change-Id: I6442f823d6c276add4ddb2275c5ed20aad8b29e4
2017-05-02 21:11:22 +00:00
Tony Wickham aaff476c3d Merge "Handle back-to-back height reduction animations" into ub-launcher3-dorval 2017-05-02 21:09:27 +00:00
Tony Wickham 2bb1e74ccf Merge "Close Folder when opening WidgetsBottomSheet" into ub-launcher3-dorval 2017-05-02 21:05:07 +00:00
Tony Wickham 4441055233 Relax notification filter for badges
- Allow notifications with only title or text, not both (centered in popup)
- Allow notifications without an intent (don't add onClickListener)

Change-Id: I33d9bdbe0d27347d703b6fb81eda64ebdc7429d5
2017-05-02 14:02:37 -07:00
Jon Miranda 45cc90f0be Fix bug where system shortcuts text size is set to 0 in MW mode.
am: da8261cce3

Change-Id: I1dfb3d6b655ebba8b8a9637a8e3a61fe7e0355e5
2017-05-02 20:49:49 +00:00
Tony Wickham 8897b4167e Close Folder when opening WidgetsBottomSheet
Dragging a shortcut from the bottom sheet to the open folder crashes.

Bug: 37810233
Change-Id: I82c953dd67528f9f1bc5a678650e87215af347a2
2017-05-02 13:48:30 -07:00
Jon Miranda da8261cce3 Fix bug where system shortcuts text size is set to 0 in MW mode.
By default, the BubbleTextView sets the display to Workspace
mode, which sets the text size to be 0 in MW mode.

Bug: 37898830
Change-Id: I665611b9986f1025d54b7ddb80746d4016003313
2017-05-02 12:49:33 -07:00
TreeHugger Robot 41fae0a1a2 Merge "Creating a custom drawable to customize shadow." into ub-launcher3-dorval-polish 2017-05-02 17:29:21 +00:00