summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/precall/impl/PreCallActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Allow CallingAccountSelector to be shown when the device is locked.linyuh2018-06-051-5/+26
| | | | | | | Bug: 80408180 Test: PreCallActivityTest + Manual testing on a Moto device PiperOrigin-RevId: 199387969 Change-Id: I81d19e22f5a26676eb725b32148c43afd43d3119
* Prevent PreCallActivity from showing in lockscreen if it is not started in ↵twyen2017-11-291-1/+4
| | | | | | | | | the lockscreen Bug: 69812359 Test: PreCallActivityTest PiperOrigin-RevId: 177193665 Change-Id: Ic61819b8456ee22c01228d6be2255b3f2c1e418a
* Fix showing CallingAccountSelector in lock screentwyen2017-11-221-0/+6
| | | | | | | | | | | | FLAG_SHOW_WHEN_LOCKED is added to PreCallActivity so it can be launched in lockscreen. PreCallCoordinator now grabs new instances of PreCallActions onResume so the state can be flushed. If it is reused states like PendingAction might be used after it is discarded. Added null check before discarding fragment because it might not be created yet due to background query. Bug: 69570769 Test: CallingAccountSelectorTest PiperOrigin-RevId: 176714225 Change-Id: I8b09441bd1cdb8df835978a1d82b53a3d3d056e0
* Implement PreCallCoordinatortwyen2017-11-111-0/+58
When the user makes a call, the PreCallCoordinator will get a list of actions to perform from PreCallActionProviderComponent and apply them to the pending CallIntentBuilder, before sending the built intent to telecom Bug: 64216442 Test: PreCallExecutorImplTest PiperOrigin-RevId: 174911537 Change-Id: Ide5ec431d4e6e7879fcdfdbbbd7ea5eed9963b2c