XML files like layouts are now scanned and checked for v21 attributes. If those kinds of attributes are found, then we remove them in the original version and synthesize a new xml file under the v21 configuration. Bug:17520380 Change-Id: Icf984cb96134180a2e35349c1dbf2cef9a8f0bda
27 lines
680 B
C
27 lines
680 B
C
//
|
|
// Copyright 2006 The Android Open Source Project
|
|
//
|
|
// Build resource files from raw assets.
|
|
//
|
|
|
|
#ifndef IMAGES_H
|
|
#define IMAGES_H
|
|
|
|
#include "ResourceTable.h"
|
|
#include "Bundle.h"
|
|
|
|
#include <utils/String8.h>
|
|
#include <utils/RefBase.h>
|
|
|
|
using android::String8;
|
|
|
|
status_t preProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets,
|
|
const sp<AaptFile>& file, String8* outNewLeafName);
|
|
|
|
status_t preProcessImageToCache(const Bundle* bundle, const String8& source, const String8& dest);
|
|
|
|
status_t postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets,
|
|
ResourceTable* table, const sp<AaptFile>& file);
|
|
|
|
#endif
|