diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java index ce53a79..67043b4 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java @@ -81,9 +81,7 @@ // strokeNoの発行 public void setmStrokeNo(){ Random random = new Random(); - int randomValue = random.nextInt(1000000); - String s= acanthus.getPreferenceUid().toString()+acanthus.getAid().toString()+String.valueOf(randomValue); - mStrokeNo=Integer.valueOf(s); + mStrokeNo=random.nextInt(1000000000); Log.d("TAG", "setmStrokeNo: "+mStrokeNo); }