Fix dev afmode setting don't work after snapshot

the afmode is set to 4 after unlockfocus.
so change the afmode set to builder if dev is opened and
the value is valid.

Change-Id: Ic10af057fa944db39b2e94ec162fb99452ed9365
3 files changed