MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / emptyBag

Method emptyBag

tools/aapt/ResourceTable.cpp:3245–3254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3243}
3244
3245status_t ResourceTable::Entry::emptyBag(const SourcePos& sourcePos)
3246{
3247 status_t err = makeItABag(sourcePos);
3248 if (err != NO_ERROR) {
3249 return err;
3250 }
3251
3252 mBag.clear();
3253 return NO_ERROR;
3254}
3255
3256status_t ResourceTable::Entry::generateAttributes(ResourceTable* table,
3257 const String16& package)

Callers 1

startBagMethod · 0.80

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected