commit | 2e8d5ed7768f905e77780c3d7e8a88d07e5d91b3 | [log] [tgz] |
---|---|---|
author | yinxu <yinxu@google.com> | Thu Mar 15 11:39:15 2018 -0700 |
committer | yinxu <yinxu@google.com> | Thu Mar 15 13:28:05 2018 -0700 |
tree | 37f7892d1aa6ce21e9f580dd0c14116ef72b9fe0 | |
parent | e70b94815ace004578385615e9767add5286590d [diff] |
Use AsyncTask.SERIAL_EXECUTOR as the default executor for scan Because there will be multiple callbacks for each scan and they must be invoked with the same order as they are received by the platform, we should use AsyncTask.SERIAL_EXECUTOR instead of AsyncTask.THREAD_POOL_EXECUTOR as the default executor. Bug:74840070 Test: Unit Test, CTS Test Change-Id: I7333940dad38f7e400a4124486bdb21cea0d5220