History log of /frameworks/base/services/core/java/com/android/server/location/ActivityRecognitionProxy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
66f761c526eff2cb6115379f9b2439fe2b48d4a2 14-Nov-2017 Lifu Tang <lifu@google.com> Use callback to run binder service to avoid race

The binder interface should always be managed by ServiceWatcher, and
shouldn't be exposed to the caller. Otherwise the caller could cache an
unbound service, and could cause system crash.

Bug: 69008332
Test: build and manual test
Change-Id: I70d1fe0bace7b0fb1c3844c2c9113b1fcf95f784
/frameworks/base/services/core/java/com/android/server/location/ActivityRecognitionProxy.java
3b152d95048610b77b5b53a643425a3da8141b56 28-Jul-2015 destradaa <destradaa@google.com> Fix NPE in AR hardware binding sequence.
b/22772433

To keep the old Watcher binding sequence backwards compatible,
it is required to ensure that the callback is only invoked if
the feature is supported by the platform, and an instance is
available.

Change-Id: I0a6335f10647184abdad3ee1583b505160a3308f
/frameworks/base/services/core/java/com/android/server/location/ActivityRecognitionProxy.java
6e2fe75624c069bd374da65dc9d6d9ba84b4b5ba 24-Jun-2015 destradaa <destradaa@google.com> Add callback-based support for Hardware Activity Recognition.
b/17112184

Add a callback-based mechanism for GmsCore to connect to Hardware Activity
Recognition. This allows GmsCore to stop polling to identify if the Android
platform supports the functionality or not.

Change-Id: I8f9459cbd15eecd70f6919c6551e6f7a663c732f
/frameworks/base/services/core/java/com/android/server/location/ActivityRecognitionProxy.java
3b0224dc3c2e7ffb93dc56970395003d0e387545 16-Jul-2014 destradaa <destradaa@google.com> Fix exceptions in ActivityRecognition platform stack.

b/16348349

Change-Id: I1f85283c86130b86389a1be7da49904658b0558c
/frameworks/base/services/core/java/com/android/server/location/ActivityRecognitionProxy.java
a4fa3b5aa53cf677b623fe346c585cb8a0c1ce26 09-Jul-2014 destradaa <destradaa@google.com> Add support in the platform for Activity Recognition Hardware.

Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead
/frameworks/base/services/core/java/com/android/server/location/ActivityRecognitionProxy.java