GravityBox/GravityBox — pull request #550 by alogblog (2014-02-15 13:14:12+00:00)
Title: add intent extra for setting extended desktop on or off

With current GravityBox, we can toggle ED(expanded desktop) using a shortcut.

In normal usage, this toggling is OK, because human eyes can see current desktop's expended state.

But in a script like Tasker, which is an automatation app, we want to set ED to on or off expicitly.

So this INTENT method is only for advanced(?) users.

Intent usage is as below,
action = "gravitybox.intent.action.TOGGLE_EXPANDED_DESKTOP"
extra = "hwKeyValue:0" (ED toggle)
extra = "hwKeyValue:1" (ED on)
extra = "hwKeyValue:-1" (ED off), (any value not 0 or 1),
no extra = (ED toggle, like GB shortcut)

I tried as little modification as possible, so used predifined hwKeyValue integer extra.

I'm not good at git system, it's my FIRST pull request, so I don't know my uploading(?) is right.