Ring: null point check

fix this NullPoint when release & int lockscreen
    by:wsc

Change-Id: Iaa9a9bebc047ba7a57ddc584111729c5530722d2