summaryrefslogtreecommitdiff
path: root/android/apex.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/apex.go')
-rw-r--r--android/apex.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/apex.go b/android/apex.go
index 08c82eb5a..c2f73a9c1 100644
--- a/android/apex.go
+++ b/android/apex.go
@@ -105,6 +105,9 @@ func (i ApexInfo) AddJSONData(d *map[string]interface{}) {
// thus wouldn't be merged.
func (i ApexInfo) mergedName() string {
name := "apex" + strconv.Itoa(i.MinSdkVersion.FinalOrFutureInt())
+ if i.UsePlatformApis {
+ name += "_p"
+ }
return name
}