| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This removes some crass dependency on Launcher compat implementation
making it easier to move iconCache to a separate library
Change-Id: If5fab0c82d98089cde6f54b6a374fb7bb2db5ae8
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 111142970
Change-Id: I867224464ae9c026f4dcb5256ef14fc39c8e751d
|
|
|
|
| |
Change-Id: I1d12862205f7fa7f3671ff351e66dba58bb430e2
|
|
|
|
|
|
| |
Caching the ststemApp status for workspace shortcuts.
Change-Id: I25663e1f04a9768afcca000294adcbb00ea1db7b
|
|
|
|
|
|
|
|
| |
Guarded via feature flag SUGGESTED_APP.
Bug: 62483883
Change-Id: I7e0c8a9875bc37c435aa4316b44322a628cd4826
|
|
|
|
|
|
|
|
| |
- organizing imports
- remove redundant modifiers on LauncherCallback interface
- fix typos
Change-Id: I61eb985cac7c1379b6b804a67d4f234386d3d1b4
|
|
|
|
|
|
|
|
|
| |
profile column
The intent extra is not always correct as the profile id can change during backup restore.
This allows us to use a consistant behavior everywhere.
Change-Id: I004bd244204ca91758b1d42488e1fc13b0ccb998
|
|
|
|
|
|
|
|
|
| |
This is the basis for app discovery integration while searching in all apps.
This does NOT include binding to the actual service and retrieving results,
but instead provides all the UI to show suggested instant apps and apps
from a store with star rating and pricing.
Change-Id: I1605b52848491acee4ac1d15c0112e6a768363f6
|
|
|
|
|
|
|
| |
> Added two dummy widget providers: with config and without config
> Added tests for verify widget config flow
Change-Id: I4577f085abe8f8b82047b644c71cc9065358153a
|
|
|
|
|
|
| |
can be created on the UI thread
Change-Id: If84e52041eb4ab20807f5cfd4b7f31d7b5f381ed
|
|\
| |
| |
| | |
ub-launcher3-master
|
| |
| |
| |
| |
| | |
Bug: 34123342
Change-Id: Ibb80c6e442beea34c612fb4ce5246260714820e2
|
|/
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
|
|
|
| |
> This ensures that LauncherAppState is only accessed in the presence of
a valid context
Bug: 33032833
Change-Id: I955e5cb022f8bd6374681ae6c0720a2666d5b750
|
|
|
|
|
| |
Bug: 34199268
Change-Id: I7223d1d408e7b48f9c63c9801c2805aaf7363038
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
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
|
|
|
|
|
|
|
|
| |
> 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: d139b0aa7d
Change-Id: Ie2a41a3e355ff502a870bde5c8be2576b8712bf7
|
| |
| |
| |
| | |
Change-Id: I95b46e3c3f1238307d3ef5a6c81a8e530ba0987a
|
|/
|
|
| |
Change-Id: Id6d3d0b9c345a503ff2e09f073eb4b6449e21c7e
|
|
|
|
| |
Change-Id: I7cde42f0df412e2877fb93c77e74ee56a25edead
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 30681210
Change-Id: Ibb5fd58e5fc9557b63730bc1e3c3977133769466
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
> 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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: I3fa005ece20a54b31f823acb28c384ecdf1eafb1
|
| |
| |
| |
| |
| |
| |
| | |
when its disabled
Bug: 30315906
Change-Id: Ice747e7be955d8bb2dd65191f7613e2afd4abc1c
|
|/
|
|
|
|
|
|
|
| |
Otherwise shortcuts with the same id would be updated,
even if they were in different packages.
Bug: 28980830
Change-Id: Ideefe3aaac83af38c03a38d821bac192ae55fe67
|
|
|
|
|
|
|
| |
These are added as soon as the icon is added to the workspace
Bug: 28980830
Change-Id: I725d2ee8994324f09d9ecf7bbbb0090a7ceb5769
|
|
|
|
| |
Change-Id: I94d98750aea1faef8879e25990aa5c41a4894708
|
|
|
|
|
| |
Bug: 30064868
Change-Id: I09a0576c3618c253c25a5e755081833816887698
|
|
|
|
| |
Change-Id: Ifdfa95a58aa18a825c1838c61055928dbe0ea3be
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- This CL has no UI but provides the necessary backing for one.
- Adds new item type: ITEM_TYPE_DEEP_SHORTCUT, to distinguish from
ITEM_TYPE_SHORTCUT. We can reconsider these names.
- Adds ShortcutCache, using LruCache for up to 30 dynamic shortcuts
(pinned shortcuts are always cached in a HashMap).
- DeepShortcutManager queries for shortcuts and other things like
pin them. In a future CL it will use the cache, but for now it
simply makes an RPC for all queries.
- LauncherModel maintains counts for pinned shortcuts, pinning and
unpinning when counts reach 1 or 0, respectively.
- LauncherModel maintains a map of components to lists of shortcut ids,
which Launcher gets a copy of after it is changed in the background.
This will allow us to know how many shortcuts an app has immediately,
and query for details as the UI is animating.
Change-Id: Ic526f374dd10d72a261bae67f07f098fca8d8bca
|
|
|
|
|
|
| |
shortcuts. This prevents launcher specific intents to unknowingly leak data.
Change-Id: I01343a9cee1f2a9a37a20aaf24e933e2771ecdbc
|
|
|
|
|
|
|
|
|
| |
Icon type is not used consistently. It is used initially
during the loader. Afterwards, we save both the icon and resource to the db.
Instead of changing the logic to always read the shortcut-resource first, and fallback to the bitmap if the resource is not available,
always write the bitmap to DB whenever the shortcut is edited.
Change-Id: I0ea5e88f8904bd3250ca669220b3e5d6aeef1bfd
|
|
|
|
|
|
|
|
| |
breakage"
This reverts commit fc956e5a2a818c06ed3424e15b0aa20a3f604658.
Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
|
|
|
|
| |
Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
|
|
|
|
|
|
|
| |
-> Created com.android.launcher3.folder package to house most folder-related files
(aside from the FolderInfo) which is more related to the model than the UI.
Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
|
|
|
|
|
|
|
| |
Grey out applications when managed profile is
not available.
Change-Id: I9bb9442cd0b3d0d207062716bfd6b179e3ba8489
|
|
|
|
|
|
|
|
| |
Grey out application shortcuts and all apps entries
for packages that are suspended.
Bug: 22776761
Change-Id: I1b63da1816aca1de52b9f9bee62d1b162d0cdf4d
|
|\
| |
| |
| | |
Change-Id: I92f38e9f4ac4d9b6c5a3000e0971d2bc417bd3c6
|