956f69c112c5dcf879ce2e2d6543ffed1636cce2 |
|
25-Jan-2017 |
Dianne Hackborn <hackbod@google.com> |
Remove some unused code around process state reporting. Test: N/A (just removing empty code) Change-Id: I041b8e4dc6d97b85f3b46bbddc9bebc467ad082e
/packages/apps/Nfc/src/com/android/nfc/ForegroundUtils.java
|
3da6676ebb7a18a53621a5bc7eec21ca24becdf0 |
|
11-Nov-2016 |
Sudheer Shanka <sudheersai@google.com> |
Update usage of ActivityManagerNative. Bug: 30977067 Test: N/A Change-Id: Ia2abbf9b7e07dd3c502dec5662a7ebe19e7f8798
/packages/apps/Nfc/src/com/android/nfc/ForegroundUtils.java
|
c4ff3393f54403064b237349277cbf65f3277285 |
|
23-Jul-2014 |
Martijn Coenen <maco@google.com> |
Fix ForegroundUtils ignoring PID. ForegroundUtils just kept track of UIDs and ignored PIDs. However, some apps may have multiple processes running with the same UID, causing transitions like: UID 10010 PID 1234 -> Foreground = true UID 10010 PID 5678 -> Foreground = false In this order this would cause us to remove UID 10010 from the foreground list, whereas it still has a PID in the foreground. Fixed this by keeping track of the foreground PIDs per UID, and a UID is only considered to go to the background if it doesn't have any PIDs left in the foreground. Bug: 16514707 Change-Id: I160e4403a21d150497b88c336401dd8ddcb87082
/packages/apps/Nfc/src/com/android/nfc/ForegroundUtils.java
|
34322b73c1e09907cb007e86bae77c744b338cd7 |
|
01-Jul-2014 |
Martijn Coenen <maco@google.com> |
Fix invoking Beam from share menu for multi-user. Don't call into NfcService from Binder, but instead through a newly added IPC call. Also, get rid of deprecated ActivityManager calls to determine foreground task, and use new ForegroundUtils for that instead, Bug: 15939863 Change-Id: If5a4b64de337abc36b1f1df30b4f612946e8496f
/packages/apps/Nfc/src/com/android/nfc/ForegroundUtils.java
|
da772582c17e3f5ffe36e4cab3e1ede3cba32060 |
|
26-Apr-2014 |
Martijn Coenen <maco@google.com> |
HCE/SE foreground support. - Allow apps to specify a service they'd like to execute while in foreground. - Refactored code that determines priority into PreferredServices - Made a generic ForegroundUtils class that use IProcessObserver to monitor foreground/background state transitions. - Simplified logic in RegisteredAidCache that determines where an AID goes. Order is: 1) Foreground (if allowed to override) 2) Payment default app 3) Other. - Added dump() to classes for easier debugging Change-Id: Idf871ea91d10102b82b170a45b519be98adc9edf
/packages/apps/Nfc/src/com/android/nfc/ForegroundUtils.java
|