Commit Graph

7 Commits

Author SHA1 Message Date
TreeHugger Robot
39a498066f Merge "Add mechanism to send assist data to a IntelligenceService" 2018-11-20 22:55:57 +00:00
Winson Chung
fbbb158da6 Add mechanism to send assist data to a IntelligenceService
- Proxy requested assist data from swipe up through the the
  IntelligenceServiceManager to AiAi for each activity that we receive
  assist data for (the AssistDataReceiver to be removed later once AiAi
  implements the new IntelligenceService interface).

Bug: 117268952
Test: Build dummy intelligence service, ensure that we get capture event
      on swipe up.

Change-Id: Iec29792932d30e94a702bd5079711c6615d0738a
2018-11-20 10:08:59 -08:00
Felipe Leme
e20bf9f5cc Improved generics on AbstractMasterSystemService / AbstractPerUserSystemService.
Bug: 117779333
Test: atest CtsAutoFillServiceTestCases

Change-Id: I777fbe44aa395372eba3c97a1c18c2de4c771dd4
2018-11-19 11:15:48 -08:00
Felipe Leme
7ed7b2ccc9 Added MasterSystemService.onServiceRemoved() and some other nit fixes...
Test: CtsAutoFillServiceTestCases
Bug: 117779333

Change-Id: If5579b7aef991f34148fde48c35122e194d621d9
2018-11-14 22:05:11 -08:00
Felipe Leme
8e2e341b28 Fixed Content Capture workflow when service is disabled.
Bug: 111276913
Test: manual verification

Change-Id: If53eeae88ff6ca6140c90d51ff91436950f05ead
2018-11-14 19:59:28 -08:00
Felipe Leme
927fbf0f27 Allow Intelligence Service app to obtain Clipboard permission.
Test: manual verification

Bug: 111276913
Fixes: 119440304

Change-Id: I8dc97e4517367eaf8736741ce04040efaeb84355
2018-11-14 14:32:46 -08:00
Felipe Leme
b2624f4ef7 Fixes Intelligence Service location
Test: m -j framework services && adb remount && adb shell stop && \
      adb sync system && adb shell start
Bug: 111276913

Change-Id: Ia226d3559b464f2351c9e8a785fc9edbbee53a9b
2018-11-13 12:57:47 -08:00