1. launch system settings
2. turn on orientation lock if it's not already on
3. from phablet shell, run "gsettings get com.ubuntu.touch.system rotation-lock" to confirm lock setting reads "true"
4. tap settings' orientation lock switch to disable lock
5. from phablet shell, run "gsettings get com.ubuntu.touch.system rotation-lock" again to confirm lock setting now reads "false"
6. from phablet shell, run "gsettings set com.ubuntu.touch.system rotation-lock true" to enable rotation lock
7. from system sesttings, confirm that the orientation lock switch shows the feature enabled
8. from phablet shell, run "gsettings set com.ubuntu.touch.system rotation-lock false" to disable rotation lock
9. from system sesttings, confirm that the orientation lock switch now shows the feature disabled
Fails on step 6 -- changing the GSettings isn't reflected in the UI.
This also breaks u-s-s if the flag is toggled from the rotation lock indicator.
Tested on 14.10 r151
1. launch system settings touch.system rotation-lock" to confirm lock setting reads "true" touch.system rotation-lock" again to confirm lock setting now reads "false" touch.system rotation-lock true" to enable rotation lock touch.system rotation-lock false" to disable rotation lock
2. turn on orientation lock if it's not already on
3. from phablet shell, run "gsettings get com.ubuntu.
4. tap settings' orientation lock switch to disable lock
5. from phablet shell, run "gsettings get com.ubuntu.
6. from phablet shell, run "gsettings set com.ubuntu.
7. from system sesttings, confirm that the orientation lock switch shows the feature enabled
8. from phablet shell, run "gsettings set com.ubuntu.
9. from system sesttings, confirm that the orientation lock switch now shows the feature disabled
Fails on step 6 -- changing the GSettings isn't reflected in the UI.
This also breaks u-s-s if the flag is toggled from the rotation lock indicator.