add 3rd party keyboard support to buchets (bug 922209)
This commit is contained in:
Родитель
2928757ca0
Коммит
54790aa3f7
|
@ -1564,7 +1564,7 @@ ALLOW_TASTYPIE_SERVICES = False
|
|||
|
||||
# The version we append to the app feature profile. Bump when we add new app
|
||||
# features to the `AppFeatures` model.
|
||||
APP_FEATURES_VERSION = 2
|
||||
APP_FEATURES_VERSION = 3
|
||||
|
||||
# Whether to throttle API requests. Default is True. Disable where appropriate.
|
||||
API_THROTTLE = True
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE `addons_features`
|
||||
ADD COLUMN `has_thirdparty_keyboard_support` bool NOT NULL;
|
|
@ -298,6 +298,12 @@ APP_FEATURES = OrderedDict([
|
|||
'apis': ('TCPSocket', 'navigator.mozTCPSocket',
|
||||
'navigator.mozTCPServerSocket')
|
||||
}),
|
||||
('THIRDPARTY_KEYBOARD_SUPPORT', {
|
||||
'name': _lazy(u'Third-Party Keyboard Support'),
|
||||
'description': _lazy(u'The app requires the platform to support '
|
||||
u'third-party keyboards.'),
|
||||
'apis': ('navigator.mozInputMethod',),
|
||||
}),
|
||||
])
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче