| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL fixes app shortcuts for suspended packages.
1) When DO/PO suspends an app, its pinned shortcuts are instantly grayed
out, but this is not persisted after the launcher restarts (e.g. device
reboot). We now enforce the launcher to check the suspended state when
loading the workspace, and gray out pinned shortcut icons accordingly.
2) When DO/PO suspends an app, its app shortcut popup is still
available. We now temporarily disable the popup when the app is
suspended, and persist the state across restarts.
Bug: 32365540
Test: manual, by following the steps in the bug above
Test: manual, by restarting the launcher package
Change-Id: I983d7c17fa198beca23b66459b50bd67b447bdd2
|
|\ \
| |/
|/|
| | |
ub-launcher3-master
|
| |
| |
| |
| |
| |
| |
| | |
Removing static access to model update methods, to allow for better
access control and testing
Change-Id: I9afe004dbf1b2fe50df422fd28bceea9230a4704
|
|\ \
| | |
| | |
| | | |
ub-launcher3-master
|
| |/
| |
| |
| |
| | |
Bug: 34112546
Change-Id: Ia3db3e2f56d26e314000e302b51e6d38607c525d
|
|/
|
|
|
|
|
|
|
| |
b/31772480
Note: in the follow up CL, I will add the dump result of the bgDataModel
to a proto
Change-Id: I5261cff0fb29cedd1dd772b8b15f67095ad5b967
|
|
|
|
|
|
|
|
| |
> Adding checks on legacy shortcuts
> Checking restore status based on package and not componentName
Bug: 34123342
Change-Id: I442699e4ebb34ae66aa25c512bfcdc1b4fd5ae2a
|
|
|
|
|
|
| |
can be created on the UI thread
Change-Id: If84e52041eb4ab20807f5cfd4b7f31d7b5f381ed
|
|
|
|
|
|
|
| |
> Moving the restore property to LoaderCursor
Bug: 34123089
Change-Id: I1f992ef086d65e0b3cf18d3b2cf37a4f254c97d2
|
|
|
|
|
|
|
|
| |
> Instead of checking promiseIntent != null, using isPromise() for consistency
> Fixing bug where clicking a pending icon does not launch anything
> Fixing bug where draging an icon on Info target, permanently hides the icon
Change-Id: Ic8f6b56042dba42d5ed9aedb0f5947186e1a4208
|
|
|
|
|
| |
Bug: 32745285
Change-Id: I00f13794d5dc0a2b1fe03ec74de36018f22eb386
|
|
|
|
|
|
|
|
| |
> This ensures that LauncherAppState is only accessed in the presence of
a valid context
Bug: 33032833
Change-Id: I955e5cb022f8bd6374681ae6c0720a2666d5b750
|
|
|
|
|
|
|
|
| |
> Moving any icon cache access to background thread
> Updating Apps list to avoid loading icons for ignored apps
Bug: 21325319
Change-Id: Id72755100f1176ccfcc99249c5e02873cc249a13
|
|
|
|
|
| |
Bug: 34112546
Change-Id: I8a43ed1646056aa1957ac3d6ea82018691df6386
|
|
|
|
|
|
|
|
| |
This logic was dependent on key-value based backup. Since we are
using full-backup, the appropriate flags are never set.
Bug: 18764649
Change-Id: I95a93eee63ac9c82acfb66abfdd1a5407974df46
|
|
|
|
|
|
|
|
| |
Providing a way to access icon cache without LauncherAcitivtiyInfo.
This allows fetching LauncherActivityInfo only when required, thus
avoiding system RPC when the icon is already in cache.
Change-Id: I92918c7a0d0d0796e5f7b70d4ecb6787c52c6600
|
|
|
|
|
| |
Bug: 32745285
Change-Id: I762fb4e268c1afe48a1860ab12a4ccb3f626aa95
|
|
|
|
|
|
|
|
|
| |
> Making iconBitmap public instead of a getter (similar to AppInfo)
> Removing getIcon() which can lead to IO on UI thread
> Removing updateIcon and handling the update at the caller
Bug: 21325319
Change-Id: I6a49b9043f974e9629ea25e77012d97cc04c0594
|
|
|
|
|
| |
Bug: 32904959
Change-Id: Ida43bcf78da716defdf95eb704c31973bc390ea1
|
|\
| |
| |
| | |
thread" into ub-launcher3-master
|
| |
| |
| |
| |
| |
| |
| | |
> Creating shortcut info requires iconCache access
Bug: 21325319
Change-Id: I3317d8b6824aa05b836f3ed3626f169d4d34f783
|
|\ \
| | |
| | |
| | | |
of getting it from LauncherAppState" into ub-launcher3-master
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
of getting it from LauncherAppState
This follows the design of other managers and makes it easier to access it
from other processes and non-ui thread.
Bug: 33032833
Change-Id: I8ad82ae5b6cc47bae885f9896985675c7dd0d5b8
|
|/
|
|
|
|
|
| |
the background thread.
Bug: 21325319
Change-Id: I4d0f02557cdbf70cfa86750ac047faf2917e39bf
|
|
|
|
|
|
| |
> Adding tests for some of the runnable
Change-Id: I1a315d38878857df3371f0e69d622a41fc3b081a
|
|
|
|
| |
Change-Id: If98851677545a9bbb9de308c23ff5c155a61a8bf
|
|
|
|
|
|
|
|
|
|
|
|
| |
Indexer depends on the locale and should be created when ever the config
changes. Moving the widget indexing to the adapter (similar to allApps)
which gets created whenever the activity is recreated.
This fixes the bug where widgets indexing breaks if locale changes while launcher
process is alive
Also fixing the bug in widget model cloning where the HashMap was not cloning
the underlying ArrayList
Change-Id: I7dbe6290e73299c4c07aa7fa564077a2649e1a4c
|
|\
| |
| |
| | |
Change-Id: I20ad6eaace81786be080e28d6eb551908add6d90
|
| |
| |
| |
| |
| | |
Bug: 32010039
Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
|
| |
| |
| |
| |
| |
| |
| |
| | |
> Moving isPackageEnabled to InstallShortcutReceiver
> Moving the deep shortcut map to the data model
> Removing appInfo.flags. Instead fetching the flags when needed
Change-Id: I654dd8acefa7b7d183b0419afbe112bef001d536
|
|\|
| |
| |
| |
| |
| | |
am: 7695e603bf
Change-Id: I525c3342a7559f1cd831cbd4f56c2acd8b6875b9
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(This change is in the onShortcutsChanged() callback.)
- Remove all workspace icons that correspond to shortcuts that
are now unpinned
- Remove all workspace icons that have the same package and
user handle as passed in onShortcutsChanged(), if they aren't
included in the list of shortcuts that is also passed.
These cases will happen for static and dynamic shortcuts,
respectively, when an app's data is cleared.
Bug: 30316501
Change-Id: I50db6567cb318d087012ab5d8208e765b81c6f99
|
| |\
| | |
| | |
| | | |
restored." into ub-launcher3-calgary-polish
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This will allow moving all the Tasks defined in LauncherModel as
separate intependent classes
Change-Id: I0b2f82b90dc22590eb1cc360a5690e2e7f857b5c
|
| | |
| | |
| | |
| | | |
Change-Id: I7337b819fe8f42f7a5a1481b5ed5d99a8cf583c4
|
|\ \ \
| | | |
| | | |
| | | | |
ub-launcher3-master
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Id6d3d0b9c345a503ff2e09f073eb4b6449e21c7e
|
|/ / /
| | |
| | |
| | | |
Change-Id: Ieea1b5100d63752d928049ad9b1d3b4f84234f0d
|
|\ \ \
| |/ /
|/| /
| |/
| |
| | |
am: fc02c1b446
Change-Id: Ic4c7bc4dfbeb2260f411edd56df2df3769127365
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This ensures that the intent has the package corresponding to the
shortcut publisher, rather than a market intent. It also ensures that
the intent has the EXTRA_SHORTCUT_ID attached.
Bug: 31123204
Change-Id: I05d56396b629880322e915f52bfc0605b921b0b1
|
|/
|
|
|
|
|
|
|
| |
restore
After setting this flag apps do not need to have an active settion during restore
which would simplyfy debugging backup-restore bugs.
Change-Id: I89f2d3ec677281887f8bab8559ace991709caadc
|
|
|
|
|
|
|
|
|
| |
Since we are doing a equality check on the intent, items which already have
the bounds attached to the intent will not get matched, causing duplicate
icons
Bug: 27176189
Change-Id: Ia9ed9120b04e9c234304995aed13777a5773119e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Pending widgets whill show a loading progress while the app
is being installed.
> Extra bind options can be defined using the tub tags
<extra key="key-name" value="key-value" />
These are sent as widget options when the widget is bound.
> If the widget has any config activity, it is not shown
> Required attributes:
className, packageName, x, y, spanY, spanY & screen
Bug: 30279609
Change-Id: I1338618bfa5d86967339dffb68c12b1add6eb5d7
|
|
|
|
|
|
|
|
|
| |
> Check for permission on every onResume
> If the permission is different than last known permission,
reload and rebind workspace.
Bug: 30789422
Change-Id: Idfa445815e29e2336505779545507d106b33a253
|
|
|
|
|
|
|
|
| |
mBgDeepShortcutMap is only accessed on the background thread. But
the same instance of list of values was getting passed to the UI
thread, instead of being cloned.
Change-Id: Ie7d0442d895304489ce9323ea872b9091d668ae5
|
|
|
|
|
|
|
| |
the ID map
Bug: 30654182
Change-Id: I30082bd87466a29b7bafe1e8cbf1446e1d1e4f3e
|
|
|
|
|
|
|
| |
user is locked
Bug: 30411561
Change-Id: I0d7fc0aaecba01b1aaac95b98654f6e3ee090ce8
|
|
|
|
|
|
|
|
|
|
|
| |
> LauncherApps returns empty list when the user is locked. Not relying on
LauncherApps in this case
> When the user is locked, removing all dynamic shortcuts
> Loading shortcuts from DB when the user is locked
> Verifying the shortcuts again when the user is available
Bug: 30411561
Change-Id: Ib6eb372c5b009cadb86a8f6e781f3f3cbf787ceb
|
|
|
|
|
| |
Bug: 30475465
Change-Id: I93aff6330b86a3bfa3e6b5741ab759d835618f0b
|