]> hydra-www.ietfng.org Git - android-vcpass-oisafe/commitdiff
OI Safe: bug with PassEdit being overzealous with checking for
authorrmceoin <rmceoin@72b678ce-9140-0410-bee8-679b907dd61a>
Tue, 6 Oct 2009 23:21:08 +0000 (23:21 +0000)
committerrmceoin <rmceoin@72b678ce-9140-0410-bee8-679b907dd61a>
Tue, 6 Oct 2009 23:21:08 +0000 (23:21 +0000)
RowId at onCreate()

git-svn-id: http://openintents.googlecode.com/svn/trunk/Safe@2316 72b678ce-9140-0410-bee8-679b907dd61a

src/org/openintents/safe/PassEdit.java

index 0dcffadcd3fc4b0ae9ea6a1682a386499dd28fc4..4df4da98195bd4b0347e86ce4264c52b74bcbbff 100644 (file)
@@ -101,9 +101,8 @@ public class PassEdit extends Activity {
                if (debug) Log.d(TAG,"RowId="+RowId);
                if (debug) Log.d(TAG,"CategoryId="+CategoryId);
 
-               if ((RowId==null) || (CategoryId==null) ||
-                               (RowId<1) || (CategoryId<1)) {
-                       // invalid Row or Category
+               if ((CategoryId==null) || (CategoryId<1)) {
+                       // invalid Category
                        finish();
                        return;
                }