Commit a76c8ba
committed
android: start proximity sensor anyway
Proximity sensor should be enabled anyway, but only turn screen off when audio is
routing to earpiece while proximity is in `is near` state.
This is for app which can implement `choose audio route` functionality. If a
user start a video call but then wants to use earpiece to continue the
rest conversation, app should be able to route audio to EarPiece and
`turn screen off` while user put their ear close to screen.1 parent b63414b commit a76c8ba
File tree
1 file changed
+1
-4
lines changed- android/src/main/java/com/zxcpoiu/incallmanager
1 file changed
+1
-4
lines changedLines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
| 646 | + | |
650 | 647 | | |
651 | 648 | | |
652 | 649 | | |
| |||
0 commit comments