Don't crash when a download status is not reachable

PS2: fix derp

Change-Id: I5d06f2effd11ccac838e44c43d37ee329049cece
IT: Automatic Translation Import

translations via https://crowdin.net/project/aospa-framework

Signed-off: Andre Saddler <dresadd09691@gmail.com>
Change-Id: I61469799a74b9c2d3ae64b85fe26e0511c06fece
Automatic Translation Import

Change-Id: I32bcd56ed49ba05a450792e10e311766dc273587
ParanoidOTA: Show selected GApps type as summary

https://paranoidandroid.atlassian.net/browse/AOSPA-438

The OTA Settings screen should show the selected GApps type (for
example, "Full package") instead of the un-informative "Choose package"
message that was previously shown

Change-Id: Ic43b71c9b6a0389a60ca2b3ff7c4b778a37c19ba
New style (v2.1)

Based on Austin Hill redesign idea.
https://plus.google.com/+AustinHill/posts/NjF7P2uovEu

PS2: reordered drawer icons
PS3: don't crash if the version is malformed

Change-Id: Ie7be2aca6013adbcbf12dfb5d96757e1c12ac0b7
Automatic Translation Import

Change-Id: Ib32c6294057b8e91f66f18e035ec2f0ce68bdaf3
New goo.im folders for gapps

PS2: shorten phase names
PS3: prevent NPE in sw600p-land https://paranoidandroid.atlassian.net/browse/AOSPA-523?jql=
PS4: prevent crashing in some type of unknown gapps https://paranoidandroid.atlassian.net/browse/AOSPA-505?jql=

Change-Id: Ib233518f5fb8e7119e223a93f78030cbe4de1cac
Automatic Translation Import

Change-Id: I1a5b57e018b563c9920cd694c2664b04df72e6c1
Add bacon and rename Oppo find
ParanoidOTA: Don't show downloads in the system's Download UI

Downloads initiated via ParanoidOTA should not be listed
in the Download UI just like Play Store downloads are not
shown.

Change-Id: I0f7f5032542efb4c56c7b85eabde5918dd96c1bb
Signed-off-by: Parthipan Ramesh <parthipan.ramesh@gmail.com>
ParanoidOTA: Fixed force close when recreating activity

ParanoidOTA force closes if the activity gets recreated. You can enable "Don't
keep activities" in the developer options to force the situation.

PS2: Removed unused import from Log
PS3: Better approach

Change-Id: I4101418b4919ccfa168c73685268709341f65766
Signed-off-by: Parthipan Ramesh <parthipan.ramesh@gmail.com>
Automatic Translation Import

Change-Id: If08eb0c0f5e14eaa9fd3e497176bbc41f1f4b713
Automatic Translation Import

Change-Id: If5541974ac87e90e7c89478d3205ae213fa84d42
reintroduce PaServer Class

Change-Id: I5d6f02b8d0dadeebc3b2a73bb1be429d3318a05c
Signed-off-by: Andre Saddler <dresadd09691@gmail.com>
OTA: Clean up & fixes

OTA: Make sure clean-up doesn't mind comments

When running formatting cleanup on the project, comments are
automatically compressed which means that the source is left with
a chunk that is hard to understand. This commit leaves the same
contents of the comments, but simply adds linebreaks and paragraphs
at places where they were already intended.

Change-Id: I82107dd30a3bd7db2866194fc39a3c39fcff7c25
OTA: Apply additional fancy code styling

On the second run, Eclipse decided to provide additional code
styling tips by replacing 4 spaces of padding with 8 spaces for
array initialization.

Change-Id: I569d68666acc39e7d3c841a652d84108a4acfaf4
OTA: Fix a widespread NPE during state saving

The package information for the latest updates could be left unset
(null) in case the update process fails which results in a NPE being
thrown when it the value is interacted with later on. This commit
implements a simple fix to ensure that in the worst case scenario,
when the "last updates" value is requested to be set as null, it is
set as an empty array which allows it to be freely used without the
risk of a NPE being thrown.

Fixes AOSPA-642.

Change-Id: Ifb06583562e3a4891170d17622118fe1f6877dc5
OTA: Clean up line endings

The line endings in the source code should be consistent throughout
the app. This commit swaps out the Windows/DOS style (CR+LF) endings
to instead use the UNIX style (LF) endings.

Change-Id: I55dcd9d5afce7b3330c2d493f5dc4193b950c4b2
OTA: Clean up code formatting throughout the app

Eclipse code formatting tool proposes a bunch of changes to clean
up the code styling. This is to provide a codebase that follows
consistent styling rules and is good looking, which in turn allows
it to be worked on easier.

Change-Id: I484eb1927adfecba9d05f32e9b8a31e4a82ed722
RomUpdater: fix merge
test

Change-Id: Ie9eab1db944889b01e06925b37a2499bcb5d1f39
Revert "test"

This reverts commit 2b0ae4f23501e8c363c6f4e814baf667aa04c45e.

Change-Id: Iead61044e114bc8e347c659367b5ead579d55d67
Add amami (Xperia Z1 Compact) to OTA
Merge pull request #3 from OmarEinea/kitkat

Add amami (Xperia Z1 Compact) to OTA