Commit Graph

6 Commits

Author SHA1 Message Date
Bruno Martins
9eca90278d sdk: Remove "long-press back to kill app" feature
Change-Id: I3df4469beb53eeee070cdc486d02bb95001d7f53
2020-10-08 20:28:08 +01:00
LuK1337
e530d7a126 lineage-sdk: Clean up imports
Change-Id: Ie14853382ebefd42fdf827e2999a2a2a6d0a1cd1
2019-09-10 16:10:48 -07:00
LuK1337
f7d8e15b75 lineage-sdk: Fix moveTaskToFront() call in ActionUtils
* moveTaskToFront() now has 2 nullable parameters at
  the beginning:
    - IApplicationThread appThread
    - String callingPackage

Change-Id: I761784bdb3918021a0848e8ee31baa0818540bb1
2019-09-09 07:33:54 +02:00
Han Wang
d952ef3afb lineage-sdk: Refactor ActionUtils
* Use getFocusedStackInfo() to check active task, also do general
   cleanups for this class. Hopefully this will get rid of the
   strange issues of "kill foreground app" feature.

Change-Id: Ice1ca8e088ea4fec050fa171d990cb938dd3272c
2019-08-30 12:25:30 +02:00
Luca Stefani
21be710a95 ActionUtils: Switch getLastTask to IActivityManager
* An alternative to using the getRecentTasksForUser method
   that got removed with the following commit:
   5fa397533f

Change-Id: I752c2445c3ffc0933dfe6290c99d839a036e4bc3
2018-09-01 16:05:09 +02:00
Roman Birg
de846c64c3 lineage-sdk internal: Import ActionUtils class
Change-Id: Iab14009d7e26064c8c6b732cf22be90da3ef7f04
2018-01-12 13:42:21 +00:00