feat#415_xiug

This commit is contained in:
jia 2025-02-11 23:00:30 +08:00
parent 4cccd1ddad
commit daa7b860b2
4 changed files with 12 additions and 1 deletions

View File

@ -25,7 +25,7 @@ android {
config { config {
keyAlias 'android.keystore' keyAlias 'android.keystore'
keyPassword 'ifish7' keyPassword 'ifish7'
storeFile file('../ifish7.keystore') storeFile file('ifish7.keystore')
storePassword 'ifish7' storePassword 'ifish7'
} }
} }

View File

@ -40,6 +40,7 @@ import com.ifish.utils.HttpManager;
import com.ifish.utils.L; import com.ifish.utils.L;
import com.ifish.utils.SPUtil; import com.ifish.utils.SPUtil;
import com.ifish.utils.ToastUtil; import com.ifish.utils.ToastUtil;
import com.igexin.sdk.PushManager;
import com.lidroid.xutils.HttpUtils; import com.lidroid.xutils.HttpUtils;
import com.lidroid.xutils.exception.HttpException; import com.lidroid.xutils.exception.HttpException;
import com.lidroid.xutils.http.ResponseInfo; import com.lidroid.xutils.http.ResponseInfo;
@ -127,6 +128,8 @@ public class MySettingActivity extends BaseActivity {
findViewById(R.id.rl_devicereset).setOnClickListener(this); findViewById(R.id.rl_devicereset).setOnClickListener(this);
findViewById(R.id.rl_bindphone).setOnClickListener(this); findViewById(R.id.rl_bindphone).setOnClickListener(this);
findViewById(R.id.tv_exit).setOnClickListener(view -> exitAccount()); findViewById(R.id.tv_exit).setOnClickListener(view -> exitAccount());
TextView textView = findViewById(R.id.cid);
textView.setText(PushManager.getInstance().getClientid(this));
} }
private void exitAccount(){ private void exitAccount(){

View File

@ -302,5 +302,13 @@
android:gravity="center" android:gravity="center"
android:background="@drawable/minefragment_bg_select"/> android:background="@drawable/minefragment_bg_select"/>
<TextView
android:id="@+id/cid"
android:layout_width="match_parent"
android:gravity="center"
android:layout_margin="20dp"
android:textIsSelectable="true"
android:layout_height="wrap_content"/>
</LinearLayout> </LinearLayout>