| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: 64723295
Change-Id: I143b554087e6ff8cfbdb5f02d53fdcc7a1ce3b12
|
|\
| |
| |
| | |
Utilities.isAtLeastO() to static final constant. Bug: 65544683" into ub-launcher3-dorval-polish2
|
| |
| |
| |
| |
| |
| |
| | |
Also replace Utilities.isAtLeastO() to static final constant.
Bug: 65544683
Change-Id: I39fbea66939d72c31702748716c4e65b4f9bee6a
|
|/
|
|
|
| |
Bug: 65387781
Change-Id: I8f6ca6695ad074a707b574af9499586fdd90d5c1
|
|
|
|
| |
Change-Id: Idc43a1a83e0a93f70879730a0acefbc124f9c0e2
|
|
|
|
|
|
|
|
| |
Guarded via feature flag SUGGESTED_APP.
Bug: 62483883
Change-Id: I7e0c8a9875bc37c435aa4316b44322a628cd4826
|
|
|
|
| |
Change-Id: Ib98d528391e19c0de3fe11304330dfa37710548c
|
|
|
|
|
|
|
|
| |
> 2 implementations for filtering workspace items
> 2 implementations for binding widgets
> duplicate logic for add and update appInfo
Change-Id: Id68a49926af398478deca8ac85ab1f22341a9449
|
|\
| |
| |
| |
| |
| | |
a8ccf09597
Change-Id: I6629a5ca0eed641fc575b67dda39ff63b568f71b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We already do this when loading, but now we also do it when
getting callbacks that potentially change the shortcut icon.
These callbacks first check the pinned shortcut info, but if
there is no icon there we now fall back to the current icon
instead of the default icon.
Bug: 62814533
Change-Id: I777adedf4b7f93dbaddb98a993eda34d59dcc173
|
|/
|
|
|
|
|
| |
target Launcher3Go without widgets support
Bug: 62353159
Change-Id: Ia03d2235a9bcf75f9ef191924f81630e63a2c684
|
|
|
|
|
| |
Bug: 62814533
Change-Id: I683bd6abdf17defc55c0f17d8688951d4841c066
|
|
|
|
|
| |
Bug: 62814533
Change-Id: I8ea61276225e211c578d31a5fd1591c4fb67d1bb
|
|\
| |
| |
| | |
AddWorkspaceItemsTask class Bug: 62466540" into ub-launcher3-dorval-polish
|
| |
| |
| |
| |
| |
| |
| | |
AddWorkspaceItemsTask class
Bug: 62466540
Change-Id: Iae1e7a639754d08ad7dbb90b20e2e4e205a078f8
|
|\ \
| | |
| | |
| | | |
of an unnecessary return statment from BgDataModel class." into ub-launcher3-dorval-polish
|
| |/
| |
| |
| |
| |
| | |
2. Get rid of an unnecessary return statment from BgDataModel class.
Change-Id: I7be47a75d3754bc621cff4af59d5b03cc3e53f10
|
|\ \
| |/
|/|
| | |
ub-launcher3-dorval-polish
|
| |
| |
| |
| |
| |
| |
| |
| | |
If a widget is installed, the provider is always ready. The flag was not
being cleared all the time (similar to PackageUpdatedTask).
Bug: 62496671
Change-Id: Ia1c0cb3b312a20ed6451baeccb632a5e5f0e3edc
|
|\ \
| |/
|/|
| | |
queried, but never updated. 2. Get rid of explicit type arguments that can be inferred 3. Add type argument to variables of type HashSet Bug: 62466540" into ub-launcher3-dorval-polish
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
queried, but never updated.
2. Get rid of explicit type arguments that can be inferred
3. Add type argument to variables of type HashSet
Bug: 62466540
Change-Id: Ia7c9f212dcc760dfa7b1ddcd42f1e6328394d3ee
|
|\ \
| | |
| | |
| | | |
PackageUpdatedTask class 2. Get rid of explicit type arguments that can be inferred" into ub-launcher3-dorval-polish
|
| |/
| |
| |
| |
| |
| |
| |
| | |
PackageUpdatedTask class
2. Get rid of explicit type arguments that can be inferred
Bug: 62466540
Change-Id: Ifbe4e7d217cea292530f5ced0f4df2ee40c1262c
|
|/
|
|
|
|
|
|
|
| |
> LoadWorkspace can be called with a LoaderResult which does not bind anything.
> Synchronous bind does not look for a valid page id, and will fallback to the
current pageId similar to full load flow
Bug: 37616877
Change-Id: If14491dc79c5b85ae1019cc93e4e08759df3387d
|
|
|
|
|
| |
Bug: 34112546
Change-Id: I86d93cfb5d3903bfd3878564cbe8b67b64fd8423
|
|
|
|
|
|
|
|
|
|
|
| |
Will move it to a separate file in a followup cl.
This simplifies dependencies between LauncherModel and LoaderTask which
and making it easier to start the loader before Launcher activity is
created (as the Callbacks in LauncherModel can change while loader is running).
Bug: 34112546
Bug: 37616877
Change-Id: Ie9619c6b0de0e3eb60657c04ae1b58d946c829e9
|
|
|
|
|
|
|
|
|
|
| |
This change separates the loading and binding code. Eventually workspace
loading will not depend on bind and we will be able to preload workspace
even before the launcher activity is started.
Bug: 34112546
Bug: 37616877
Change-Id: Ia8e661465cb40ad073b5b76adfc74b9e15633b1d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Checking for duplicate icons before adding new icons
For O and above, icon addition is controlled using
SessionCommitReceiver.
As long as the Launcher is the default app, it will keep adding
icons on the homescreen. Apps installed while launcher was
not the default homescreen, no icons will be added.
For below O, icons are added based on package event. As long as
the Launcher process is running, it will keep adding icons on the
homescreen. Apps installed while the launcher app was dead, no
icons will be added.
Bug: 37528649
Bug: 37082950
Bug: 34112546
Change-Id: Ic99501fa476c00474a479f2a36c24614bfa3f4bf
|
|
|
|
|
|
|
|
| |
Adding a schema file for handling DB downgrade. This schema file is part of
the backup/restore set, and hence is available on a device with lower app version.
Bug: 37257575
Change-Id: I69c8ef5f28d5209be6e6679412c7459d4eeda5d0
|
|
|
|
|
|
|
|
|
| |
> 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
|
|\
| |
| |
| |
| | |
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I3559969b62a9a4b1ec04697109636e8cb0fd9fc8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before we were adding it in a disabled state, and then enabling it once
widgets were bound (if widgets existed for that app). Now we load all
widgets when launcher starts so that we can use the values for the
purpose of animating the popup container. Then, as the container opens,
we reload widgets/shortcuts for that particular app and add/remove the
widgets shortcut if necessary.
Bug: 34940468
Change-Id: I64bd009442d10d3d1f9a977bdedfdb639a7dd193
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
$ adb shell dumpsys activity provider com.android.launcher3/com.android.launcher3.LauncherProvider
To see how the proto is filled: go/launcher-proto-dump
b/31772480
Change-Id: I8e0f1e5e38148a3dfeabd2fc057392193b2625dd
(cherry picked from commit 6aa3729e98502d4cffc40a7e602628b85d558edd)
|
|\| |
| | |
| | |
| | |
| | | |
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I927373593dfb1b67b504a76b1ad013357b363a6e
|
| |/
| |
| |
| |
| |
| | |
Bug: 34940468
Bug: 33553066
Change-Id: I5d0131df206c6a13d4227ad28c5b094bbf1343df
|
| |
| |
| |
| |
| |
| |
| |
| | |
- organizing imports
- remove redundant modifiers on LauncherCallback interface
- fix typos
Change-Id: I61eb985cac7c1379b6b804a67d4f234386d3d1b4
|
|\|
| |
| |
| |
| | |
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Iee500631827ebc48c63c203fdcd0de888adcb135
|
| |
| |
| |
| |
| |
| |
| | |
Bug: 35425060
This reverts commit c29de857807680bf72ebd386cbec716b33d64780.
Change-Id: I4320be3473f914289f88c8cbb376a68af006d7de
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- feature flag defaults to true
- avoid adding additional workspace shortcut if promise shortcut already
exists
- handle promise app removal in package added callback for success case
Change-Id: I694701e35cc94481a9c337df3a17b1e5aa2c3b4c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
on clicking promise app icon in All Apps.
Only the progress will be changed with animation on progress update,
no relayout is performed. If the icon is newly bound, the progress
will not be animated.
Bug: 23952570
Change-Id: I98d3f945f08a2abadf53f20e6007c15e56d5d410
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL only modifies the model and is behind a feature flag
which per default is set to false.
The app icon will appear as a promise icon, it reacts on icon
or label changes and the icon will be remove on finishing the
installation process. With this CL the progress of the installation
process is not visible.
Bug: 23952570
Change-Id: I510825d0b0b1b01eb14f7e50f0a2358b0d8b99b5
|
|\ \
| | |
| | |
| | | |
is easier to override one or the other" into ub-launcher3-master
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
it is easier to override one or the other
Bug: 36001650
Change-Id: I713f4f5dbcf902614ce9f6c7a73bdace7bdf1ea0
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DeferredHandler was added when we were posting each icon separately,
to prevent starvation. But since then we have moved to binding batct
items during bind.
Also fixing waitForIdle not waiting the second time. waitForIdle was
using a global variable to maintain state, and was not waiting properly
when its called the second time before binding deep shortcuts
Original Change-Id: I9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d
Change-Id: I9e6b3ae65fbd3aec3a46092efc5249c4525efedf
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
$ adb shell dumpsys activity provider com.android.launcher3/com.android.launcher3.LauncherProvider
To see how the proto is filled: go/launcher-proto-dump
b/31772480
Change-Id: I8e0f1e5e38148a3dfeabd2fc057392193b2625dd
|
|/
|
|
|
| |
Bug: 32365540
Change-Id: Iaac3e08ce55457ebbfb3633514ebc8ade6d200c5
|
|\
| |
| |
| | |
ub-launcher3-master
|
| |
| |
| |
| |
| |
| |
| | |
Removing static access to model update methods, to allow for better
access control and testing
Change-Id: I9afe004dbf1b2fe50df422fd28bceea9230a4704
|