summaryrefslogtreecommitdiff
path: root/core/java/android/app/HomeVisibilityObserver.java
Commit message (Collapse)AuthorAgeFilesLines
* Expose the HomeVisibilityListener APIHall Liu2020-10-141-97/+0
| | | | | | | | | | | | | | Rename HomeVisibilityObserver to HomeVisibilityListener and expose it as module-only API. This listener is used by the SIM toolkit to detect when the home screen is visible. Also fix some bugs in the original implementation that were uncovered during CTS writing. Fixes: 170226810 Test: atest ActivityManagerTest#testHomeVisibilityListener Exempt-From-Owner-Approval: Previously approved in ag/12775889 Change-Id: Ia44462e55ad71119cf356485c60c121d331c50d4
* Revert "Expose the HomeVisibilityListener API"Makoto Onuki2020-10-131-0/+97
| | | | | | | | | | | | | | Revert "Add CTS for HomeVisibilityListener" Revert submission 12775890-home-vis-listener Reason for revert: broke build, b/170776449 Reverted Changes: I8e6de3267:Add CTS for HomeVisibilityListener I33d943603:Follow rename of HomeVisibilityObserver I5d99f2bad:Expose the HomeVisibilityListener API Change-Id: I9483fac8cf40ecfa6f80f6f66068978ebe493258
* Expose the HomeVisibilityListener APIHall Liu2020-10-061-97/+0
| | | | | | | | | | | | | Rename HomeVisibilityObserver to HomeVisibilityListener and expose it as module-only API. This listener is used by the SIM toolkit to detect when the home screen is visible. Also fix some bugs in the original implementation that were uncovered during CTS writing. Fixes: 170226810 Test: atest ActivityManagerTest#testHomeVisibilityListener Change-Id: I5d99f2bad144711d7135cc800921abf01df6235d
* Hide APIs exposed for Telephony mainline which is no longer needed in R.Malcolm Chen2020-03-201-2/+1
| | | | | | | | | | | | The APIs were added in b/144351078, b/148097978 and b/148116922. b/151665796 is used to revert them. Bug: 151665796 Bug: 144351078 Bug: 148097978 Bug: 148116922 Test: build Change-Id: I08db8c5c0161747a7e775a8de0daa7077b513f10
* Add HomeVisibilityObserver APIs in ActivityManager.Malcolm Chen2020-01-171-0/+98
The new API will be @System which is used by Telephony stk app to monitor foreground activity change. Bug: 144351078 Test: manual with a test app that registers HomeVisibilityObserver and monitor its callback. Change-Id: I2f250cdd53a667b2d89e84e589b0ae0bc94a8aa3