Update the deprecated Slice APIs to the new ones

Fixes: 131880868
Test: build, visual, robotest
Change-Id: I2cbb8fe131ebb284dabc5a5d65e70db254691688
1 file changed