Merge "Remove usage of mFileName in ObbInfo" am: 9568ba7399
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2493876 Change-Id: I83739bf20406a5209038a0c48ac6c6f234435794 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -43,10 +43,6 @@ public:
|
||||
bool removeFrom(const char* filename);
|
||||
bool removeFrom(int fd);
|
||||
|
||||
const char* getFileName() const {
|
||||
return mFileName;
|
||||
}
|
||||
|
||||
const String8 getPackageName() const {
|
||||
return mPackageName;
|
||||
}
|
||||
@@ -127,8 +123,6 @@ private:
|
||||
/* The encryption salt. */
|
||||
unsigned char mSalt[8];
|
||||
|
||||
const char* mFileName;
|
||||
|
||||
size_t mFooterStart;
|
||||
|
||||
bool parseObbFile(int fd);
|
||||
|
||||
@@ -86,7 +86,7 @@ protected:
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
String16 fileName(obbFile->getFileName());
|
||||
String16 fileName(canonicalPath);
|
||||
String16 packageName(obbFile->getPackageName());
|
||||
size_t length;
|
||||
const unsigned char* salt = obbFile->getSalt(&length);
|
||||
|
||||
Reference in New Issue
Block a user