kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
45e11f6291
commit
c36f9646f9
|
@ -205,7 +205,7 @@ public class BackupUtil {
|
||||||
new SecureRandom().nextBytes(random);
|
new SecureRandom().nextBytes(random);
|
||||||
|
|
||||||
for (int i=0;i<30;i+=5) {
|
for (int i=0;i<30;i+=5) {
|
||||||
result[i/5] = String.format("%05d", ByteUtil.byteArray5ToLong(random, i) % 100000);
|
result[i/5] = String.format(Locale.ENGLISH, "%05d", ByteUtil.byteArray5ToLong(random, i) % 100000);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
android:focusable="true">
|
android:focusable="true">
|
||||||
|
|
||||||
<TableRow android:gravity="center_horizontal"
|
<TableRow android:gravity="center_horizontal"
|
||||||
|
android:layoutDirection="ltr"
|
||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
android:focusable="false">
|
android:focusable="false">
|
||||||
|
|
||||||
|
@ -46,7 +47,9 @@
|
||||||
tools:text="42738" />
|
tools:text="42738" />
|
||||||
</TableRow>
|
</TableRow>
|
||||||
|
|
||||||
<TableRow android:gravity="center_horizontal">
|
<TableRow android:gravity="center_horizontal"
|
||||||
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<TextView android:id="@+id/code_fourth"
|
<TextView android:id="@+id/code_fourth"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
<TableRow
|
<TableRow
|
||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
|
android:layoutDirection="ltr"
|
||||||
android:gravity="center_horizontal">
|
android:gravity="center_horizontal">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -75,7 +76,8 @@
|
||||||
tools:text="42738" />
|
tools:text="42738" />
|
||||||
</TableRow>
|
</TableRow>
|
||||||
|
|
||||||
<TableRow android:gravity="center_horizontal">
|
<TableRow android:gravity="center_horizontal"
|
||||||
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/code_fourth"
|
android:id="@+id/code_fourth"
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
android:id="@+id/restore_passphrase_input"
|
android:id="@+id/restore_passphrase_input"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layoutDirection="ltr"
|
||||||
android:fontFamily="monospace"
|
android:fontFamily="monospace"
|
||||||
android:hint="@string/enter_backup_passphrase_dialog__backup_passphrase"
|
android:hint="@string/enter_backup_passphrase_dialog__backup_passphrase"
|
||||||
android:imeOptions="actionDone"
|
android:imeOptions="actionDone"
|
||||||
|
|
Ładowanie…
Reference in New Issue