Settings: Fix the memory leak in Settings

Fixed the memory leak in both InstalledAppDetails

Change-Id: I3520b3c1fe1bf98e3baec2ee989eb215164a7cf2
Signed-off-by: Zhijun Peng <pengzhj@marvell.com>
Settings: Show Service State status in Phone Status properly

When the network mode is data only mode, the voice service state
would be OOS. In such cases, data service state is not checked to
show the phone status UI. Fix to consider data service state also to
update the UI properly.

Change-Id: I20fb6ea3256d0fe4a534fbb781e664d7ce774a05
CRs-Fixed: 517234
[2/2] Settings: Add an option to change the device hostname
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.

PS4
move to end of first section

Change-Id: Ib04d551b7eb31110962709e0d956db4da380175a
Picker from CarbonRom = https://github.com/omnirom/android_packages_apps_Settings/commit/eeeef0f8e4143daca330b996f66f8f68f0a4d434

Conflicts:
	res/values/oct_strings.xml
Addon