Closed jakev closed 9 years ago
Added support to AppDb and processing to sysappdb: https://github.com/jakev/dtfmods-core/commit/6ec3a2dd479818702ab207c1afce2f27fb129e50
Added and used in sysappdb: https://github.com/jakev/dtfmods-core/commit/596529e21bbf54bb73eb50ad026412439854e71e. It now prints if the action is protected.
$ dtf sysappdb exposed --filter receivers com.android.systemui [Mon Mar 30 15:26:54 EDT 2015] sysappdb/I - Using AOSP DB '/mydev/.dbs/sysapps.db' [Mon Mar 30 15:26:54 EDT 2015] sysappdb/I - app_name : com.android.systemui [+] Printing exposed receivers... [EXP] Implicit export by intent-filter! .BootReceiver Permission: None Enabled: None Exported: None Intent Filter Data: Filter #0: Action=android.intent.action.BOOT_COMPLETED [PROTECTED]
Reopening to add a way to show all protected broadcasts.
Affected module(s): sysappdb Affected libraries: AppDb
Knowing which protected broadcasts have been added by the OEMs will be useful in determining if receivers are actually exposed.