Warning after "Convert to apply"


Android Studio 3.0 Canary 6
Build #AI-171.4163606, built on July 8, 2017
JRE: 1.8.0_152-release-884-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.4.0-83-generic

I try set arguments to fragment:
val args = Bundle()
args.putInt(“image”, image)
args.putInt(“text”, text)
arguments = args

Then I activate “Convert to apply” I get code:
arguments = Bundle().apply {
putInt(“image”, image)
putInt(“text”, text)

But in this case I get warning: “Calling new methods on older versions” Call requires API level 21 (current min is 17): android.os.BaseBundle#putInt

Is it correct behavior?