Revert "Revert "Profile compression: Replace method index with difference with the last method_index""

This reverts commit 509d4240279c09aa755ebbd399fd333380ba40f2.

Change-Id: I9bc1b461b7a34c2016b5a3027011434e1025f7b6
diff --git a/dexlayout/dexlayout_test.cc b/dexlayout/dexlayout_test.cc
index d2aef27..5a6a20d 100644
--- a/dexlayout/dexlayout_test.cc
+++ b/dexlayout/dexlayout_test.cc
@@ -41,7 +41,7 @@
     "AAAAdQEAAAAQAAABAAAAjAEAAA==";
 
 static const char kDexFileLayoutInputProfile[] =
-    "cHJvADAwNgAAAAAAAAgAAAB4AQMAAAAAAQ==";
+    "cHJvADAwNwAAAAAAAAgAAAB4AQMAAAAAAQ==";
 
 // Dex file with catch handler unreferenced by try blocks.
 // Constructed by building a dex file with try/catch blocks and hex editing.