Fix context menus on user builds.
Jeff Hamilton [Wed, 9 Feb 2011 01:50:04 +0000 (10:50 +0900)]
Change-Id: I0d4007319c881a8b4db4aa52b8f61ff86803e3a9

src/com/android/apps/tag/MyTagList.java

index e4541c5..9186389 100644 (file)
@@ -151,8 +151,8 @@ public class MyTagList
         // The UX is horrible so we don't want to ship it but need it for testing.
         if (!Build.TYPE.equalsIgnoreCase("user")) {
             mWriteSupport = true;
-            registerForContextMenu(mList);
         }
+        registerForContextMenu(mList);
 
         if (getIntent().hasExtra(EditTagActivity.EXTRA_RESULT_MSG)) {
             NdefMessage msg = (NdefMessage) Preconditions.checkNotNull(