Do not check for debuggable / profilable for app tracing.
This is publicly undocumented and surprising behaviour. Bug: 179883548 Change-Id: Iceee54c63dc9f5d61e9dcc76a47e11cc4088ed19
This commit is contained in:
@@ -168,8 +168,10 @@ public final class Trace {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set whether application tracing is allowed for this process. This is intended to be set
|
||||
* once at application start-up time based on whether the application is debuggable.
|
||||
* From Android S, this is no-op.
|
||||
*
|
||||
* Before, set whether application tracing is allowed for this process. This is intended to be
|
||||
* set once at application start-up time based on whether the application is debuggable.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user