Commit Graph

3 Commits

Author SHA1 Message Date
Vasu Nori
1d89a19207 When Airplane mode is changed due to Voice Intent, use the system
provided ConnectionManager method to do that, instead of changing
it directly using Settings.Global.putInt() - because that doesn't
case ACTION_AIRPLANE_MODE_CHANGED intent to be broadcast.
This breaks Google Search App (GSA) code that relies on the above
broadcast to do a variety of things.

Change-Id: I2aa61643ed23b373aa362a59af83427a4548c492
2015-12-11 11:56:50 -08:00
Barnaby James
c55ea15bc0 Add activities to support voice settings.
Adds Voice Interaction Activities for:
- Do not disturb mode (with interaction)
- Battery Saver mode
- Airplane mode

Change-Id: I4480dc3a30975d94b71714ff58fbeebddfbc1c58
2015-04-13 14:38:51 -07:00
Barnaby James
092c62f1f3 Add voice-only settings activities for airplane mode.
This activity can only be triggered through the Voice Interaction API - e.g. from calling VoiceInterationSession.startVoiceActivity()

Change-Id: I39ac409824693bc82e53d707a1ece2b23a89f3a3
2014-08-08 21:01:01 -07:00