Merge "Extend the maximum number of partitions from 4 to 32"
This commit is contained in:
commit
2d1e5e9680
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ typedef android::List<char *> PathCollection;
|
|||
|
||||
class DirectVolume : public Volume {
|
||||
public:
|
||||
static const int MAX_PARTITIONS = 4;
|
||||
static const int MAX_PARTITIONS = 32;
|
||||
protected:
|
||||
PathCollection *mPaths;
|
||||
int mDiskMajor;
|
||||
|
@ -37,7 +37,7 @@ protected:
|
|||
int mOrigDiskMinor;
|
||||
int mOrigPartMinors[MAX_PARTITIONS];
|
||||
int mDiskNumParts;
|
||||
unsigned char mPendingPartMap;
|
||||
unsigned int mPendingPartMap;
|
||||
int mIsDecrypted;
|
||||
int mFlags;
|
||||
|
||||
|
|
Loading…
Reference in a new issue