Release Android Preview 21 and bilingual changelog
Add permission-based reading of Android contacts, SMS and call history. Include shared Gaia fixes and document device validation limits. Pixel image qualification remains pending.
This commit is contained in:
parent
1c20a0b6d5
commit
200d1fb235
43 changed files with 2271 additions and 65 deletions
13
tools/refresh-keyboard.py
Normal file
13
tools/refresh-keyboard.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Refresh the dictionary loader in Gaia's packaged keyboard settings bundle."""
|
||||
from pathlib import Path
|
||||
ROOT=Path(__file__).resolve().parents[1]
|
||||
source=(ROOT/'gaia/apps/keyboard/js/settings/layout_dictionary_downloader.js').read_text()
|
||||
path=ROOT/'assets/webapps/keyboard.gaiamobile.org/gaia_build_defer_settings.js'
|
||||
bundle=path.read_text()
|
||||
start=bundle.index('(function(exports){var LayoutDictionaryDownloader=')
|
||||
end=bundle.index('exports.LayoutDictionaryDownloader=LayoutDictionaryDownloader;}(window));',start)
|
||||
end+=len('exports.LayoutDictionaryDownloader=LayoutDictionaryDownloader;}(window));')
|
||||
out=ROOT/'overrides/keyboard.gaiamobile.org/gaia_build_defer_settings.js'
|
||||
out.write_text(bundle[:start]+source+'\n'+bundle[end:])
|
||||
print(out.relative_to(ROOT))
|
||||
Loading…
Reference in a new issue