Set some GC parameters only for dalvik

Commit https://github.com/CyanogenMod/android_frameworks_base/commit/8f566390bceee9f01b1721c4d00b1b246d26be16
fixed parsing of certain GC values. Before the result was "" and so the
if statement was always false, never executing the setTargetHeap* calls.

Now they are executed but ART currently doesn't support setting
heapminfree and heapconcurrentstart resulting in a UnsatisfiedLinkError
Exception.

Check for the used runtime first and only execute the methods for Dalvik.

Change-Id: I09e60802685acbec04598646e9f7700f33b53b4c
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Recents: Fix showing of main or alternate clear all.

Recents: Show clear all button when needed.

* Temp solution till hybrid is back :)

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Recents: Fix logic derp.

* That's a boolean, when you do things in editor :)

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Recents: Fix the logic for showing PA or alternative clear all button.

* I was informed wrongly, is almost the opposite that should be done.
* Cleaned up the ugly implement.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>