|
@@ -637,7 +637,7 @@ public class OnBoardingActivity extends AppCompatActivity {
|
|
|
}).start();
|
|
|
break;
|
|
|
|
|
|
- case 6: // Provision role RW access to NCRs
|
|
|
+ case 7: // Provision role RW access to NCRs
|
|
|
AlertDialog.Builder roleDialogBuilder = new AlertDialog.Builder(OnBoardingActivity.this);
|
|
|
|
|
|
LinearLayout layout = new LinearLayout(OnBoardingActivity.this);
|
|
@@ -717,7 +717,7 @@ public class OnBoardingActivity extends AppCompatActivity {
|
|
|
roleDialog.show();
|
|
|
break;
|
|
|
|
|
|
- case 7: // Provision identity certificate
|
|
|
+ case 8: // Provision identity certificate
|
|
|
AlertDialog.Builder idCertDialogBuilder = new AlertDialog.Builder(OnBoardingActivity.this);
|
|
|
idCertDialogBuilder.setTitle(uuid);
|
|
|
idCertDialogBuilder.setMessage(getResources().getStringArray(R.array.ownedDeviceActions)[which]);
|
|
@@ -751,12 +751,12 @@ public class OnBoardingActivity extends AppCompatActivity {
|
|
|
idCertDialog.show();
|
|
|
break;
|
|
|
|
|
|
- case 8: // Provision role certificate
|
|
|
+ case 9: // Provision role certificate
|
|
|
RoleCertificateHelper roleCertificateHelper = new RoleCertificateHelper(OnBoardingActivity.this, obt, uuid, new ProvisionRoleCertificateHandler(OnBoardingActivity.this));
|
|
|
roleCertificateHelper.getRoles(null); // calls provisionRoleCertificate()
|
|
|
break;
|
|
|
|
|
|
- case 9: // Reset Device
|
|
|
+ case 6: // Reset Device
|
|
|
AlertDialog.Builder resetDialogBuilder = new AlertDialog.Builder(OnBoardingActivity.this);
|
|
|
resetDialogBuilder.setTitle(uuid);
|
|
|
resetDialogBuilder.setMessage(getResources().getStringArray(R.array.ownedDeviceActions)[which]);
|