Fix dialog not opening for app-specific notification light settings.

Change-Id: I8e8d098bcc07824803b9e9931595f5c4fdbabb7b
WLAN configuration (static address): reject IPv6 addresses.

Without this, entering an IPv6 address as the interface address (or possibly
also others, such as gateway address) will, on connection to that WLAN,
trigger an uncaught exception:

*** FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine
java.lang.IllegalArgumentException: command '59 interface setcfg wlan0 2001:db8::ffff 24 up' failed with '501 59 Flag unsupported'
	at com.android.server.NetworkManagementService.setInterfaceConfig(NetworkManagementService.java:546)
	at android.net.wifi.WifiStateMachine$ObtainingIpState.enter(WifiStateMachine.java:3449)
	at com.android.internal.util.StateMachine$SmHandler.invokeEnterMethods(StateMachine.java:958)
[etc.]

followed by a restart of the UI then another connection attempt. So long as
the misconfigured-for AP is present (and preferred?), this will continue to
happen.

Change-Id: I524480339c37ad079fd21d90a6b1fc5864089cb5
French translation improvements

Change-Id: Ifb9f3a93cb9a723d3695504694e8cbd4e11eba22
Settings: SlimPIE the second (2/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 menu for trigger dimensions
- minor string changes
- cleanup
- minor bugfixes

for me it is now like a PIE should be lol

cheers

Change-Id: Ib31025a05b94da6718d2ff66178a7657075e4c90
Merge "Fix dialog not opening for app-specific notification light settings." into jb4.2
Merge "WLAN configuration (static address): reject IPv6 addresses." into jb4.2
Merge "French translation improvements" into jb4.2
Settings: avoid code duplicate + small fix

Due to our adjust auto brightness feature we got
one code duplicate....point in display settings
to our custom brightness dialog. This fixes as well
the shown adjust brightness button although it was
disabled per device overlay.

cheers

Change-Id: Ibfe0967d1f1e5c0580d9d2bba2b3c99a5b9be001
Settings: 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: Iea69b3ba51982899628f9eab5e36cfa415119683
Fix dialog not opening for app-specific notification light settings.

Change-Id: I8e8d098bcc07824803b9e9931595f5c4fdbabb7b
WLAN configuration (static address): reject IPv6 addresses.

Without this, entering an IPv6 address as the interface address (or possibly
also others, such as gateway address) will, on connection to that WLAN,
trigger an uncaught exception:

*** FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine
java.lang.IllegalArgumentException: command '59 interface setcfg wlan0 2001:db8::ffff 24 up' failed with '501 59 Flag unsupported'
	at com.android.server.NetworkManagementService.setInterfaceConfig(NetworkManagementService.java:546)
	at android.net.wifi.WifiStateMachine$ObtainingIpState.enter(WifiStateMachine.java:3449)
	at com.android.internal.util.StateMachine$SmHandler.invokeEnterMethods(StateMachine.java:958)
[etc.]

followed by a restart of the UI then another connection attempt. So long as
the misconfigured-for AP is present (and preferred?), this will continue to
happen.

Change-Id: I524480339c37ad079fd21d90a6b1fc5864089cb5
French translation improvements

Change-Id: Ifb9f3a93cb9a723d3695504694e8cbd4e11eba22
Settings: SlimPIE the second (2/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 menu for trigger dimensions
- minor string changes
- cleanup
- minor bugfixes

for me it is now like a PIE should be lol

cheers

Change-Id: Ib31025a05b94da6718d2ff66178a7657075e4c90
Settings: avoid code duplicate + small fix

Due to our adjust auto brightness feature we got
one code duplicate....point in display settings
to our custom brightness dialog. This fixes as well
the shown adjust brightness button although it was
disabled per device overlay.

cheers

Change-Id: Ibfe0967d1f1e5c0580d9d2bba2b3c99a5b9be001
Settings: 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: Iea69b3ba51982899628f9eab5e36cfa415119683
Revert "QuickSettings: Add Quick Record tile [2/2]"

This reverts commit 648c6af710c648bff56d81e359b67c5212cb7ea2.
Settings: SlimPIE second layer (2/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: Icac694022e051eb3ced986829f7196798c958b8e
Add french translation for second PIE layer

Change-Id: Id850f05e237048387956109ef441716bfaea1ddd
Settings: just a small movement

sorry...is more logical in this order

cheers

Change-Id: Ib7b581dd169ec111b955473284355da33212af8f
Settings: SlimPIE second layer (2/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: Icac694022e051eb3ced986829f7196798c958b8e