mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1245580 - Part 2: assert GeckoAppShell.createShortcut is run on background thread r=liuche
MozReview-Commit-ID: 4KsxfvQ5mOd
This commit is contained in:
parent
d6c52a90b1
commit
ba93f78e51
@ -821,6 +821,7 @@ public class GeckoAppShell
|
||||
// This is the entry point from nsIShellService.
|
||||
@WrapForJNI
|
||||
public static void createShortcut(final String aTitle, final String aURI) {
|
||||
ThreadUtils.assertOnBackgroundThread();
|
||||
final BrowserDB db = GeckoProfile.get(getApplicationContext()).getDB();
|
||||
|
||||
final ContentResolver cr = getContext().getContentResolver();
|
||||
|
Loading…
Reference in New Issue
Block a user