summaryrefslogtreecommitdiffstats
path: root/libdexfile
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2018-09-14 10:50:27 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-09-14 10:50:27 +0000
commit9f5910cc017704ad00a124519dbf02e6de801793 (patch)
treef92ed0463c149b272f00b13630e18c6f88656bc2 /libdexfile
parentadf05bc481b7639ca1397c5e92ffbc301a38518f (diff)
parent6c2cfb525fd0ec0d2da56407dfbadaba711f03b9 (diff)
downloadart-9f5910cc017704ad00a124519dbf02e6de801793.tar.gz
art-9f5910cc017704ad00a124519dbf02e6de801793.tar.bz2
art-9f5910cc017704ad00a124519dbf02e6de801793.zip
Merge "Add a --whitelist and --only-report-sdk-uses to veridex."
Diffstat (limited to 'libdexfile')
-rw-r--r--libdexfile/dex/hidden_api_access_flags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdexfile/dex/hidden_api_access_flags.h b/libdexfile/dex/hidden_api_access_flags.h
index 1aaeabd783..369615d678 100644
--- a/libdexfile/dex/hidden_api_access_flags.h
+++ b/libdexfile/dex/hidden_api_access_flags.h
@@ -62,6 +62,7 @@ class HiddenApiAccessFlags {
kLightGreylist,
kDarkGreylist,
kBlacklist,
+ kNoList,
};
static ALWAYS_INLINE ApiList DecodeFromDex(uint32_t dex_access_flags) {
@@ -159,6 +160,9 @@ inline std::ostream& operator<<(std::ostream& os, HiddenApiAccessFlags::ApiList
case HiddenApiAccessFlags::kBlacklist:
os << "blacklist";
break;
+ case HiddenApiAccessFlags::kNoList:
+ os << "no list";
+ break;
}
return os;
}