code: @Implementation @HiddenApi
    protected final int loadResourceBagValue(int ident, int bagEntryId, TypedValue outValue,
        boolean resolve) {
      CppAssetManager am = assetManagerForJavaObject();
      if (am == null) {
        return 0;
      }
      final ResTable res = am.getResources();
      return loadResourceBagValueInternal(ident, bagEntryId, outValue, resolve, res);
    }
docs: Returns true if the resource was found, filling in mRetStringBlock and
  mRetData.