| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
- We were not getting callbacks for sessions created under work profile.
- We did not pass in the user when creating the workspace item infos.
- Added check for if app is installed before adding item to workspace
to prevent any stale promise icons. This seems to happen when uninstalling
and then immediately reinstalling an application.
Bug: 141556707
Change-Id: Ie0320f3ede70b6c7543cb60c3b95a2fe398eecb5
Merged-In: I2db2d8da449c37eb248a59fbc9e7b517f50855c1
|
|
|
|
|
|
|
| |
Bug: 139888225
Change-Id: I8a3d0fe2689ad5ba24b19309728bbad0b6287f71
Merged-In: I8a3d0fe2689ad5ba24b19309728bbad0b6287f71
(cherry picked from commit c7a6c2979cc063dd493316d0d19cbc0501a23a64)
|
|\
| |
| |
| | |
ub-launcher3-qt-future-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some users are affected by a bug that keeps orphaned app icons after a
package is uninstalled. Since we are unable to pinpoint to what exactly
is causing this, we're adding logs so we could tell where exactly things
are failing.
Bug: 124817089
Change-Id: If168935115a7d323fd60c2b19426c1dbd43dbce3
|
|\ \
| | |
| | |
| | |
| | |
| | | |
am: d6ae55d968
Change-Id: I733da069b9de54d11f8e736ccd84eca610d65f91
|
| | |
| | |
| | |
| | |
| | |
| | | |
Test: Ran tests on device
Bug: 140819614
Change-Id: I8ee6836d3a06f315518aa4829c8e2ddf8cf5f74d
|
|\| |
| |/
|/|
| |
| |
| |
| |
| | |
cfdeb0620579127e2b0bba74b616b281434ffca7 to ub-launcher3-qt-future-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id60ae2c08ec7aca6780fec1f873920f3857d598e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Ensure we only add promise icons for apps that aren't already installed to
our internal list of session ids.
- Ensure we only remove promise icons created from the install session when
that session is abandonded.
Bug: 140819614
Change-Id: I3c93865b5e96a9c7a160154b45a38eb90ac9d183
|
| |
| |
| |
| | |
Change-Id: I44bca49b8adb6fa22c3b48d10f674e42c28d792c
|
|/
|
|
|
| |
Bug: 137568159
Change-Id: I4d8bb5c01cabe642731ebd3f57fe15bdc5a569b7
|
|
|
|
|
| |
Bug: 131360075
Change-Id: I21e0a6cdf332e2d16821c589f9630c254b595770
|
|
|
|
|
|
|
|
|
| |
During AppWidgetRestoredReceiver, we call forceReload from worker thread
which in turn starts the loader while holding mLock. This causes other
loader calls on UI thread to cause ANR
Bug: 133651528
Change-Id: Iabf983c4319bd6e6ef88e74fe6076289294454f9
|
|
|
|
|
|
| |
Bug: 129434166
Bug: 131170582
Change-Id: Ia9b356594001d96c69ffbb7f8b767b2f54ed5feb
|
|
|
|
|
| |
Bug: 131170582
Change-Id: Iffc3f5f38ce896c4cfd2df55bedcf43e2018a58f
|
|
|
|
| |
Change-Id: I2842689e192a206c0d31558c8126eae1c7904598
|
|
|
|
|
|
| |
Will get rid of ShortcutInfoCompat in a follow up cl
Change-Id: I7d7d9c938635f59b216290ba28bea9d0e0721a7d
|
|
|
|
|
|
|
|
|
|
|
|
| |
display changes
> Removing unnecessary check when binding model data as its safe to bind old data,
we should just not persist it (that check is already there in model writer)
> Adding additional check in model bind to skip old bind if there are multiple binds
Bug: 126259547
Bug: 118441555
Change-Id: Ic250d2af13797d3e70c6e1fc70da65ebe6ab8d70
|
|
|
|
|
|
|
|
| |
after launcher has reloaded
Bug: 126289691
Bug: 124288578
Change-Id: Id7fb29716241a13f4e03ee0fc0e879523de4f878
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Now that b/117332845 is fixed
Bug: 117332845
Change-Id: If8c137b9c7cc386dfc5b5af4b81a3efbfa33f770
Tests: None
|
|/
|
|
| |
Change-Id: I0d28069967854357ca755bf25dec19d4979bdecf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were already returning to the current page, but this wasn't
always right, e.g. when removing the last item on the last page.
So now we mark the page the item was removed from, and bind that
page first when undo is clicked.
This also addresses an issue where we incorrectly returned to the
first page if currentPage = INVALID_RESTORE_PAGE, which happens if
there are no items on the first page.
Bug: 118846684
Change-Id: I4ec1f64b24ba1cc308ce08bfb3111b5981fae99b
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removing a separate table for workspace screens. List of screens are
automatically parsed using the items in the favorites DB. Order of the
screen based on the screen id and rearranging screens is no longer
supported. In case the screens need to be rearranged, all the items
in the favorites db will need to be updated with new screen ids.
This makes backing up the DB (in the same database) easier as only
one table needs to be duplicates.
Change-Id: I8ba947a898f637d780e2f49925e78604263126e8
|
|
|
|
|
|
| |
> Fixing resource loading in robo tests
Change-Id: Id5b8a0e4916a2a200da7a41b03f19846834beb1f
|
|
|
|
|
|
|
|
|
|
| |
Change to only keep the per Activity shortcut count in memory, not
the list of ids.
The full shortcuts are loaded at long press time so saves memory.
Bug:117239104
Test:Manual and ran instrumentation tests
Change-Id: Iee974ecba2c977216be4f078396ceed22b931f5d
|
|
|
|
|
|
|
|
|
| |
Bug: 115891474
Test: make -j10 icon-loader
Next step: Launcher will depend on icon-loader in next CL
Change-Id: I797ddb857cf8be79f3be6ca2f174c593ca3713a5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Make waitXXX methods fail if the condition diesn’t turn true.
2. Waiting for loading to complete in tearDown instead of reloading the
model
3. Avoiding waiting for load-complete where loading didn’t start
4. Disabling last test in AddConfigWidgetTest
5. Waiting for loading to complete inside setupAndVerifyContents(), not
outside
6. Unifying how we wait for loader to complete
7. Adding more logging
Bug: 117332845
Test: running all Nexus tests
Change-Id: I3070e1ac2b9161179cc3e0800b0cd8162807389a
|
|
|
|
|
|
|
|
| |
> Items ids were already being typecasted to int when being bound on the UI
> Using a consistent type allow better use of platform data-structures
> Adding IntArray and IntSet as a replacement for various Collection classes
Change-Id: Id3c650ed2420c2bfca3bd7671d2b705b56112371
|
|
|
|
|
|
|
|
| |
And waiting to loader to finish to improve determinism.
Bug: 117332845
Test: running Launcher
Change-Id: Icdfce969b61f8ceb952a2715037783458da4d4c4
|
|
|
|
|
|
|
|
| |
This test fails
Bug: 117332845
Test: running Launcher
Change-Id: I300c856992b3d1f559c4c31525a45e2c4a960f11
|
|
|
|
| |
Change-Id: Ie026ee47905454bd70e774d422cd7fe142aec7e2
|
|
|
|
|
|
|
|
|
| |
Bug: 115891474
Sending out the package name changing CL first before I make
LauncherIconsHandler and tests around it.
Change-Id: Ic10479a06333e1435b392a7072cd08782e710cbd
|
|
|
|
|
|
|
|
|
|
| |
When launcher loads, it fetches the list of apps twice, once for
loading all-apps and again for updating icons. Instead reusing
the previously fetched apps list.
Also moving the icon loading in a separate package for further
generalization
Change-Id: Ibd2dae56e6027a31b633da030bc6b43a90b27e1b
|
|
|
|
|
|
|
|
|
|
|
| |
- Add methods to ModelWriter to prepareForUndoDelete, then
enqueueDeleteRunnable, followed by commitDelete or abortDelete.
- Add Snackbar floating view
- Show Undo snackbar when dropping or flinging to delete target; if the
undo action is clicked, we abort the delete, otherwise we commit it.
Bug: 24238108
Change-Id: I9997235e1f8525cbb8b1fa2338099609e7358426
|
|
|
|
| |
Change-Id: I9a774152d13a541e8496dd84f2469bfed407f86d
|
|
|
|
| |
Change-Id: I862af4931c95cbde052130d8b7d4ac3375db782f
|
|
|
|
|
| |
Bug: 110016648
Change-Id: I8e36b80e9c893de91bce208ceac93a3fcdb557d5
|
|
|
|
|
|
|
| |
If launcher submits a job, and then reloads before the job is executed, the correct model
is not reflected on the Launcher. In that case, we simply rebind the launcher
Change-Id: I380242a4de13e7b2bc326d1a076f0a974435999c
|
|
|
|
|
|
|
|
| |
before marking the ViewOnDrawExecutor as completed.
Also fixing model writer not updated on rotation
Change-Id: I5ecd7ac865b939ffa4c02afe892bd773d9f275c3
|
|
|
|
|
|
|
|
|
|
| |
in loading state,""
This reverts commit 73aa3025c0001e58c57d009053dee03c0108ca3e.
Reason for revert: Post-drop revert
Change-Id: Ife752d26e07d9c064c938ff8d33d40457b54217a
|
|
|
|
|
|
|
|
|
|
| |
loading state,"
This reverts commit a1b4911e2606c5b9f36d0692f0bd0856c6e24683.
Reason for revert: Temporary revert for NL build
Change-Id: I81527681bd00d49e590a99e238f4d57e5a619d16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which could be caused by the following sequence of events
1) Starts preload => execution moved to background thread
a) check if loader is running
... execution moved to ui thread
2) Launcher starts
3) Cancels any running loader and starts a new loader
.... Execution on background thread
b) Cancels any running loader and starts a new loader
Synchronizing (3), and [a, b] under same lock would avoid this case
Bug: 73399920
Change-Id: I6b01f797fd6f4a2e5b3c078bb374ad40fcc311c8
|
|
|
|
| |
Change-Id: Ibe529f31e96c645d45d51b9f3bf6c21b76b41254
|
|
|
|
|
|
| |
Creating a pool of LauncherIcons so that they can be used from multiple threads
Change-Id: Idc7b5ddb47b6e338a5389f3c4faa6f63de108c72
|
|
|
|
|
|
|
|
|
| |
> Calculating extracted color during icon generation and storing it in model and DB
> Removing unused logic avoid various types of badge rendering
> Icons are badged with extracted colors, while folder is badged with theme color
Bug: 35428783
Change-Id: I93e30c52fbded7515c3ae1778422e84672eafb56
|
|
|
|
|
|
|
|
| |
Apply model updates as son as they arrive instead of waiting for onResume.
Various workspace items do not use any configuration dependent resources.
For Widgets, we wait until the host starts lietening before inflating the actual view.
Change-Id: Icb2f5e5940c1ce6c27062ccd34eff87e80af5ab1
|
|
|
|
|
|
|
|
|
|
| |
> Removing Widgets and related states
> Fixing different durations being used when opening/closing all-apps
> Removing some unnecessary object allocations when changing state without animation
> Differentiating widget bootm sheel and full sheet in logs
Bug: 67678570
Change-Id: Ic169528736d04ee0b38564b4f96595ba066eabda
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> The widget panel is only inflated when needed
> Using the swipe up/down interaction for widgets tray
> Removing additional view wrappers from all-apps
> Widget tray is preserved across activity recreation
> Launcher no longer has WIDGET state, the actual code around
the states will be removed in a follow-up cl
Bug: 67678570
Bug: 67585158
Change-Id: Ia29a7c33ec81e6c53cc24e2906b7022b6f41755b
|
|
|
|
|
|
|
|
| |
This avoids acquiring a lock for upating the sharedPrefs during onResume
as all the logic runs on a single thread.
Bug: 67305604
Change-Id: I1bbea382da9fafb403b4e9508f393f78db28478d
|
|
|
|
| |
Change-Id: I30ad1a1462a97b6bc03f8e386ae3058c7fe022e5
|