Skip to content
Permalink
Browse files

[Step3] Rename more things and trim the fat.

PS1:     Initial start, still seems to build.
PS2-3:  Roll hard or die a wimp.
PS4:     Clean up the mess. +BEAST
PS5:     Fix the build?
PS6:     Drop the Rebase
PS7:	    THE D
PS8:    WIP fixes
ps2^2*2:check if the google packagers are available so the if dont always return true
PS10:   (@tdhite) Removed GooglePage.java


To-Do:  Fix Images for DPIs
        Update more styles.

Change-Id: I8c1af5983d46130cb7d68138e425f835ddb9fd82
  • Loading branch information
mallardduck committed Sep 3, 2014
1 parent 047c277 commit bc1d83efcabdc45608b565421e517ca20a50d7b7
Showing with 145 additions and 4,469 deletions.
  1. +1 −1 Android.mk
  2. +8 −37 AndroidManifest.xml
  3. +0 −70 res/layout/cmaccount.xml
  4. +0 −110 res/layout/cmaccount_auth.xml
  5. +0 −22 res/layout/cmaccount_setup_standalone.xml
  6. +1 −1 res/layout/setup_welcome_page.xml
  7. +1 −0 res/values/strings.xml
  8. +1 −1 res/values/styles.xml
  9. +0 −62 src/com/cyanogenmod/account/api/AuthTokenRequest.java
  10. +0 −41 src/com/cyanogenmod/account/api/AuthTokenResponse.java
  11. +0 −52 src/com/cyanogenmod/account/api/CMAccountJsonRequest.java
  12. +0 −78 src/com/cyanogenmod/account/api/CMAccountRequest.java
  13. +0 −53 src/com/cyanogenmod/account/api/CreateProfileRequest.java
  14. +0 −50 src/com/cyanogenmod/account/api/CreateProfileResponse.java
  15. +0 −209 src/com/cyanogenmod/account/api/DeviceFinderService.java
  16. +0 −34 src/com/cyanogenmod/account/api/ErrorResponse.java
  17. +0 −64 src/com/cyanogenmod/account/api/PingRequest.java
  18. +0 −31 src/com/cyanogenmod/account/api/PingResponse.java
  19. +0 −115 src/com/cyanogenmod/account/api/PingService.java
  20. +0 −51 src/com/cyanogenmod/account/api/ProfileAvailableRequest.java
  21. +0 −26 src/com/cyanogenmod/account/api/ProfileAvailableResponse.java
  22. +0 −47 src/com/cyanogenmod/account/api/SendChannelRequest.java
  23. +0 −52 src/com/cyanogenmod/account/api/request/AddPublicKeysRequest.java
  24. +0 −109 src/com/cyanogenmod/account/api/request/AddPublicKeysRequestBody.java
  25. +0 −47 src/com/cyanogenmod/account/api/request/GetMinimumAppVersionRequest.java
  26. +0 −53 src/com/cyanogenmod/account/api/request/GetPublicKeyIdsRequest.java
  27. +0 −99 src/com/cyanogenmod/account/api/request/SendChannelRequestBody.java
  28. +0 −31 src/com/cyanogenmod/account/api/response/AddPublicKeysResponse.java
  29. +0 −25 src/com/cyanogenmod/account/api/response/GetMinimumAppVersionResponse.java
  30. +0 −35 src/com/cyanogenmod/account/api/response/GetPublicKeyIdsResponse.java
  31. +0 −782 src/com/cyanogenmod/account/auth/AuthClient.java
  32. +0 −37 src/com/cyanogenmod/account/auth/AuthServerError.java
  33. +0 −46 src/com/cyanogenmod/account/auth/UpdateRequiredActivity.java
  34. +0 −115 src/com/cyanogenmod/account/encryption/ECDHKeyService.java
  35. +0 −51 src/com/cyanogenmod/account/encryption/ECKeyPair.java
  36. +0 −203 src/com/cyanogenmod/account/encryption/GeneratePublicKeysTask.java
  37. +0 −278 src/com/cyanogenmod/account/gcm/GCMIntentService.java
  38. +0 −50 src/com/cyanogenmod/account/gcm/GCMPackageReceiver.java
  39. +0 −38 src/com/cyanogenmod/account/gcm/GCMReceiver.java
  40. +0 −96 src/com/cyanogenmod/account/gcm/GCMService.java
  41. +0 −109 src/com/cyanogenmod/account/gcm/GCMUtil.java
  42. +0 −70 src/com/cyanogenmod/account/gcm/model/EncryptedMessage.java
  43. +0 −57 src/com/cyanogenmod/account/gcm/model/GCMessage.java
  44. +0 −42 src/com/cyanogenmod/account/gcm/model/LocationMessage.java
  45. +0 −22 src/com/cyanogenmod/account/gcm/model/Message.java
  46. +0 −46 src/com/cyanogenmod/account/gcm/model/PlaintextMessage.java
  47. +0 −37 src/com/cyanogenmod/account/gcm/model/PublicKeyMessage.java
  48. +0 −25 src/com/cyanogenmod/account/gcm/model/WipeStartedMessage.java
  49. +0 −279 src/com/cyanogenmod/account/provider/CMAccountProvider.java
  50. +0 −220 src/com/cyanogenmod/account/util/EncryptionUtils.java
  51. +6 −48 src/com/{cyanogenmod/account/CMAccount.java → pacrom/insertcoins/InsertCoins.java}
  52. +2 −2 src/com/{cyanogenmod/account → pacrom/insertcoins}/receiver/ApplyHexoIconsReceiver.java
  53. +3 −6 src/com/{cyanogenmod/account → pacrom/insertcoins}/receiver/BootReceiver.java
  54. +1 −1 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/AbstractSetupData.java
  55. +3 −3 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/DateTimePage.java
  56. +4 −4 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/FinishPage.java
  57. +4 −4 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/GoogleAccountPage.java
  58. +3 −3 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/LocationSettingsPage.java
  59. +1 −1 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/Page.java
  60. +1 −1 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/PageList.java
  61. +1 −1 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/PageNode.java
  62. +6 −6 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/PersonalizationPage.java
  63. +1 −1 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/SetupDataCallbacks.java
  64. +5 −5 ...cyanogenmod/account/setup/CMSetupWizardData.java → pacrom/insertcoins/setup/SetupWizardData.java}
  65. +4 −4 src/com/{cyanogenmod/account → pacrom/insertcoins}/setup/WelcomePage.java
  66. +3 −3 src/com/{cyanogenmod/account → pacrom/insertcoins}/ui/LocalePicker.java
  67. +3 −3 src/com/{cyanogenmod/account → pacrom/insertcoins}/ui/SetupPageFragment.java
  68. +35 −25 src/com/{cyanogenmod/account → pacrom/insertcoins}/ui/SetupWizardActivity.java
  69. +2 −2 src/com/{cyanogenmod/account → pacrom/insertcoins}/ui/WebViewDialogFragment.java
  70. +27 −119 ...om/{cyanogenmod/account/util/CMAccountUtils.java → pacrom/insertcoins/util/InsertCoinsUtils.java}
  71. +2 −2 src/com/{cyanogenmod/account → pacrom/insertcoins}/util/WhisperPushUtils.java
  72. +2 −2 tests/Android.mk
  73. +4 −4 tests/AndroidManifest.xml
  74. 0 tests/res/layout/{cmaccount_test.xml → insertcoins_test.xml}
  75. +1 −1 tests/res/values/strings.xml
  76. +9 −9 tests/src/com/{cyanogenmod/account → pacrom/insertcoins}/tests/ManualTestActivity.java
@@ -5,7 +5,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_MODULE_TAGS := optional

LOCAL_PACKAGE_NAME := CMAccount
LOCAL_PACKAGE_NAME := InsertCoins
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true

@@ -15,7 +15,7 @@
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cyanogenmod.account"
package="com.pacrom.insertcoins"
android:versionCode="2">

<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
@@ -49,17 +49,17 @@
<permission android:name="org.whispersystems.whisperpush.permissions.REGISTER"
android:protectionLevel="signature" />

<permission android:name="com.cyanogenmod.account.permission.C2D_MESSAGE"
<permission android:name="com.pacrom.insertcoins.permission.C2D_MESSAGE"
android:protectionLevel="signature" />

<uses-permission android:name="com.cyanogenmod.account.permission.C2D_MESSAGE" />
<uses-permission android:name="com.pacrom.insertcoins.permission.C2D_MESSAGE" />

<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="17" />

<application android:label="@string/app_name"
android:icon="@drawable/icon"
android:theme="@style/Theme.CMAccount"
android:name=".CMAccount">
android:theme="@style/Theme.InsertCoins"
android:name=".InsertCoins">

<uses-library android:name="org.cyanogenmod.hardware"
android:required="false" />
@@ -91,21 +91,12 @@
android:excludeFromRecents="true"
android:screenOrientation="locked" />

<activity android:name=".auth.AuthActivity"
android:label="@string/product_name"
android:launchMode="singleTop"
android:screenOrientation="locked" />

<activity android:name=".auth.UpdateRequiredActivity"
android:label="@string/product_name"
android:screenOrientation="locked" />

<receiver android:name=".gcm.GCMReceiver" android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">

<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.cyanogenmod.account" />
<category android:name="com.pacrom.insertcoins" />
</intent-filter>
</receiver>

@@ -116,7 +107,7 @@
</intent-filter>
</receiver>

<receiver android:name=".CMAccount$CMAccountAdminReceiver"
<receiver android:name=".InsertCoins$CMAccountAdminReceiver"
android:permission="android.permission.BIND_DEVICE_ADMIN">
<meta-data android:name="android.app.device_admin"
android:resource="@xml/device_admin" />
@@ -129,29 +120,9 @@
</receiver>
<receiver android:name=".receiver.ApplyHexoIconsReceiver" android:exported="false">
<intent-filter>
<action android:name="com.cyanogenmod.account.intent.action.APPLY_HEXO_ICONS" />
<action android:name="com.pacrom.insertcoins.intent.action.APPLY_HEXO_ICONS" />
</intent-filter>
</receiver>

<service android:name=".gcm.GCMService"
android:exported="false" />

<service
android:name=".gcm.GCMIntentService"
android:exported="false" />

<service android:name=".api.DeviceFinderService"
android:exported="false" />

<service android:name=".api.PingService"
android:exported="false" />

<service
android:name=".encryption.ECDHKeyService"
android:exported="false" />

<provider
android:name=".provider.CMAccountProvider"
android:authorities="com.cyanogenmod.account.store"/>
</application>
</manifest>

This file was deleted.

This file was deleted.

This file was deleted.

@@ -43,7 +43,7 @@
style="@style/SetupWizardPageSummary"
android:text="@string/setup_welcome_summary" />

<com.cyanogenmod.account.ui.LocalePicker
<com.pacrom.insertcoins.ui.LocalePicker
android:id="@+id/locale_list"
android:layout_width="match_parent"
android:layout_height="0px"
@@ -42,6 +42,7 @@
<string name="setup_cmaccount">Set up your NULL account</string>
<string name="setup_sim_missing">Insert SIM card</string>
<string name="setup_google_account">Google account</string>
<string name="google_account">Google hax account</string>
<string name="setup_location">Location settings</string>
<string name="setup_datetime">Date &amp; time settings</string>
<string name="setup_current_date">Current date</string>
@@ -15,7 +15,7 @@
limitations under the License.
-->
<resources>
<style name="Theme.CMAccount" parent="@android:style/Theme.Holo">
<style name="Theme.InsertCoins" parent="@android:style/Theme.Holo">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
</style>

This file was deleted.

0 comments on commit bc1d83e

Please sign in to comment.
You can’t perform that action at this time.