Reduce logging.

Remember, the system and main logs are
    - Shared resources
    - Primarily for recording problems
    - To be used only for large grained events during normal operation

Bug: 3104855
Change-Id: I136fbd101917dcbc8ebc3f96f276426b48bde7b7
This commit is contained in:
Joe Onorato
2010-10-18 19:13:23 -04:00
parent 1858031946
commit 431bb22695
15 changed files with 76 additions and 67 deletions

View File

@@ -54,7 +54,7 @@ import java.util.Map;
public class StatusBarManagerService extends IStatusBarService.Stub
{
static final String TAG = "StatusBarManagerService";
static final boolean SPEW = true;
static final boolean SPEW = false;
final Context mContext;
Handler mHandler = new Handler();
@@ -154,7 +154,6 @@ public class StatusBarManagerService extends IStatusBarService.Stub
synchronized (mDisableRecords) {
manageDisableListLocked(what, token, pkg);
final int net = gatherDisableActionsLocked();
Slog.d(TAG, "disable... net=0x" + Integer.toHexString(net));
if (net != mDisabled) {
mDisabled = net;
mHandler.post(new Runnable() {