Change package name
This commit is contained in:
parent
507462b4a9
commit
5fc334568c
9 changed files with 14 additions and 12 deletions
|
@ -12,11 +12,13 @@ android {
|
|||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "net.osmand.telegramtest"
|
||||
applicationId "net.osmand.telegram"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 27
|
||||
versionCode 1
|
||||
versionCode System.getenv("APK_NUMBER_VERSION") ? System.getenv("APK_NUMBER_VERSION").toInteger() : versionCode
|
||||
versionName "1.0"
|
||||
versionName System.getenv("APK_VERSION")? System.getenv("APK_VERSION").toString(): versionName
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
|
|
|
@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
|
|||
fun useAppContext() {
|
||||
// Context of the app under test.
|
||||
val appContext = InstrumentationRegistry.getTargetContext()
|
||||
assertEquals("net.osmand.telegramtest", appContext.packageName)
|
||||
assertEquals("net.osmand.telegram", appContext.packageName)
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="net.osmand.telegramtest">
|
||||
package="net.osmand.telegram">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package net.osmand.telegramtest
|
||||
package net.osmand.telegram
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
|
@ -1,4 +1,4 @@
|
|||
package net.osmand.telegramtest
|
||||
package net.osmand.telegram
|
||||
|
||||
import android.os.Bundle
|
||||
import android.support.v4.app.DialogFragment
|
|
@ -1,4 +1,4 @@
|
|||
package net.osmand.telegramtest
|
||||
package net.osmand.telegram
|
||||
|
||||
import android.os.Bundle
|
||||
import android.support.v4.app.Fragment
|
||||
|
@ -6,8 +6,8 @@ import android.support.v7.app.AppCompatActivity
|
|||
import android.view.Menu
|
||||
import android.view.MenuItem
|
||||
import android.widget.Toast
|
||||
import net.osmand.telegramtest.LoginDialogFragment.LoginDialogType
|
||||
import net.osmand.telegramtest.TelegramHelper.*
|
||||
import net.osmand.telegram.LoginDialogFragment.LoginDialogType
|
||||
import net.osmand.telegram.TelegramHelper.*
|
||||
|
||||
|
||||
class MainActivity : AppCompatActivity(), TelegramListener {
|
|
@ -1,4 +1,4 @@
|
|||
package net.osmand.telegramtest;
|
||||
package net.osmand.telegram;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package net.osmand.telegramtest
|
||||
package net.osmand.telegram
|
||||
|
||||
import android.text.TextUtils
|
||||
import net.osmand.telegramtest.TelegramHelper.AuthParamType.*
|
||||
import net.osmand.telegram.TelegramHelper.AuthParamType.*
|
||||
|
||||
import org.drinkless.td.libcore.telegram.Client
|
||||
import org.drinkless.td.libcore.telegram.Client.ResultHandler
|
|
@ -1,4 +1,4 @@
|
|||
package net.osmand.telegramtest
|
||||
package net.osmand.telegram
|
||||
|
||||
import org.junit.Test
|
||||
|
||||
|
|
Loading…
Reference in a new issue