Merge branch 'master' of https://github.com/mozilla-b2g/gaia
Merge pull request #17685 from alivedise/bugzilla/963003/attention-screen-on-soft-home

Bug 963003 - Fix attention screen height on software home button shown, r=timdream
Merge branch 'master' of https://github.com/mozilla-b2g/gaia
Merge branch 'master' of https://github.com/mozilla-b2g/gaia
Revert "Merge branch 'master' of https://github.com/mozilla-b2g/gaia"

This reverts commit 11c85ad98bf9ba1f8d37f7e07a778b3c5b712198, reversing
changes made to 601118bc1f479d8f94ef4beb78c36b5a0bcdcf85.
Revert "Merge branch 'master' of https://github.com/mozilla-b2g/gaia"

This reverts commit 601118bc1f479d8f94ef4beb78c36b5a0bcdcf85, reversing
changes made to cb090fc1bc5d60c0e810dc33c3e0ef46ee678a23.
Revert "Merge branch 'master' of https://github.com/mozilla-b2g/gaia"

This reverts commit cb090fc1bc5d60c0e810dc33c3e0ef46ee678a23, reversing
changes made to 520aa82e0c5e0a1f90544a682e779bf9b8af1e93.
Revert "Merge branch 'master' of https://github.com/mozilla-b2g/gaia"

This reverts commit 520aa82e0c5e0a1f90544a682e779bf9b8af1e93, reversing
changes made to 2b64b43391a8a747b6381bdf072fd94265ae8909.
Revert "Merge branch 'master' of https://github.com/mozilla-b2g/gaia"

This reverts commit 2b64b43391a8a747b6381bdf072fd94265ae8909, reversing
changes made to 2a3ac3962b898f934e224741d839f5bc6d18c542.
Bug 984328 - [Keyboard][V1.3T] The alternative char menu cannot be
displayed
 - To set initial value of cached window height/width when the keyboard
   is relaunched after memory pressure.
Bug 964653 - (system-dialog) [Window Management] Implement System Dialog Window
Bug 936703 - [async_storage] callback in transaction.oncomplete event. r=djf

CostControl app invokes |Common.closeApplication()| in its
asyncStorage operation callbacks.  However, these callbacks are
invoked in IDBRequest.onsuccess events when the corresponding
transaction is not necessarily completed.  That is, we may have
following sequence:

  1) IDBRequest.onsuccess
  2) call to Common.closeApplication()
  3) invalidate open IDBDatabase
  4) trying to invoke IDBTransaction.oncomplete results in an
     AbortError.

We should follow W3C's suggestion here -- listen
IDBTransaction.oncomplete instead of IDBRequest.onsuccess.

[1]: http://www.w3.org/TR/IndexedDB/#widl-IDBTransaction-oncomplete
Merge pull request #16282 from ian-liu/system/bug964653_system_dialog_refactor

Bug 964653 - (system-dialog) [Window Management] Implement System Dialog Window, r=@alivedise
Merge pull request #16553 from huchengtw-moz/system/Bug_971554_instantiable_soundmanager

Bug 971554 - [System2] Instantiable SoundManager, r=alive
Reset Gaia master to state prior to horkage.
Merge pull request #17737 from RudyLu/keyboard/Bug984328_master

Bug 984328 - [Keyboard][V1.3T] The alternative char menu cannot be
r=timdream
Merge pull request #17380 from vicamo/bugzilla/936703/call-screen-indexeddb-abort-error

Bugzilla/936703/call screen indexeddb abort error
Bug 897352 - [gaia build system] Transition to a build_stage for assembling apps

Conflicts:
	Makefile
	apps/communications/build/build.js
	build/copy-build-stage-manifest.js
	build/test/integration/distribution.test.js
	build/utils-xpc.js
	build/utils.js
	build/webapp-manifests.js
Bug 960946 - [Keyboard] Change to the new sendKey API
Merge pull request #17738 from yurenju/stage-windows-squash-3

Bug 897352 - [gaia build system] Transition to a build_stage for assembl... r=@ochameau