Merge pull request #1030 from mozilla/rename-to-org-mozilla-sendandroid

Rename package to org.mozilla.sendandroid per https://bugzilla.mozilla.org/show_bug.cgi?id=1494393#c10
This commit is contained in:
Danny Coates 2018-11-27 08:35:35 -08:00 committed by GitHub
commit fb782aa147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 44 deletions

View File

@ -7,7 +7,7 @@ apply plugin: 'kotlin-android-extensions'
android { android {
compileSdkVersion 27 compileSdkVersion 27
defaultConfig { defaultConfig {
applicationId "com.mozilla.send.sendandroid" applicationId "org.mozilla.sendandroid"
minSdkVersion 26 minSdkVersion 26
targetSdkVersion 27 targetSdkVersion 27
versionCode 1 versionCode 1

View File

@ -1,24 +0,0 @@
package com.mozilla.send.sendandroid
import android.support.test.InstrumentationRegistry
import android.support.test.runner.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getTargetContext()
assertEquals("com.mozilla.send.sendandroid", appContext.packageName)
}
}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mozilla.send.sendandroid"> package="org.mozilla.sendandroid">
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

View File

@ -1,4 +1,4 @@
package com.mozilla.send.sendandroid package org.mozilla.sendandroid
import android.support.v7.app.AppCompatActivity import android.support.v7.app.AppCompatActivity

View File

@ -1,17 +0,0 @@
package com.mozilla.send.sendandroid
import org.junit.Test
import org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
}