MPStudio Setup

Most of it was mainly copied over from SysUI Studio setup with the following minor improvements:
- Added a template `.desktop` file and a function to `studiow` script to generate and install a localised desktop entry as part of each AS update so that the user can launch it like a regular app from gnome app menu.
- Implemented a way to declare a sourceSet with filtered sources to allow for using some, but not all of the sources from dependant modules. It's implemented via symlink so any changes in the filtered view reflects on the originating file.
- Added missing buildSrc plugins as a precompiled script plugins for cleaner application that matches external plugin application.
- Added missing dependencies to `libs.versions.toml` to clean up the declarations.

Test: N/A

Change-Id: Ifa9c8b64b1c9eb7d1fca6f5c6b51d9292c2dcf00
103 files changed
tree: 990de3033911ccfb769fd8adc516e1a8792f69ba
  1. .idea/
  2. aconfig/
  3. proto/
  4. res/
  5. src/
  6. studio-dev/
  7. tests/
  8. tools/
  9. Android.bp
  10. AndroidManifest.xml
  11. OWNERS
  12. PREUPLOAD.cfg
  13. proguard.flags
  14. README.md
  15. TEST_MAPPING
README.md

Managed Provisioning

Bundled app responsible for provisioning an enterprise device

Flows

QR

{
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME": "com.afwsamples.testdpc/com.afwsamples.testdpc.DeviceAdminReceiver",
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION": "https://testdpc-latest-apk.appspot.com/preview",
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM": "gJD2YwtOiWJHkSMkkIfLRlj-quNqG1fb6v100QmzM9w="
}

Code

AS Setup

aidegen -n -i=s -p=/opt/android-studio-with-blaze-canary \
    packages/apps/ManagedProvisioning \
    frameworks/base \
    cts \
    vendor/xts \
    packages/apps/Settings \
    vendor/unbundled_google/packages/SettingsGoogle \
    external/connectedappssdk \
    packages/services/Car/packages/CarManagedProvisioning \
    vendor/google/apps/SetupWizardOverlay/PixelSetupWizard

References