Call to equals() comparing different types

I have found this bug with the FindBugs tool

Change-Id: I7f157063b0a549cb4344c048ddb612a14a915a25
Signed-off-by: László Dávid <laszlo.david@gmail.com>
Settings: Fix Swedish translations

The translation of "Time on" to "Tid funktionen varit på"
is too long. The result is that it covers the actual counter.

(Fix for issue 23804.)

The translation of "Not in range" to "Inte i intervall"
for wifi_not_in_range is a literal translation. When
talking about range for a radio signal, the correct
Swedish word is "räckhåll".

(Fixes issue mentioned in 22608.)

Change-Id: Iecf2acdd1acf8831c3f71d6f16cb17be5ce90d75
Check if the Activity is finishing before showDialog()

Check if the Activity is going through its finishing phase before
displaying the Dialog, because Showing dialog once the activity
is no longer in context will cause BadTokenException.

Change-Id: I58940e694f61cd79536abe2df60a0b745a7b806f
Fix NullPointerException at RunningState

getServiceInfo returns null if you have a service defined in the
manifest as: <service android:name=".Xxx" android:exported="false" />
or and in an <application> with no label or icon.
Dont crash the Settings application because of that.

Change-Id: I6f9f69c130e610b7e4ab66426177b7bade1e1515
Add KeyStore storage type to Settings UI

Give the user an idea of what kind of credential storage is in use on
this device for keystore daemon.

Change-Id: Ic970fb908989662665bf1af968ca4a6a9dbfb55a
Merge "Add KeyStore storage type to Settings UI"
am 43366b2c: Merge "Add KeyStore storage type to Settings UI"

* commit '43366b2c546045f3b554427bc6e97a6b529ab66a':
  Add KeyStore storage type to Settings UI
am a7ff2a2d: Merge "Follow changes to RestrictionEntry API" into jb-mr2-dev

* commit 'a7ff2a2d22b43197a168655159612c96c90fa335':
  Follow changes to RestrictionEntry API
am 732c80ff: Remove Limited users category if empty

* commit '732c80ff18a0e0e0cd516e7ec007eda1574cd2de':
  Remove Limited users category if empty
am 2601cd91: Implement proper settings restrictions

* commit '2601cd9142bda1953c1e7b0302f7e0d0f02b0c1b':
  Implement proper settings restrictions
am cb7b0b77: Better app filtering for limited users

* commit 'cb7b0b77ae04a84c75611a98a583c81208575ba5':
  Better app filtering for limited users
am 8d9b07ed: Merge "When user has DISALLOW_USB_FILE_TRANSFER set, disable settings controls." into jb-mr2-dev

* commit '8d9b07edb1785983f60a317a6adbc6199f81788c':
  When user has DISALLOW_USB_FILE_TRANSFER set, disable settings controls.
am 1c541aec: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

* commit '1c541aec2be937f3ba6b1530551c16435d0eafc6':
  Import translations. DO NOT MERGE
am 58f9cbd6: Merge "pre-provide the mvno data of the edited apn" into jb-mr2-dev

* commit '58f9cbd6774741d7fffbddbd06f2c0bf1fdf2e66':
  pre-provide the mvno data of the edited apn
am 186e250a: Import translations. DO NOT MERGE

* commit '186e250ac7f74e8c724919184e949f7bf17afefb':
  Import translations. DO NOT MERGE
am e68959de: Merge "More fix for bug #8505156 WiFi properties dialog is having some issues in RTL mode" into jb-mr2-dev

* commit 'e68959de3a7f2d47de4816b65262b10e03ef313c':
  More fix for bug #8505156 WiFi properties dialog is having some issues in RTL mode
am a95604de: Merge "Adding developer toggle for using Chromium WebView." into jb-mr2-dev

* commit 'a95604de1acd89999c240449e926485393963455':
  Adding developer toggle for using Chromium WebView.
am 34e85f84: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

* commit '34e85f841cf1022a1e709cc6288c68267d358e0b':
  Import translations. DO NOT MERGE
am e44f5e2b: Reference new StatusBarNotification and INotificationListener packages.

* commit 'e44f5e2bd6624f5df91e2676b1ef5e3ddf279066':
  Reference new StatusBarNotification and INotificationListener packages.
am 79b9bfe5: Notification listeners can be enabled in Settings>Security.

* commit '79b9bfe56ee4036fbe8d9bcac01260356309ae2f':
  Notification listeners can be enabled in Settings>Security.