Revert "Fix a bootloop problem when /data/system/usagestats/usage-history.xml is empty. This often occurs after an incomplete reboot/shutdown or battery pull."

This reverts commit e290de5ecdd591d1978af1b0e9b3303696c849ed.

Change-Id: I5c30ef4560bed7c83243517ba8868069f2777613
(cherry picked from commit 1bc4f4d608c7d0bcec894d0806f605de4cee88cc)
Fix broken XML parsing idiom.

Code that expected a single top level element in an XML file
was doing something like :

while (type != START_TAG) { next(); }

This would loop forever when the XML being parsed was empty,
where each call to XmlPullParser.next() would return END_DOCUMENT.

bug: https://code.google.com/p/android/issues/detail?id=64173
Change-Id: I7543203e976a8999ae471a6c2d629249a87011bb
(cherry picked from commit 45a8f99b540ee24a8b714a5092492b20574d33af)
Remove duplicate entry

(cherry picked from commit 05db470f6ba52b5729f8be4681b51b65ad8ea1f5)

Conflicts:
	packages/SystemUI/res/values/colors.xml