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.

Change-Id: I59b384cb5441b6a3a05007ea7e77f9699889a87c
FW: statusbar hiding rework - II
-remove STATUSBAR_HIDDEN and simplify

Change-Id: I2cde1254c28b89b62f833c872482fb4baa3087c0
FW: statusbar hiding rework - III
-adding swipe down statusbar for lockscreen

Change-Id: I2b6ff0cbdd130abf04c589b9c0a9e2d9382f3124
fix for auto-close 3-dot menu

Change-Id: I0fb0414f565696b810a8375005b9cb4702bdb600
FW Ribbons Swipe ribbons seperated && logic adjust for navbar

If you have an enabled navbar weither by default or user seleted
the bottom ribbon has not been available. If the user manually
hides the navbar I will allwo them to use the bottom ribbon.
They can also long press the hidden navbar handle to get the
bottom ribbon.

This also makes the left right and bottom their own ribbons.

Change-Id: Icba9c4ec510149bef74382a3bf59fd79b3ef87c4
Email force close when pressing back key after selecting characters

Email and Browser will be forced closed after selecting a text
and then press the back key, tilting the screen or trying to
share or copy the text. This is because a previouse fix
is using a part of the code that Google has removed.
Fix: clearSelection will now use its own EventHub id,
CLEAR_SELECT_TEXT.

This part describes the previous fix.
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=DMS01503793

Change-Id: I5e5673bac4efb3d28e9fc613da4bf636f8ab3c39
Swipe Statusbar Timeout (1/2) - ported from SlimBean

Change-Id: Ie787c1c96faec39ad84f11b6f8b4b7e14f6a3858
Update Japanese translation

Change-Id: I4cff44f0271ee6b5d943eecd06b6884dc73eb78b
Signed-off-by: rdgate <rdgate@gmail.com>
Classic Recents [1/2]

Makes the recents menu like the one from GB.

PS: Code exists in Android base. This commit just invokes it.

Change-Id: I878b4ef70c74ce06884b4e0778c28d4caab08548

Conflicts:
	core/java/android/provider/Settings.java
Add turn off action to WiFi Tether notification

Change-Id: I320405ed7e90e4c06ecdb127cd4c1cad6bedbcdd
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Updated simplified Chinese translations

Change-Id: Ia22d5926968f6346cd3070d2881e9a0e600708d5
Framework: CustomToggle Improvements (!Advanced)

Remove advanced Preference in favor of:
        If click = null, use longclick icon.
        This is all Advanced vs Basic was, really.
        User confusion might ensue, but ultimately,
        Exact same ability if you set click to null.
        This also clarifies the ShouldCollapse
        Preference through correlation of it not
        Collapsing on-click in basic.
        Also refresh Icons ondemand.

Change-Id: Ia56db7778c89bb38c5e77719e9fa47a9eef4c7eb
FW: Updated czech translation

Change-Id: Ib4c32e640ccc002e0d90b193c118867e861f01f7
Signed-off-by: kecinzer <kecinzer@gmail.com>
fix for NPE
E/InputManager-JNI(  563): java.lang.NullPointerException
E/InputManager-JNI(  563): at com.android.internal.policy.impl.PhoneWindowManager.interceptKeyBeforeQueueing(PhoneWindowManager.java:4336)
E/InputManager-JNI(  563): at com.android.server.wm.InputMonitor.interceptKeyBeforeQueueing(InputMonitor.java:337)
E/InputManager-JNI(  563): at com.android.server.input.InputManagerService.interceptKeyBeforeQueueing

Change-Id: Iceb838463706bb01eb856be300f95354c1e4cfbb
added some logging to better investigate suspend/resume issues

Change-Id: Idf3085e697bbb93dd4e726f7cc45baa530d85b6b
FW: Navring ShouldUnlock method

Don't unlock for the ring options, and power

Change-Id: I7fa5bdfcc3c099477f87cd3cdd82a28e57a094a2
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Fix NavBar & SystemBar sizing issues

PhoneWindowManager makes some decisions regarding
portrait & landscape based on screen sizes.  Since we poke
this routine everytime we change something on the NavBar, this
can result in PWN changing the orientation of the device.  This
was causing strange behavior in resizing of the NavBar & SystemBar.
It might also have been causing other strange orientation issues.

PS2:  Attempts to decode the actual device type based on the screen
   dimensions and the rotation at time of setInitialDisplaySize.
   This is needed because large tablets (that default to a landscape
   orientation, need to have the dimensions swapped)

PS3: Whitespace

ps 4: Restore the stock calculations for orientation, but restrict
    them to running only one time (at initial boot).  This will allow
    the normal detection routines to set up the proper rotation variables,
    but will not reset (and change them incorrectly) everytime we poke
   setInitialDisplaySize.

Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Change-Id: Iaec0e8ba623f10bd0d4118b4d5a99a42ab0564f6
Update Japanese translation

Change-Id: I4fecbc7b3c883fb80cef13850f10080462be426c
Signed-off-by: rdgate <rdgate@gmail.com>
Updated simplified Chinese translations

Change-Id: I60b948c5144c2069e687c2d453a237daff7bad47
Toggles: resize bitmap in UserToggle

This will resize the bitmap of the user to a reasonable size.

Before the bitmap would use almost 1mb in memory on my phone and
after the change it is now at 250kb.

Change-Id: I6b06cc97b1c94edeb307777a9479e3abc119777e
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>