diff options
author | Anthony Chen <ajchen@google.com> | 2017-08-11 15:34:53 -0700 |
---|---|---|
committer | Anthony Chen <ajchen@google.com> | 2017-08-11 22:37:49 +0000 |
commit | 2b18cbc8decdf99ee4c07ad215bdd4f28ce536fd (patch) | |
tree | 34e52e0836f3fc86b866bf26ea61e92d7e47f796 | |
parent | 97b319e44253a215dab1e6d626fcdc5f56d3867c (diff) | |
download | Dialer-2b18cbc8decdf99ee4c07ad215bdd4f28ce536fd.tar.gz |
Make the Dialer direct boot aware.
The Dialer needs this attribute because it might be possible for a user
to already be in a phone call when AAE boots up. The Dialer needs to be
notified of this state when it boots so that it can reflect the phone
call status properly.
Test: make a phone call, reboot AAE and ensure the Dialer shows the
in-call screen when AAE is booted up.
Bug: 64073836
Change-Id: I985bb3460b8e3d8115c90fcb655cd8be0a3006e0
-rw-r--r-- | AndroidManifest.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 32e2d7da..25063986 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -28,7 +28,10 @@ <uses-permission android:name="android.permission.CALL_PHONE"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> + <!-- The Dialer needs to be directBootAware so that it can reflect the correct call state + when the system boots up. --> <application + android:directBootAware="true" android:label="@string/phone_app_name" android:icon="@drawable/ic_app_icon"> |