ConnectivityService: Fix device hostname omission

Whoever cherry picked this originally didn't resolve
the ConnectivityService.java merge properly and left
out the ConnectivityService.java changes.

--- original commit by @Whitehawkx ---
Add an option to change the device hostname (1/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: Ibbac92e48363fde1e625111f76144a0233a3db80
Fixed Derp!

This reverts commit 87c0e5b1dfdb9b9ad4683a779fcd6add0e3ca2d0.

Change-Id: I58fc9b16a8c46f48a520517974d86fc331390bf0
Merge "Fixed Derp!" into jb4.2
Frameworks: SlimPIE the second (1/2)

This commit changes the following:
- add possibility to set trigger height on the left and right trigger
- add possibility to set gravity on the lef and right trigger
- change touch detection logic and calculation (it shows now up immediately...super fast :p)
- reduces values in dimens.xml because of the new touch detection much lesser are needed
- remove on settings the shown values on the left @seekbar on entries where it does not make sense
- reset option for trigger dimensions
- minor string changes
- cleanup
- minor bugfixes

for me it is now like a PIE should be lol

IMPORTANT FOR ALL DM'S:
I reduced the dimens.xml to values which are for most of our phones good
to go as default value (tuna, crespo, nozomi, grouper can handle even lower
values (3dp) which the user can set of course). d2 and other should be fine as well
with the default value. sgs I series I think need an overlay to push them
a bit up. Please test and submit your overlays to our gerrit.

cheers

Change-Id: I4434f54c0ef858b239c112e8071b677d3bb519d8
Merge "Frameworks: SlimPIE the second (1/2)" into jb4.2
Frameworks: google maybe likes empty strings we not

Our nice crowdin portal discovered that google has some empty
strings. Get rid of it in translation because it does not
look really nice.

cheers

Change-Id: I60ad049838bccaa2bcb51c7c1b27b21f39742b9c
Frameworks: SlimPIE second layer (1/2)

I promissed yesterday to stop working on SlimPIE....but due
team and user whishes I decided to do a last tweak so that
all are happy.

This commit introduces the following:
- enable second buttons row
- up to 7 buttons + 7 longpress buttons
- usual customizations on that buttons
- means it is possible to add 5 + 5 on first row and 7 + 7 on second row
- resource friendly...reusing most of present code
- new introduced observer for second row is just
  observing when second row is really enabled
- due optimizations we can hold the speed and responsive we
  introduced yesterday on same level
- reduce default size back to 1
- some minor changes

Now SlimPIE is finished

Screenshots (first shows default values for first and second row):
https://dl.dropboxusercontent.com/u/106208842/Screenshot_2013-05-01-02-30-47.png
https://dl.dropboxusercontent.com/u/106208842/Screenshot_2013-05-01-02-36-25.png

cheers

Change-Id: I0362649d4b275cef4ce0823e6bdf965abcc59601
Reduced padding on pie to screen edges

Change-Id: I179e1dd1a5020c02fa489539c841f603519b42bf
Can not mark the same content of browser page after copy

Marking a text on the web page and then press copy works,
but trying to mark the same text again does not work.
The reason for this is that the selection never gets
cleared in webkit.
The fix, calling cleaSelection in the onDestroyActionMode.
Also added clearSelection when getting an
onConfigurationChange.
Fix: reported back button custom Icon issue

recents custom icon replaced the back button custom icon

Change-Id: Ib8c3008b6cec6f6d18bafd710e790d0e329c7a23
Fix: Recents animation bug navbar

cheers

Change-Id: I0e0b16c37f0f21060d1ec4b0ee6b990bad0c5b4b
Merge "Can not mark the same content of browser page after copy" into jb4.2
Merge "Reduced padding on pie to screen edges" into jb4.2
Merge "Fix: Recents animation bug navbar" into jb4.2
Frameworks: recents rearrangement recents + fixes

Recents was and is a crap...already from AOSP...whatever
to avoid animation conflicts with the RAM bar it is moved up.
Due a lot user requests the clear recents is not bottom left
Recents container is now reduced and on bottom off ram bar
so that no visual overlap glitch exist any more. As well the
recents scrollview is more stable and now small 1dp glitches like
the original AOSP implementation. Code cleanup
and some code arrangements.

cheers

Change-Id: I3d4d880a6fa41575b2c9a4de06d289551aa5436d
Merge branch 'jb4.2' of git://github.com/SlimRoms/frameworks_base into SB