summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Stats.java
Commit message (Collapse)AuthorAgeFilesLines
* resolved conflicts for merge of 13ef17a3 to mnc-dr-devHyunyoung Song2015-07-221-143/+73
| | | | | b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
* Add more Launcher files to delete on Clear Launcher DataHelena Josol2014-10-161-7/+7
| | | | | Bug: 12753154 Change-Id: I00679bdc6eff70a1398122aaa955c08eabd556b1
* Specify permission.RECEIVE_LAUNCH_BROADCASTS in String resourceAdam Cohen2014-07-161-3/+7
| | | | Change-Id: I2aca0108e3b41dc1db80d552dd6242a5a8d0245d
* Broadcast app launches from all apps too.Anton Hansson2013-09-261-12/+23
| | | | | | Bug 10943415 Change-Id: I0e496a53fc253bd313d269a05674d7c5cdadee68
* Initial implementation: Broadcasts on app launch.Daniel Sandler2013-08-061-0/+202
Look for com.android.launcher3.action.LAUNCH to be sent when an icon is clicked in Launcher. (Restricted to com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS which is a signature permission right now. This is specifically tracking apps launched via shortcut icon; any other method of launching apps (notifications, recents, internal navigation, etc.) is outside of Launcher's purview and hence not broadcast. The broadcast currently includes, in the "intent" extra, the Uri flattening of the specific shortcut clicked. The file /data/data/<pkg>/files/launches.log contains a binary log of all such launches, including additional info like screen# that should probably be in the broadcast too. This info is summarized in .../stats.log, which encodes a simple histogram of app launches since basically forever. This should probably be done over a sliding window, which will require more processing on startup. Bug: 10031590 Change-Id: Ifc5921d5dc20701c67678cbfdc89b03cacd62028