Ensure adb runs as root in the host test

The adb shell command to enable the boot-completed receiver fails unless adb is running as root (a SecurityException is thrown). As a result, the boot-completed receiver remains disabled, and thus the test fails. Fixing it by enabling adb root.

Bug: 297726328
Test: atest CtsExtServicesHostTests-tplus
Change-Id: I03031614903cdad8e2aa4c004fc14ace707e437e
1 file changed
tree: d4d43f5eb32af6fa0a170da978eb322a5e5f804a
  1. apex/
  2. java/
  3. jni/
  4. native/
  5. .clang-format
  6. Android.bp
  7. AndroidManifest.xml
  8. EmptyManifest.xml
  9. jarjar-rules.txt
  10. NOTICE
  11. OWNERS
  12. PREUPLOAD.cfg
  13. proguard.proguard
  14. README.md
  15. TEST_MAPPING
README.md

ExtServices module

Introduction

ExtServices is an updatable Mainline module that contains the logic used by Android framework components such as storage cache, autofill, textclassifier, package watchdog, notifications and notification ranking that runs continually. These are algorithms for framework, making the module updatable to introduce the new features or bug fixes more frequently with monthly release than a platform quarter release cycle.

Development (internal)

Before you start to develop on ExtServices, please read go/smart-os-extservices to get the guideline.

Other resources