Themes: Fix -110 install error [1/2]

aapt was being called from PM with a ' ' at the end of the cmd. This would
cause installd to read unexpected parts of memory which sometimes
causes it to parse the command incorrectly.

Change-Id: Id9f1170db05b40f030d6ea5009bed38bc9fc3b5f
Change xhdpi-1024-dalvik to legacy values to support legacy devices in the modern world

This should improve compatibilty with legacy devices with new features like theme engine

Change-Id: I3f155b456073a9a8d9cd522746288f6aef409587
Signed-off-by: DHOMD <DHO@dho.im>
Avoid calling idmap w/ trailing whitespace [2/2]

installd performs a buffer over-read if trailing ws is sent to it.
No observable effect found yet for idmap, but until installd is
fixed upstream, best to play it safe.

Change-Id: I002de7a9d177df16f91b47e7f87af59457c1f421
Merge branch 'kitkat' of https://github.com/AICP/frameworks_native into aicp