diff --git a/app/src/main/java/com/example/cosmosclient/views/RequestPermissionsActivty.java b/app/src/main/java/com/example/cosmosclient/views/RequestPermissionsActivty.java deleted file mode 100644 index 794e5ec..0000000 --- a/app/src/main/java/com/example/cosmosclient/views/RequestPermissionsActivty.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.example.cosmosclient.views; - -import android.support.annotation.NonNull; -import android.support.v4.app.ActivityCompat; -import android.support.v7.app.AppCompatActivity; - -import com.example.cosmosclient.app.Cosmos; - -public class RequestPermissionsActivty extends AppCompatActivity { - private ActivityCompat.OnRequestPermissionsResultCallback listener = null; - - public void setOnRequestPermissionsResultCallback(ActivityCompat.OnRequestPermissionsResultCallback listener) { - this.listener = listener; - } - - // 結果の受け取り - @Override - public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { - listener.onRequestPermissionsResult(requestCode, permissions, grantResults); - } -}