Commit Graph

7143 Commits

Author SHA1 Message Date
TreeHugger Robot bcf1a9217c Merge changes from topic "am-8538fe8c-8826-45fb-b75a-398ba33cc369" into ub-launcher3-master
* changes:
  [automerger] Disable debugging on Widgets Diff Reporter Bug: 65160070 am: 36628a1122
  Disable debugging on Widgets Diff Reporter Bug: 65160070
2017-08-29 18:23:04 +00:00
TreeHugger Robot a6abdd6d43 Merge changes from topic "am-f4ec2204-fd91-49e6-8328-41eaf99a20db" into ub-launcher3-master
* changes:
  [automerger] Fix @SuppressWarnings('deprecation') typo. am: 7927b03287
  Fix @SuppressWarnings('deprecation') typo.
2017-08-29 18:17:00 +00:00
Hyunyoung Song 17cf3b1ad7 [automerger] Disable debugging on Widgets Diff Reporter Bug: 65160070 am: 36628a1122
Change-Id: Icf3910523c968f9322403505a464bf235dfb72cf
2017-08-29 18:13:32 +00:00
Hyunyoung Song 36628a1122 Disable debugging on Widgets Diff Reporter
Bug: 65160070

Change-Id: Idee5b850d0dd5abaaa8571533adf802e276c4495
2017-08-29 11:13:13 -07:00
Jonathan Miranda 7289d14bac [automerger] Fix @SuppressWarnings('deprecation') typo. am: 7927b03287
Change-Id: I03216f84d0c676afdb11dc6c9f486e091daa776d
2017-08-29 18:08:24 +00:00
Jon Miranda 7927b03287 Fix @SuppressWarnings('deprecation') typo.
http://errorprone.info/bugpattern/SuppressWarningsDeprecated

This typo throws a build error on oc-mr1-dev.

Bug: 64937210
Change-Id: I4c48a22c5ac0f296053753d4058385581037ab06
2017-08-29 11:06:30 -07:00
Mario Bertschler 9a7a850df8 [automerger] AppInfo to create launch intent from component name. am: 5459b66bb6
Change-Id: Id93b6592322658f832dce220054c84bb3d9dd163
2017-08-29 16:17:56 +00:00
Mario Bertschler 5459b66bb6 AppInfo to create launch intent from component name.
Change-Id: I11e0645acde57e60cd5596447c2aba62ef5ff1a9
2017-08-29 09:04:39 -07:00
TreeHugger Robot 92c65913e6 Merge changes from topic "am-c8d74b25-f071-43b7-b1f9-ea9255c9b83f" into ub-launcher3-master
* changes:
  [automerger] IconCache should refresh on OTAs am: 3152827d3b
  IconCache should refresh on OTAs
2017-08-29 02:24:23 +00:00
TreeHugger Robot ff58fe239a Merge "IconCache should refresh on OTAs" into ub-launcher3-dorval-polish2 2017-08-29 02:24:23 +00:00
Sunny Goyal f5125bc94a Merge changes from topic "am-2b82a146-0fd5-4194-a35d-ab67d3739931" into ub-launcher3-master
* changes:
  [automerger] Adding support for badging instant app icons. am: f5523921c3
  Adding support for badging instant app icons.
2017-08-28 23:16:21 +00:00
Sunny Goyal 4cebfc3484 Merge "Adding support for badging instant app icons." into ub-launcher3-dorval-polish2 2017-08-28 23:16:21 +00:00
Hyunyoung Song 41632a60c0 [automerger] IconCache should refresh on OTAs am: 3152827d3b
Change-Id: I0ca82a19b547e150549a0bf1f2f480a1eec09692
2017-08-28 22:58:56 +00:00
Hyunyoung Song 3152827d3b IconCache should refresh on OTAs
Background: PackageInfo may not have changed but when upgrading from N to O, the icon
cache need to refresh in order to show Adaptive icons.

Bug: 65062494
Change-Id: If3bf579c3dd035fe8d4e10c5741532fdb2a9d6fe
2017-08-28 15:58:40 -07:00
Sunny Goyal 5760fe033c [automerger] Adding support for badging instant app icons. am: f5523921c3
Change-Id: Ic058018cd1e7872e039dc4b05923594b0f0e96c3
2017-08-28 22:35:32 +00:00
Sunny Goyal f5523921c3 Adding support for badging instant app icons.
Change-Id: Idc43a1a83e0a93f70879730a0acefbc124f9c0e2
2017-08-28 15:35:25 -07:00
Jonathan Miranda 8aef0b1a5d [automerger] Increase overview icon zone percentage from 20% to 22%. am: 7fb9e712e8
Change-Id: Ia8eec3f9a609a74a82dd4328d95c8cc6587ac1c0
2017-08-28 21:48:34 +00:00
Jon Miranda 7fb9e712e8 Increase overview icon zone percentage from 20% to 22%.
This handles the case where "Home Settings" text is split into
two lines and is cropped when the user is in multi-window mode with
settings Display=Largest and Font=Largest.

Bug: 64976707
Change-Id: Ia1a4ee35a94a2fbe99f8ed25fce93a023e621147
2017-08-28 14:47:59 -07:00
Jonathan Miranda 65289b6d5d Merge changes from topic "am-babf7974-d7e9-418f-b563-40e4867a0e88" into ub-launcher3-master
* changes:
  [automerger] Add spring to QSB when opening all apps. am: c90a89d997
  Add spring to QSB when opening all apps.
2017-08-28 17:30:19 +00:00
Jonathan Miranda 1ad3c8f61e Merge "Add spring to QSB when opening all apps." into ub-launcher3-dorval-polish2 2017-08-28 17:30:19 +00:00
Mario Bertschler e4f03aaa4f Merge changes from topic "am-8d2845b1-eaaf-4e07-8e47-50ed5ddb898a" into ub-launcher3-master
* changes:
  [automerger] Integrating suggested app by handling new status flags for shortcut items. am: 8ff9e1d679
  Integrating suggested app by handling new status flags for shortcut items.
2017-08-25 21:37:51 +00:00
Mario Bertschler 08680da448 Merge "Integrating suggested app by handling new status flags for shortcut items." into ub-launcher3-dorval-polish2 2017-08-25 21:37:51 +00:00
TreeHugger Robot 1f4eb44422 Merge changes from topic "am-bb95dae2-253e-4760-b81b-d40b934646da" into ub-launcher3-master
* changes:
  [automerger] Adding scrim in all-apps scrim am: 81a70e5dc2
  Adding scrim in all-apps scrim
2017-08-25 17:35:54 +00:00
TreeHugger Robot 1affe9efea Merge "Adding scrim in all-apps scrim" into ub-launcher3-dorval-polish2 2017-08-25 17:35:54 +00:00
Jonathan Miranda d849b7c13e [automerger] Hides text on ButtonDropTargets if any of them are ellipsized. am: bfaa4a4edc
Change-Id: I6ff9395c7681636d191a31f308c994641d387592
2017-08-24 23:27:42 +00:00
Jon Miranda bfaa4a4edc Hides text on ButtonDropTargets if any of them are ellipsized.
This can happen on small devices or on devices where Font/Display size
is enlarged and when Developer Options is turned on when all three
options {Uninstall, Delete, App Info} are shown at once.

Bug: 64391860
Change-Id: If355d28087d53148114eb586efb3c26f158b3713
2017-08-24 16:27:30 -07:00
Sunny Goyal 3277771b47 [automerger] Adding scrim in all-apps scrim am: 81a70e5dc2
Change-Id: I75c0bca2b2b9c70c2e13e236a92dc0f46a4bc252
2017-08-24 22:11:25 +00:00
Sunny Goyal 81a70e5dc2 Adding scrim in all-apps scrim
Bug: 64692527
Change-Id: Ib8262ad0cc3c95cd419eb9fa1dee3bbbc2d25a27
2017-08-24 15:11:18 -07:00
Mario Bertschler 18582e9c59 [automerger] Integrating suggested app by handling new status flags for shortcut items. am: 8ff9e1d679
Change-Id: Ibd936f90eaef6e4f83400156f843481393a1731a
2017-08-24 19:23:20 +00:00
Mario Bertschler 8ff9e1d679 Integrating suggested app by handling new status flags for shortcut items.
Guarded via feature flag SUGGESTED_APP.

Bug: 62483883

Change-Id: I7e0c8a9875bc37c435aa4316b44322a628cd4826
2017-08-24 12:23:06 -07:00
Hyunyoung Song 67e6d18ee9 Merge "Remove flicker when multiple apps are added/removed/updated on widget tray" into ub-launcher3-dorval-polish2 2017-08-24 07:40:01 +00:00
Hyunyoung Song fe45ead7af [automerger] Remove flicker when multiple apps are added/removed/updated on widget tray am: 8e5464b544
Change-Id: I070a617828dedc19cbacefd6dd6c15337c1b85d6
2017-08-24 01:04:56 +00:00
Hyunyoung Song 8e5464b544 Remove flicker when multiple apps are added/removed/updated on widget tray
Bug: 36718342

1.The flicker was also happening partially because notifyWidgetProviderChanged
callback also made the entire widget list to update in addition to
packageManager update.

2. Now that adapter calls notifyItemInserted, Removed, the recycler
view uses it's internal animation to elegantly move items or insert
them. (added benefit!)

3. Added tests for WidgetsListAdapterTest

$ adb shell am instrument -w -e class com.android.launcher3.widget.WidgetsListAdapterTest com.google.android.apps.nexuslauncher.tests/android.support.test.runner.AndroidJUnitRunner

com.android.launcher3.widget.WidgetsListAdapterTest:.

Time: 0.337

OK (6 test)

Change-Id: I0818d546532631bf889fae560118decff64ec5a4
Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
2017-08-23 18:04:37 -07:00
Sunny Goyal c9dadbdd88 [automerger] Applying the widget resize changes even when the activity is destroyed in the middle of the resize interaction. am: 988ad27be4
Change-Id: I39f49270679cccc93a84259a90e24925df77d9a3
2017-08-23 21:19:43 +00:00
Sunny Goyal 988ad27be4 Applying the widget resize changes even when the activity is destroyed
in the middle of the resize interaction.

Bug: 64759853
Change-Id: I65ab7df0426f36fe1121bf055e38fc722822b0f4
2017-08-23 21:19:42 +00:00
Jonathan Miranda 6230ffa9ef [automerger] Add spring to QSB when opening all apps. am: c90a89d997
Change-Id: I99ea717b53eb83016c12750e62958bffff09eb72
2017-08-23 21:05:31 +00:00
Jon Miranda c90a89d997 Add spring to QSB when opening all apps.
Bug: 64355491
Change-Id: I760856a32779b314c8b01ef2c051985e18b68ecb
2017-08-23 14:04:31 -07:00
Jonathan Miranda 4ec0d61ee8 [automerger] Show progress dialog when uninstalling an app in Launcher3Go. am: c56e3ff2ee
Change-Id: I9c9b9d8c3159d9c49e20f277bc17b0608571f134
2017-08-23 19:14:04 +00:00
Jon Miranda c56e3ff2ee Show progress dialog when uninstalling an app in Launcher3Go.
This ensures that the uninstall activity will finish only after
the task is completed.

We initially assumed that this was always the case, but in Android
Go the uninstall activity finishes before the uninstall is completed.

Bug: 64033585
Change-Id: Ic5d8dd99e2fecd0c9cb24093ee66668b4b38cb1a
2017-08-23 12:13:24 -07:00
Tony Wickham 86ba394ad0 Merge "Remove notification dots setting for Launcher3Go" into ub-launcher3-dorval-polish2 2017-08-22 18:43:13 +00:00
Tony Wickham b5793403eb Merge changes from topic "am-99d3d54c-2af9-430d-b857-e57c745fb7d9" into ub-launcher3-master
* changes:
  [automerger] Remove notification dots setting for Launcher3Go am: c138515c4e
  Remove notification dots setting for Launcher3Go
2017-08-22 18:43:13 +00:00
Mario Bertschler 996b1fd84c [automerger] Adjusting reflection api for color addOnColorsChangedListener that caused reflection to break. The new api method is available in both DR and MR1. am: 78356a542e
Change-Id: I6623a6bacab9fc1d409e62f5e1a4c7955a183af5
2017-08-21 22:26:39 +00:00
Mario Bertschler 78356a542e Adjusting reflection api for color addOnColorsChangedListener that
caused reflection to break. The new api method is available in both
DR and MR1.

Bug: 64908004
Bug: 64839046
Change-Id: I812c320e2c817aea8264de8764e33ad218b591c5
2017-08-21 15:25:55 -07:00
TreeHugger Robot d722645e7f Merge "Simplifying some package matching code by using common itemInfo mathcher" into ub-launcher3-dorval-polish2 2017-08-21 19:28:39 +00:00
TreeHugger Robot a7a7b63d9e Merge changes from topic "am-17d9128f-860a-478b-b599-8befd413609c" into ub-launcher3-master
* changes:
  [automerger] Simplifying some package matching code by using common itemInfo mathcher am: 6e13dd3aa8
  Simplifying some package matching code by using common itemInfo mathcher
2017-08-21 19:28:39 +00:00
TreeHugger Robot b55b6264ae Merge "Remove LAUNCHER3_ALL_APPS_PULL_UP Bug: 63712253 Verified: all apps transition fully functional Verified: NO_ALL_APPS_ICON = false case also works." into ub-launcher3-dorval-polish2 2017-08-21 19:22:56 +00:00
Hyunyoung Song b189a0e45a [automerger] Remove LAUNCHER3_ALL_APPS_PULL_UP Bug: 63712253 Verified: all apps transition fully functional Verified: NO_ALL_APPS_ICON = false case also works. am: d725f644b7
Change-Id: I455d617765afe5e7ec1dfb29ad019f37407702d7
2017-08-21 19:01:16 +00:00
Hyunyoung Song d725f644b7 Remove LAUNCHER3_ALL_APPS_PULL_UP
Bug: 63712253
Verified: all apps transition fully functional
Verified: NO_ALL_APPS_ICON = false case also works.

Change-Id: I779fb7bd4927c5923da3f85590d912dbbbcdef4d
2017-08-21 11:59:14 -07:00
TreeHugger Robot ee804af749 Merge "Fixing bindAllApplications scheduled with null list." into ub-launcher3-dorval-polish2 2017-08-18 19:14:45 +00:00
Sunny Goyal 5ff7ba7882 [automerger] Fixing bindAllApplications scheduled with null list. am: 49fc3f7aa8
Change-Id: I5f2c97270be0b32275e4049bb34f6fe77c35a884
2017-08-18 19:07:23 +00:00