Fix return value of method

bug 47389

Change-Id: I2803ab4fa071a1053ca0b3d221858b2a30a56a64
Merge "Fix return value of method"