diff options
author | 2025-03-05 18:35:17 +0000 | |
---|---|---|
committer | 2025-03-08 00:57:14 +0000 | |
commit | 619b6ef5c5a06fe3eaaa3fd0bdbd44e6795b29e4 (patch) | |
tree | 06e14969e1014b1f55c2cc9f7c947b5d1e9fc24f /android/packaging.go | |
parent | b31c77b9b8c8daca78c8ec5cceb6f185fe95dec9 (diff) |
Add Gob support of ApiLevel and applicableLicensesPropertyImpl.
Bug: 358427516
Test: Manual tests.
Change-Id: I23ada602ee6c2e21238271b0b286a42ea8461a14
Diffstat (limited to 'android/packaging.go')
-rw-r--r-- | android/packaging.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android/packaging.go b/android/packaging.go index 6146f02c9..bb1fe4e45 100644 --- a/android/packaging.go +++ b/android/packaging.go @@ -89,6 +89,8 @@ type packagingSpecGob struct { ArchType ArchType Overrides []string Owner string + RequiresFullInstall bool + FullInstallPath InstallPath Variation string } @@ -113,6 +115,8 @@ func (p *PackagingSpec) ToGob() *packagingSpecGob { ArchType: p.archType, Overrides: p.overrides.ToSlice(), Owner: p.owner, + RequiresFullInstall: p.requiresFullInstall, + FullInstallPath: p.fullInstallPath, Variation: p.variation, } } @@ -129,6 +133,8 @@ func (p *PackagingSpec) FromGob(data *packagingSpecGob) { p.archType = data.ArchType p.overrides = uniquelist.Make(data.Overrides) p.owner = data.Owner + p.requiresFullInstall = data.RequiresFullInstall + p.fullInstallPath = data.FullInstallPath p.variation = data.Variation } |