Restore the backup&restore function of gapps

Change-Id: Ie9abba55d4d0d0e3e9c92aeb428fcdbbf72d0efb