calabash/calabash-android — pull request #390 by mgrebenets (2014-04-16 12:08:56+00:00)
Title: Activity orientation

# Summary
- More input values to set orientation (consistent with iOS)
- Action to get activity orientation
- New method to create instance of `Result` class

## Activity Orientation
- Modified `set_activity_orientation` action to support "left", "right", "up" and "down" orientations in addition to "landscape" and "portrait".
- This makes it similar to iOS code and makes it easier to write cross-platform code.
- Added `get_activity_orientation` action to return current activity orientation
- Using "message" to return orientation, probably should use "bonusInformation" instead.

New file: `actions/activity/GetActivityImplementation.java`.

## Successful Result with Message
Added `public static Result successResult(final String message)` as helper method to construct successful result with message.

## Formatting
In all touched files
- Removed trailing spaces
- Fixed blank lines (removed obsolete spaces)