Refactor ActiveDisplay

This reverts following commits:

Base: Disable proximity sensor when screen goes on in ActiveDisplay/P… …
d3cc63ccd1 Browse code
codex-corp authored 2 months ago codex-corp committed 2 months ago

follow to kitkat changes their new fixes for active display …
568a433716 Browse code
codex-corp authored 3 months ago

Add Back

Active Display: Sort notifications by newest to oldest …
7674882824 Browse code
0xD34D authored 4 months ago

Active Display: Add some synchronization …
b3b33db6a6 Browse code
0xD34D authored 4 months ago
Schubi

[1/2] Base: Pimp up ActiveDisplay …

- Active display: turn off display if device gets pocketed again
  OmniKang/android_frameworks_base@3c13963

- Active display: Option to change display timeout
  OmniKang/android_frameworks_base@31a3c7d

- Active display: Add some log output
  OmniKang/android_frameworks_base@5be6bd5

- Active display: Add threshold to proximity sensor
  OmniKang/android_frameworks_base@fc4561b

  Display will only be activated if the proximity sensor was covered for 5 seconds or more.

Active display: Ability to turn off the screen, when a not clearable … …
d047508943 Browse code
Der-Schubi authored 4 months ago

This reverts commit d3cc63ccd1ff2bdbdd6d6ddd9761d9e31b383120.

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java