From 0b51656f9b1507a3b444ed4b4ebfff9414e7664f Mon Sep 17 00:00:00 2001 From: Maksim Gamarnik Date: Sun, 10 May 2015 10:24:51 +0300 Subject: [PATCH] Fix merge java part --- build/android/AndroidManifest.xml.template | 4 +--- build/android/project.properties | 3 +-- build/android/res/layout/activity_main.xml | 2 +- build/android/res/layout/instruction_dialog.xml | 2 +- build/android/src/com/MoNTE48/MultiCraft/MainActivity.java | 2 +- build/android/src/com/MoNTE48/MultiCraft/UnzipService.java | 4 ++-- 6 files changed, 7 insertions(+), 10 deletions(-) diff --git a/build/android/AndroidManifest.xml.template b/build/android/AndroidManifest.xml.template index 67f632581..675467149 100644 --- a/build/android/AndroidManifest.xml.template +++ b/build/android/AndroidManifest.xml.template @@ -1,6 +1,7 @@ @@ -22,9 +23,6 @@ android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/MTTheme" > - diff --git a/build/android/res/layout/instruction_dialog.xml b/build/android/res/layout/instruction_dialog.xml index 4856773b8..6498eee1d 100644 --- a/build/android/res/layout/instruction_dialog.xml +++ b/build/android/res/layout/instruction_dialog.xml @@ -12,6 +12,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingBottom="4dip" - android:text="@string/app_description" /> + android:text="@string/dialog_instruction" /> \ No newline at end of file diff --git a/build/android/src/com/MoNTE48/MultiCraft/MainActivity.java b/build/android/src/com/MoNTE48/MultiCraft/MainActivity.java index f9d28cfff..1006aa286 100644 --- a/build/android/src/com/MoNTE48/MultiCraft/MainActivity.java +++ b/build/android/src/com/MoNTE48/MultiCraft/MainActivity.java @@ -163,7 +163,7 @@ public class MainActivity extends Activity implements IUtilitiesCallback { } private void startBetweenActivity() { - showSpinnerDialog(R.string.starting); + showSpinnerDialog(R.string.loading); new Thread(new Runnable() { public void run() { Intent intent = new Intent(MainActivity.this, diff --git a/build/android/src/com/MoNTE48/MultiCraft/UnzipService.java b/build/android/src/com/MoNTE48/MultiCraft/UnzipService.java index ba7ee5f42..5692e9078 100644 --- a/build/android/src/com/MoNTE48/MultiCraft/UnzipService.java +++ b/build/android/src/com/MoNTE48/MultiCraft/UnzipService.java @@ -42,8 +42,8 @@ public class UnzipService extends IntentService { protected void onHandleIntent(Intent intent) { NotificationManager mNotifyManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); Notification.Builder mBuilder = new Notification.Builder(this); - mBuilder.setContentTitle(getString(R.string.extract)) - .setContentText(getString(R.string.unpack)) + mBuilder.setContentTitle(getString(R.string.notification_title)) + .setContentText(getString(R.string.notification_description)) .setSmallIcon(R.drawable.ic_launcher); String file = intent.getStringExtra(EXTRA_KEY_IN_FILE); String location = intent.getStringExtra(EXTRA_KEY_IN_LOCATION);