|
9 | 9 | import android.app.Activity;
|
10 | 10 | import android.app.Dialog;
|
11 | 11 | import android.app.DownloadManager;
|
12 |
| -import android.app.ProgressDialog; |
13 | 12 | import android.content.ContentResolver;
|
14 | 13 | import android.content.ContentValues;
|
15 | 14 | import android.content.Context;
|
|
33 | 32 | import android.os.Build;
|
34 | 33 | import android.os.Bundle;
|
35 | 34 | import android.os.Environment;
|
36 |
| -import android.os.RemoteException; |
37 | 35 | import android.os.SystemClock;
|
38 | 36 | import android.provider.MediaStore;
|
39 | 37 | import android.provider.Settings;
|
40 | 38 | import android.text.TextUtils;
|
41 | 39 | import android.util.AttributeSet;
|
42 |
| -import android.util.Log; |
43 | 40 | import android.view.ContextThemeWrapper;
|
44 | 41 | import android.view.KeyEvent;
|
45 | 42 | import android.view.LayoutInflater;
|
|
55 | 52 | import android.widget.ImageView;
|
56 | 53 | import android.widget.LinearLayout;
|
57 | 54 | import android.widget.TextView;
|
58 |
| -import android.widget.Toast; |
59 |
| - |
60 |
| -import com.google.android.gms.common.Feature; |
61 |
| -import com.google.android.gms.common.api.Status; |
62 |
| -import com.google.android.gms.common.moduleinstall.ModuleAvailabilityResponse; |
63 |
| -import com.google.android.gms.common.moduleinstall.ModuleInstallIntentResponse; |
64 |
| -import com.google.android.gms.common.moduleinstall.ModuleInstallResponse; |
65 |
| -import com.google.android.gms.common.moduleinstall.ModuleInstallStatusUpdate; |
66 |
| -import com.google.android.gms.common.moduleinstall.internal.ApiFeatureRequest; |
67 |
| -import com.google.android.gms.common.moduleinstall.internal.IModuleInstallCallbacks; |
68 |
| -import com.google.android.gms.common.moduleinstall.internal.IModuleInstallService; |
69 |
| -import com.google.android.gms.common.moduleinstall.internal.IModuleInstallStatusListener; |
| 55 | + |
70 | 56 | import com.google.zxing.BarcodeFormat;
|
71 | 57 | import com.google.zxing.EncodeHintType;
|
72 | 58 | import com.google.zxing.WriterException;
|
@@ -218,7 +204,7 @@ public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
|
218 | 204 | username.setText(account.username);
|
219 | 205 | String accDomain=account.getDomain();
|
220 | 206 | domain.setText(accountDomain=TextUtils.isEmpty(accDomain) ? AccountSessionManager.get(accountID).domain : accDomain);
|
221 |
| - //TODO: replace the app logo with the instance avatar |
| 207 | + //TODO: replace the app logo with the instance avatar (https://github.com/mastodon/mastodon/pull/30205) |
222 | 208 | Drawable logo=getResources().getDrawable(R.drawable.ic_ntf_logo, themeWrapper.getTheme()).mutate();
|
223 | 209 | logo.setTint(UiUtils.getThemeColor(themeWrapper, R.attr.colorM3OnPrimary));
|
224 | 210 | codeView.setBackground(new FancyQrCodeDrawable(code, UiUtils.getThemeColor(themeWrapper, R.attr.colorM3OnPrimary), logo));
|
|
0 commit comments