Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
BlissLauncher
Commits
3c416c3a
Commit
3c416c3a
authored
Oct 20, 2021
by
Rohit
Browse files
LauncherDao: Add a query to get component name for given package
parent
ffd43309
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/blisslauncher/core/database/daos/LauncherDao.java
View file @
3c416c3a
...
...
@@ -20,6 +20,9 @@ public interface LauncherDao {
@Query
(
"SELECT * FROM launcher_items ORDER BY container, screen_id, cell"
)
List
<
LauncherItem
>
getAllItems
();
@Query
(
"SELECT item_id FROM launcher_items WHERE package = :packageName"
)
String
getComponentName
(
String
packageName
);
@Insert
(
onConflict
=
OnConflictStrategy
.
REPLACE
)
void
insertAll
(
List
<
LauncherItem
>
launcherItems
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment