WiFi: Fix Null Pointer Exception in Wifi Settings dialog

This patch checks that the activity remains available in the
dialog onclick callback before using it.

Change-Id: I1886b87498455e890962415a864da803c94561a4
Orig-Change-Id: I1d7aba1b43a00568dcfaf580e7082aadc12ebde5
Signed-off-by: Loic Poulain <loicx.poulain@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 122149
WiFi: "Connect" option disappear after rotating.

The connect option disappears because there is a problem in saving and
restoring the state of the access point showed in the dialog box. When a
rotation accurs, the framework calls onSaveInstanceState(Bundle outState)
of the wifisettings activity. In this method, the state of the access is
saved, but not its rssi level. After a rotation, when restoring the access
point state, the rssi is initialized to the default value, which means out of
range. This is why the connect option is not displayed. I fixed the issue by
saving and restoring the rssi level of the access point.

Change-Id: Ibd58132c922828941603673383ff81f25d61556e
Orig-Change-Id: I624cc8ce82a69fd94931088dc0f7833663ef0772
Signed-off-by: Paul Naoumenko <paulx.naoumenko@intel.com>
Signed-off-by: Jean-Marie Lemetayer <jean-mariex.lemetayer@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 34109
Fix: Blacklist menu buttons (add, prefs) were oddly squeezed when entering from CallSettings

When entered from Settings app, add and prefs button were on the bottom bar, but when entered from CallSettings, all 3 buttons were squeezed in the ActionBar at the top.

Change-Id: I92c11f85631484f61857c11f4402e9380b4c081a
Settings: correct 0.75 animation scale for other lanuages and add 0.25

and a small cleanup for warnings

Change-Id: I07256fadacd0405b5049252b6bc3da9850adc3d1
Merge pull request #2 from SchizoRom/jb-test

cleanup @ ListView interpolator
Merge branch 'jb4.3' of https://github.com/SlimRoms/packages_apps_Settings into HEAD
Merge pull request #1 from IllusionProject/jb-test

Jb test