From 9749eefb90ecca7cc152dc3459c0231129b64415 Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Tue, 26 Jan 2016 19:36:21 +0000
Subject: [PATCH] Make symmetric identicons 9x9 instead of 5x5

---
 .../im/delight/android/identicons/IdenticonDrawable.java    | 6 +++---
 .../im/delight/android/identicons/SymmetricIdenticon.java   | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/briar-android/src/im/delight/android/identicons/IdenticonDrawable.java b/briar-android/src/im/delight/android/identicons/IdenticonDrawable.java
index 4a5032428f..ed9b0de2f2 100644
--- a/briar-android/src/im/delight/android/identicons/IdenticonDrawable.java
+++ b/briar-android/src/im/delight/android/identicons/IdenticonDrawable.java
@@ -15,7 +15,7 @@ import org.briarproject.api.crypto.CryptoComponent;
 public class IdenticonDrawable extends Drawable {
     private IdenticonBase mDelegate;
 
-    private static final int CENTER_COLUMN_INDEX = 3;
+    private static final int CENTER_COLUMN_INDEX = 5;
 
     public IdenticonDrawable(final CryptoComponent crypto, byte[] toShow) {
         super();
@@ -27,12 +27,12 @@ public class IdenticonDrawable extends Drawable {
 
             @Override
             protected int getRowCount() {
-                return 5;
+                return 9;
             }
 
             @Override
             protected int getColumnCount() {
-                return 5;
+                return 9;
             }
 
             @Override
diff --git a/briar-android/src/im/delight/android/identicons/SymmetricIdenticon.java b/briar-android/src/im/delight/android/identicons/SymmetricIdenticon.java
index 9a267a2f95..f102e45f4b 100644
--- a/briar-android/src/im/delight/android/identicons/SymmetricIdenticon.java
+++ b/briar-android/src/im/delight/android/identicons/SymmetricIdenticon.java
@@ -28,7 +28,7 @@ import roboguice.RoboGuice;
 
 public class SymmetricIdenticon extends IdenticonView {
 
-    private static final int CENTER_COLUMN_INDEX = 3;
+    private static final int CENTER_COLUMN_INDEX = 5;
 
     @Inject private CryptoComponent mCrypto;
     private IdenticonBase mDelegate;
@@ -58,12 +58,12 @@ public class SymmetricIdenticon extends IdenticonView {
 
             @Override
             protected int getRowCount() {
-                return 5;
+                return 9;
             }
 
             @Override
             protected int getColumnCount() {
-                return 5;
+                return 9;
             }
 
             @Override
-- 
GitLab