This is the only place in Assistant.java where mkeyToImpressions is not
synchronized
Fixes: 131199823
Test: make, atest ExtServicesUnitTests
Change-Id: I9abc8090d0423761dee9882c3f3459677738a848
See build/soong/README.md for more information.
Bug: 122332340
Test: built and flashed on a Pixel device + TreeHugger
Change-Id: Ib239d928fa37ee8286a232b2798d02262e874cbc
Calling getTextClassifier() make sure we use the latest set of flags.
This is important as NAS has a very long lifetime.
Test: atest SmartActionsHelperTest
BUG: 131904289
Change-Id: I48e843c074db2e48ffa8187a395ee6d953940654
Drop heavy objects that aren't needed for processing
Test: atest, hprof after change
Fixes: 130434362
Change-Id: I95cd6431736502b36c3aba7a2fe516253e574764
(cherry picked from commit b5f5359916)
Drop heavy objects that aren't needed for processing
Test: atest, hprof after change
Fixes: 130434362
Change-Id: I95cd6431736502b36c3aba7a2fe516253e574764
Merged-In: I95cd6431736502b36c3aba7a2fe516253e574764
The Beta 3 builds (which are in dogfood an public beta) will receive modules via the Play Store with version numbers 210000000. Hence, we must bump the version in qt-dev and hence beta 4.
BUG: 131240537
Change-Id: I4f09986002f660896dbc1f8a0482c16b4a554d1e
This reverts commit 75a7e2f9e9.
Reason for revert: Turns out this wipes out data we need :(
Change-Id: Id1d79dec17639440eae55e41fb4e91f0d9e6162c
Fixes: 131290765
No need to keep bitmaps et al when we aren't using them
Test: hprof before and after change
Fixes: 130434362
Change-Id: Iabe0ee3e8f80dfb165bacfb118a31218c9e58847
As per the suggestion from API council, we now have a subclass for event
of each category.
Bug: 129344540
Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/
Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/
Test: atest frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/SmartActionsHelperTest.java
Change-Id: Ic43b33c2176447c40e64bd0e410e906d5fb9c4cc
Without this adjustment, we can't calculate accurate quality metrics for
the NotificationCategorizer.
Test: make, manual
Fixes: 130415410
Change-Id: I12fb792b487e470d333c88032951ea4b47a2554b
With the change in I4f13638598037acaeb30d61c8d5178f45882fcba
to separate the PackageWatchdog package expiry deadline from the explicit
health check deadline. It would be cleaner for ExtServices to supply
this deadline per-package. We now do that as a field in
PackageInfo.
Bug: 120598832
Test: Builds
Change-Id: I29e2d619a5296716c29893ab3aa2f35f69bfb4d7
Update version number to 0210000000. The Beta 2 builds (which are in dogfood an public beta) will receive modules via the Play Store with version numbers 0200000000. Hence, we must bump the version in qt-dev and hence beta 3. This is so that prebuilts in the beta 3 OTA will be higher than any Play Store pushes on beta 2. We are bumping it by 10000000 so that we have name space to do intermediate cherrypick builds if needed.
Bug: 129977903
Change-Id: Ibacb2a5a232e1d4491d14e89404c99d50fe314ae
If658567ca41bb0328e279735897fc50ab76abc11 added the
ExplicitHealthCheckService API to allow ExtServices to request explicit
health checks for packages and report to the PackageWatchdog.
We now implement this service and add a rudimentary NetworkChecker
that relies on listening to the ConnectivityManager for validated
network requests.
Bug: 120598832
Test: Manually tested that after an APEX update, the network stack
does not pass the explicit health check until WiFi is connected
successfully. If Wi-Fi is never connected and the network stack
monitoring duration is exceeded, the update is rolled back.
Change-Id: Ifa968b4c7107cabedf186dffbc5eb771a3840e7f
1. Implemented CopyCodeActivity to copy the text from the incoming intent
2. Support ConversationAction of type == "copy"
Test: 1. atest SmartActionsHelperTest
2. Send myself a message "Authentication code: 12345", observe
the copy action. Tap on it, observe a toast and verify that
the code is copied
BUG: 126193140
Change-Id: I73ac3b36413fd5f632951b48910c557a22b20c52