Update application_service.cc

I suppose this place should be 'false' because actually the Installation is 'failed' due to 'it's already installed', isn't it?
[Android] Make prepare_r_java.py an executable

IDEs like eclipse are unable to run the program as an external builder
if they are not marked executable.

Also, use copy2 instead of copyfile to preserve 'x' bit in file mode.
[Android] Add eclipse build support for xwalk_core_library

Eclipse is a popular IDE for android development. So it's useful
to have this supported out of the box.

This change adds the .project, .classpath files required by Eclipse
for importing.
[Android] Refactor the python script to prepare xwalk core library

Use list of files/directories to avoid duplicated code for copying.
[Android] Add thread safety checking for XWalkView.

All XWalkView methods must be called on the UI thread.
Throw an exception when XWalkView methods are called from
other thread. So all unit test cases need to be refined for
this change.

BUG=https://crosswalk-project.org/jira/browse/XWALK-98
[Android] Add the test case about onPause and onResume.

This patch contains the test case about onPause and onResume on
embedded and shared mode. It's for the runtime client.
Invoke onPause or onResume on main thread, wait for some seconds
to ensure that we get the title. Then wait for two hundred
milliseconds, get the title again. Compare the two titles.

For embedded client test:
1. install XWalkRuntimeClientEmbeddedShell.apk
2. python build/android/test_runner.py instrumentation \
--test-apk=XWalkRuntimeClientEmbeddedTest -v -f testPauseResume

For shared client test:
1. install XWalkRuntimeLib.apk
2. install XWalkRuntimeClientShell.apk
3. python build/android/test_runner.py instrumentation \
--test-apk=XWalkRuntimeClientTest -v -f testPauseResume
Merge pull request #1033 from junmin-zhu/thread

[Android] Add thread safety checking for XWalkView.
Merge pull request #1055 from wang16/refactor_prepare_core_py

[Android] Refactor the python script to prepare xwalk core library
Merge pull request #992 from gramakri-intel/master

[Android] Eclipse build support for xwalk_core_library
Merge pull request #1062 from shaochangbin/issues

[Tizen][Runtime Model] Fix installer crash if icon is missing from manifest.
[Extensions] Use ContainsKey() from base/stl_util.h

Containskey() is exactly what this code needed. We keep using
find() (and the comparison to end()) when we will later make use of the
iterator.
Bump version to 2.31.30.0
Merge pull request #962 from wuhengzhi/pauseResume

[Android] Add the test case about onPause and onResume.
[Android] Add the test case about enableRemoteDebugging.

This patch contains the test case about enableRemoteDebugging on
embedded and shared mode. It's for the runtime client.
Enable the enableRemoteDebugging by the broadcast. From the
output of 'cat /proc/net/unix' command, find the abstract socket
name opened for remote debugging.

For embedded client test:
1. install XWalkRuntimeClientEmbeddedShell.apk
2. python build/android/test_runner.py instrumentation \
--test-apk=XWalkRuntimeClientEmbeddedTest -v -f testEnableRemoteDebugging

For shared client test:
1. install XWalkRuntimeLib.apk
2. install XWalkRuntimeClientShell.apk
3. python build/android/test_runner.py instrumentation \
--test-apk=XWalkRuntimeClientTest -v -f testEnableRemoteDebugging
[WiDi API] Implement navigator.presentation.requestShow API on Android

This patch is to implement navigator.presentation.requestShow for
showing a new HTML page on the secondary display.

IMPLEMENTATION NOTES:
o Web messaging can be used for communication between the opener window
  and presentation window.
o Only one presentation is allowed to be created. If there is already a
  presentation showing, an attempt to call requestShow will fail.
o A presentation will be dismissed in case of:
  1. window.close is called to close the presentation DOM window, or
  2. The presentation display is disconnected, and there is no available
     display for presentation show any more.
o The DOM window object for presentation is retrieved from the routing id
  of RenderView. It follows the way chrome.app.window.create does.

TODOS:
o Add `destroy` into XWalkView to destroy an XWalkView instance.
o Add `Promise` support for requestShow API instead of using callback.
o Make it backward-compatible on Android

SPEC=http://otcshare.github.io/presentation-spec/index.html
BUG=https://github.com/crosswalk-project/crosswalk/issues/577
[Runtime] Add Manifest keys handler mechanism

The key handler can parse specific member in manifest.json for more
information, and save these information into the Application object, by
this, it will be easier to use without parsing these information every
time. The mechanism also can treat dependence relationship between
Manifest keys, it make sure that a high priority key will be always
parsed before a low one, means that when parsing the low priority key,
all required information has been prepared yet.

The key handler also can validate if the key value is allowed for this
application.
Revert "[Tizen] Enforce device scale factor value to '2.0' on Tizen"

This reverts commit c79b41fde47fe0a6da116c9d4f0c2e9ad5410e15.

As Aura scales all the contents including UI elements, this change affected status bar appearance. The status bar should handle HIDPI properly before we can enable it again on Tizen.
Merge pull request #1064 from cmarcelo/contains-key

[Extensions] Use ContainsKey() from base/stl_util.h
Bump Crosswalk to version 3.
Merge pull request #1066 from pozdnyakov/Revert_Scale_Factor

[Tizen] Revert "[Tizen] Enforce device scale factor value to '2.0' on Tizen"