Merge "Add isEnabled to AttentionDetector dumpsys" into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d0b0d47f79
@@ -375,7 +375,7 @@ public class AttentionManagerService extends SystemService {
|
||||
|
||||
private void dumpInternal(IndentingPrintWriter ipw) {
|
||||
ipw.println("Attention Manager Service (dumpsys attention) state:\n");
|
||||
|
||||
ipw.println("isServiceEnabled=" + isServiceEnabled());
|
||||
ipw.println("AttentionServicePackageName=" + getServiceConfigPackage(mContext));
|
||||
ipw.println("Resolved component:");
|
||||
if (mComponentName != null) {
|
||||
|
||||
@@ -298,6 +298,7 @@ public class AttentionDetector {
|
||||
|
||||
public void dump(PrintWriter pw) {
|
||||
pw.println("AttentionDetector:");
|
||||
pw.println(" mIsSettingEnabled=" + mIsSettingEnabled);
|
||||
pw.println(" mMaximumExtensionMillis=" + mMaximumExtensionMillis);
|
||||
pw.println(" mMaxAttentionApiTimeoutMillis=" + mMaxAttentionApiTimeoutMillis);
|
||||
pw.println(" mLastUserActivityTime(excludingAttention)=" + mLastUserActivityTime);
|
||||
|
||||
Reference in New Issue
Block a user