Exemplo n.º 1
0
 private ApplicationInfo(android.os.Parcel source) : base(source)
 {
     taskAffinity            = source.readString();
     permission              = source.readString();
     processName             = source.readString();
     className               = source.readString();
     theme                   = source.readInt();
     flags                   = source.readInt();
     requiresSmallestWidthDp = source.readInt();
     compatibleWidthLimitDp  = source.readInt();
     largestWidthLimitDp     = source.readInt();
     sourceDir               = source.readString();
     publicSourceDir         = source.readString();
     nativeLibraryDir        = source.readString();
     resourceDirs            = source.readStringArray();
     sharedLibraryFiles      = source.readStringArray();
     dataDir                 = source.readString();
     uid = source.readInt();
     targetSdkVersion        = source.readInt();
     enabled                 = source.readInt() != 0;
     enabledSetting          = source.readInt();
     installLocation         = source.readInt();
     manageSpaceActivityName = source.readString();
     backupAgentName         = source.readString();
     descriptionRes          = source.readInt();
     uiOptions               = source.readInt();
 }
Exemplo n.º 2
0
        public virtual void readFromParcel(android.os.Parcel @in)
        {
            this.mSlots = @in.readStringArray();
            int N = @in.readInt();

            if (N < 0)
            {
                mIcons = null;
            }
            else
            {
                mIcons = new [email protected][N];
                {
                    for (int i = 0; i < N; i++)
                    {
                        if (@in.readInt() != 0)
                        {
                            mIcons[i] = new [email protected](@in);
                        }
                    }
                }
            }
        }