Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 019576ad authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8740412 from 48991228 to tm-release

Change-Id: Ia72abfef99b61e787caa51d7cc46efe653255006
parents 80a52f58 48991228
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2584,7 +2584,10 @@ func formattedOptionalSdkLevelAttribute(ctx android.ModuleContext, attrName stri
			`"current" is not an allowed value for this attribute`)
		return ""
	}
	return formattedOptionalAttribute(attrName, value)
	// "safeValue" is safe because it translates finalized codenames to a string
	// with their SDK int.
	safeValue := apiLevel.String()
	return formattedOptionalAttribute(attrName, &safeValue)
}

// formats an attribute for the xml permissions file if the value is not null