mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #65 - Remove AppConstants from toolkit/components/satchel
This commit is contained in:
parent
0cd01bac24
commit
d28907df2a
3 changed files with 29 additions and 26 deletions
|
|
@ -91,7 +91,6 @@ const Cr = Components.results;
|
|||
|
||||
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
Components.utils.import("resource://gre/modules/AppConstants.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyServiceGetter(this, "uuidService",
|
||||
"@mozilla.org/uuid-generator;1",
|
||||
|
|
@ -102,7 +101,11 @@ const DAY_IN_MS = 86400000; // 1 day in milliseconds
|
|||
const MAX_SEARCH_TOKENS = 10;
|
||||
const NOOP = function noop() {};
|
||||
|
||||
var supportsDeletedTable = AppConstants.platform == "android";
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
var supportsDeletedTable = true;
|
||||
#else
|
||||
var supportsDeletedTable = false;
|
||||
#endif
|
||||
|
||||
var Prefs = {
|
||||
initialized: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue