mirror of https://github.com/M66B/NetGuard.git
Log invite IDs
This commit is contained in:
parent
14a12685fe
commit
9c86cecec3
|
@ -47,6 +47,7 @@ import android.support.v7.widget.LinearLayoutManager;
|
|||
import android.support.v7.widget.RecyclerView;
|
||||
import android.support.v7.widget.SearchView;
|
||||
import android.support.v7.widget.SwitchCompat;
|
||||
import android.text.TextUtils;
|
||||
import android.text.method.LinkMovementMethod;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
|
@ -328,6 +329,12 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
startActivity(donate);
|
||||
}
|
||||
|
||||
} else if (requestCode == REQUEST_INVITE) {
|
||||
if (resultCode == RESULT_OK) {
|
||||
String[] ids = AppInviteInvitation.getInvitationIds(resultCode, data);
|
||||
Log.d(TAG, "Invite ID=" + TextUtils.join(",", ids));
|
||||
}
|
||||
|
||||
} else {
|
||||
Log.w(TAG, "Unknown activity result request=" + requestCode);
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
|
|
Loading…
Reference in New Issue