diff options
author | Glenn Kasten <gkasten@google.com> | 2013-08-19 08:40:07 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-11-04 15:48:55 -0800 |
commit | 93e471f620454f7de73d190521568b1e25879767 (patch) | |
tree | 42b6c50f27f85233ba0967619ce8a6eeebe11f3f /services/audioflinger/Threads.h | |
parent | d21952fe5bc94f7bb6ee729f806c0e641fdb1a0d (diff) | |
download | frameworks_av-93e471f620454f7de73d190521568b1e25879767.zip frameworks_av-93e471f620454f7de73d190521568b1e25879767.tar.gz frameworks_av-93e471f620454f7de73d190521568b1e25879767.tar.bz2 |
Rename standby methods
ThreadBase::standby() returns the value of mStandby.
RecordThread::standby() "overrode" ThreadBase::standby(), but with a
different meaning and no return value. This meant you couldn't
access the parent's class definition within RecordThread.
This could be confusing, so this CL renames RecordThread::standby()
to standbyIfNotAlreadyInStandby().
Change-Id: I9196ee12701dd2dccdfaed922af2d7b8e8774676
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r-- | services/audioflinger/Threads.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h index 8a859f5..cbc3827 100644 --- a/services/audioflinger/Threads.h +++ b/services/audioflinger/Threads.h @@ -931,7 +931,7 @@ private: void clearSyncStartEvent(); // Enter standby if not already in standby, and set mStandby flag - void standby(); + void standbyIfNotAlreadyInStandby(); // Call the HAL standby method unconditionally, and don't change mStandby flag void inputStandBy(); |