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
TEMP: Suppress GAPPS error toast

Until we can properly fix goo just suppress the error toast

Change-Id: I2b587d996bd48c2622c918f745ef2ba13163ad82
Signed-off-by: Evan Anderson <evan@thelinuxman.us>
Add Xperia Z2 (Sirius) to OTA

Change-Id: I6f184b2ab0e8cd4031f6268c8061d0582af1c228
ParanoidOTA: Link to PA legacy G+ pages

Change-Id: Icbe9cf1eb9c9d5a8301a23ad874f636287cc123e
add taoshan
Merge branch 'kitkat' of https://github.com/AOSPA-legacy/android_packages_apps_ParanoidOTA into AOSPA-legacy-kitkat

Conflicts:
	res/layout-sw600dp-land/activity_main.xml
	res/values/arrays.xml
	src/com/paranoid/paranoidota/MainActivity.java
	src/com/paranoid/paranoidota/updater/GappsUpdater.java
	src/com/paranoid/paranoidota/updater/RomUpdater.java
	src/com/paranoid/paranoidota/updater/Updater.java
	src/com/paranoid/paranoidota/updater/server/GooServer.java

	modified:   assets/dictionary.properties
	modified:   res/layout-sw600dp-land/activity_main.xml
	modified:   res/values-af/strings.xml
	modified:   res/values-ar/strings.xml
	modified:   res/values-ca/strings.xml
	modified:   res/values-cs/strings.xml
	modified:   res/values-da/strings.xml
	modified:   res/values-de/strings.xml
	modified:   res/values-el/strings.xml
	modified:   res/values-en-rGB/strings.xml
	modified:   res/values-en-rUS/strings.xml
	modified:   res/values-es-rEM/strings.xml
	modified:   res/values-es-rUS/strings.xml
	modified:   res/values-es/strings.xml
	new file:   res/values-fa/strings.xml
	modified:   res/values-fi/strings.xml
	modified:   res/values-fr/strings.xml
	modified:   res/values-gl/strings.xml
	modified:   res/values-hi/strings.xml
	modified:   res/values-hu/strings.xml
	modified:   res/values-in/strings.xml
	modified:   res/values-it/strings.xml
	modified:   res/values-iw/strings.xml
	modified:   res/values-ja/strings.xml
	modified:   res/values-ko/strings.xml
	modified:   res/values-lt/strings.xml
	modified:   res/values-lv/strings.xml
	modified:   res/values-ms/strings.xml
	modified:   res/values-nl/strings.xml
	modified:   res/values-no-rNO/strings.xml
	modified:   res/values-pl/strings.xml
	modified:   res/values-pt-rBR/strings.xml
	modified:   res/values-pt-rPT/strings.xml
	modified:   res/values-ro/strings.xml
	modified:   res/values-ru/strings.xml
	modified:   res/values-sk/strings.xml
	new file:   res/values-sl/strings.xml
	modified:   res/values-sr/strings.xml
	modified:   res/values-sv/strings.xml
	modified:   res/values-th/strings.xml
	modified:   res/values-tr/strings.xml
	modified:   res/values-uk/strings.xml
	modified:   res/values-vi/strings.xml
	modified:   res/values-zh-rCN/strings.xml
	modified:   res/values-zh-rHK/strings.xml
	modified:   res/values-zh-rTW/strings.xml
	modified:   res/values/arrays.xml
	modified:   src/com/paranoid/paranoidota/BootReceiver.java
	modified:   src/com/paranoid/paranoidota/DownloadReceiver.java
	modified:   src/com/paranoid/paranoidota/IOUtils.java
	modified:   src/com/paranoid/paranoidota/MainActivity.java
	modified:   src/com/paranoid/paranoidota/NotificationAlarm.java
	modified:   src/com/paranoid/paranoidota/URLStringReader.java
	modified:   src/com/paranoid/paranoidota/Utils.java
	modified:   src/com/paranoid/paranoidota/Version.java
	modified:   src/com/paranoid/paranoidota/activities/RequestFileActivity.java
	modified:   src/com/paranoid/paranoidota/activities/SettingsActivity.java
	modified:   src/com/paranoid/paranoidota/activities/SystemActivity.java
	modified:   src/com/paranoid/paranoidota/cards/DownloadCard.java
	modified:   src/com/paranoid/paranoidota/cards/InstallCard.java
	modified:   src/com/paranoid/paranoidota/cards/SystemCard.java
	modified:   src/com/paranoid/paranoidota/cards/UpdatesCard.java
	modified:   src/com/paranoid/paranoidota/helpers/DownloadHelper.java
	modified:   src/com/paranoid/paranoidota/helpers/RebootHelper.java
	modified:   src/com/paranoid/paranoidota/helpers/RecoveryHelper.java
	modified:   src/com/paranoid/paranoidota/helpers/recovery/CwmBasedRecovery.java
	modified:   src/com/paranoid/paranoidota/helpers/recovery/RecoveryInfo.java
	modified:   src/com/paranoid/paranoidota/helpers/recovery/TwrpRecovery.java
	modified:   src/com/paranoid/paranoidota/updater/GappsUpdater.java
	modified:   src/com/paranoid/paranoidota/updater/RomUpdater.java
	modified:   src/com/paranoid/paranoidota/updater/Server.java
	modified:   src/com/paranoid/paranoidota/updater/UpdatePackage.java
	modified:   src/com/paranoid/paranoidota/updater/Updater.java
	new file:   src/com/paranoid/paranoidota/updater/server/GooServer.java
	new file:   src/com/paranoid/paranoidota/updater/server/PaServer.java
	modified:   src/com/paranoid/paranoidota/widget/Card.java
	modified:   src/com/paranoid/paranoidota/widget/Item.java
Merge branch 'AOSPA-legacy-kitkat' into new