Adds a hintFlags to JNI. am: 731fbb02f5
am: 5d84414607

Change-Id: I8aee2d1fa31505e5d45262085156e36f29c8bd91