Skip to content

Commit 5f9018b

Browse files
author
Sudheer Shanka
committed
Change application id and package name again.
Bug: 24364587 Change-Id: I8fe138ce37264e107e9b13e557cd49e53ceca2a2
1 parent c76d679 commit 5f9018b

File tree

49 files changed

+146
-149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+146
-149
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ android {
1717
buildToolsVersion '23.0.1'
1818

1919
defaultConfig {
20-
applicationId "com.example.android.testdpc"
20+
applicationId "com.afwsamples.testdpc"
2121
minSdkVersion 21
2222
targetSdkVersion 23
2323
versionCode versionMajor * 1000 + versionMinor * 100 + versionBuild

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
-->
1717

1818
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19-
package="com.example.android.testdpc">
19+
package="com.afwsamples.testdpc">
2020

2121
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
2222
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
@@ -106,7 +106,7 @@
106106
</receiver>
107107

108108
<provider
109-
android:authorities="com.example.android.testdpc.fileprovider"
109+
android:authorities="com.afwsamples.testdpc.fileprovider"
110110
android:name="android.support.v4.content.FileProvider"
111111
android:grantUriPermissions="true"
112112
android:exported="false">

app/src/main/java/com/example/android/testdpc/AddAccountActivity.java renamed to app/src/main/java/com/afwsamples/testdpc/AddAccountActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.example.android.testdpc;
17+
package com.afwsamples.testdpc;
1818

1919
import android.accounts.AccountManager;
2020
import android.accounts.AccountManagerCallback;

app/src/main/java/com/example/android/testdpc/DeviceAdminReceiver.java renamed to app/src/main/java/com/afwsamples/testdpc/DeviceAdminReceiver.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.example.android.testdpc;
17+
package com.afwsamples.testdpc;
1818

1919
import android.accounts.Account;
2020
import android.accounts.AccountManager;
@@ -34,17 +34,17 @@
3434
import android.util.Log;
3535
import android.widget.Toast;
3636

37-
import com.example.android.testdpc.common.LaunchIntentUtil;
38-
import com.example.android.testdpc.cosu.EnableCosuActivity;
39-
import com.example.android.testdpc.syncauth.FinishSyncAuthDeviceOwnerActivity;
40-
import com.example.android.testdpc.syncauth.FinishSyncAuthProfileOwnerActivity;
37+
import com.afwsamples.testdpc.common.LaunchIntentUtil;
38+
import com.afwsamples.testdpc.cosu.EnableCosuActivity;
39+
import com.afwsamples.testdpc.syncauth.FinishSyncAuthDeviceOwnerActivity;
40+
import com.afwsamples.testdpc.syncauth.FinishSyncAuthProfileOwnerActivity;
4141

4242
import java.util.ArrayList;
4343
import java.util.List;
4444

4545
import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE;
4646
import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED;
47-
import static com.example.android.testdpc.policy.PolicyManagementFragment.OVERRIDE_KEY_SELECTION_KEY;
47+
import static com.afwsamples.testdpc.policy.PolicyManagementFragment.OVERRIDE_KEY_SELECTION_KEY;
4848

4949
/**
5050
* Handles events related to the managed profile.

app/src/main/java/com/example/android/testdpc/EnableDeviceOwnerActivity.java renamed to app/src/main/java/com/afwsamples/testdpc/EnableDeviceOwnerActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.example.android.testdpc;
17+
package com.afwsamples.testdpc;
1818

1919
import android.app.Activity;
2020
import android.content.pm.ApplicationInfo;

app/src/main/java/com/example/android/testdpc/EnableProfileActivity.java renamed to app/src/main/java/com/afwsamples/testdpc/EnableProfileActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.example.android.testdpc;
17+
package com.afwsamples.testdpc;
1818

1919
import android.app.Activity;
2020
import android.app.admin.DevicePolicyManager;

app/src/main/java/com/example/android/testdpc/LaunchActivity.java renamed to app/src/main/java/com/afwsamples/testdpc/LaunchActivity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.example.android.testdpc;
17+
package com.afwsamples.testdpc;
1818

1919
import android.app.Activity;
2020
import android.content.Intent;
2121
import android.os.Bundle;
2222
import android.widget.Toast;
2323

24-
import com.example.android.testdpc.common.LaunchIntentUtil;
25-
import com.example.android.testdpc.common.ProvisioningStateUtil;
26-
import com.example.android.testdpc.syncauth.SetupSyncAuthManagement;
24+
import com.afwsamples.testdpc.common.LaunchIntentUtil;
25+
import com.afwsamples.testdpc.common.ProvisioningStateUtil;
26+
import com.afwsamples.testdpc.syncauth.SetupSyncAuthManagement;
2727

2828
/**
2929
* <p>Application launch activity that decides the most appropriate initial activity for the

app/src/main/java/com/example/android/testdpc/PolicyManagementActivity.java renamed to app/src/main/java/com/afwsamples/testdpc/PolicyManagementActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.example.android.testdpc;
17+
package com.afwsamples.testdpc;
1818

1919
import android.app.Activity;
2020
import android.app.admin.DevicePolicyManager;
2121
import android.os.Bundle;
2222

23-
import com.example.android.testdpc.policy.PolicyManagementFragment;
23+
import com.afwsamples.testdpc.policy.PolicyManagementFragment;
2424

2525
/**
2626
* An entry activity that shows a profile setup fragment if the app is not a profile or device

app/src/main/java/com/example/android/testdpc/SetupManagementFragment.java renamed to app/src/main/java/com/afwsamples/testdpc/SetupManagementFragment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.example.android.testdpc;
17+
package com.afwsamples.testdpc;
1818

1919
import android.annotation.TargetApi;
2020
import android.app.Activity;
@@ -30,7 +30,7 @@
3030

3131
import com.android.setupwizardlib.SetupWizardLayout;
3232
import com.android.setupwizardlib.view.NavigationBar;
33-
import com.example.android.testdpc.common.ProvisioningStateUtil;
33+
import com.afwsamples.testdpc.common.ProvisioningStateUtil;
3434

3535
import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
3636
import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE;

app/src/main/java/com/example/android/testdpc/common/AppInfoArrayAdapter.java renamed to app/src/main/java/com/afwsamples/testdpc/common/AppInfoArrayAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.example.android.testdpc.common;
17+
package com.afwsamples.testdpc.common;
1818

1919
import android.content.Context;
2020
import android.content.pm.ApplicationInfo;
@@ -26,7 +26,7 @@
2626
import android.widget.ImageView;
2727
import android.widget.TextView;
2828

29-
import com.example.android.testdpc.R;
29+
import com.afwsamples.testdpc.R;
3030

3131
import java.util.List;
3232

0 commit comments

Comments
 (0)