Skip to content
Snippets Groups Projects
  1. Oct 28, 2020
    • Joshua Blanchard's avatar
      beckham: Patch ModService to allow INTERACT_ACROSS_USERS_FULL · 9055443f
      Joshua Blanchard authored
      * com.motorola.permission.INTERACT_ACROSS_USERS_FULL ->
        android.permission.INTERACT_ACROSS_USERS_FULL
      
      * This CL fixes ModService crash due to not being able to
        register as a user app. After this, ModService successfully
        registers and no crashes are observed in logs.
      
      Change-Id: Ie3bdcc1c7094513b6962c85ce2972aed5879a852
      9055443f
    • Joshua Blanchard's avatar
      beckham: Give audiohal access to prox and spkr calibration data · d645584a
      Joshua Blanchard authored
      * Speaker (and receiver) calibration files are located on persist
        partition. Grant audio permission to find and read these files.
      
      * Moto's libspeakerbundle needs access to the proximity sensor,
        so allow it to find sensorservice so MotSpeakerHelperProximity
        can instantiate SensorManager.
      
      Change-Id: I888a424fc1c42dea0f130adfc74e02e47927e2b8
      d645584a
  2. Oct 26, 2020
    • Bruno Martins's avatar
      beckham: overlay: Beautify rounded corners · 82aa6375
      Bruno Martins authored and Joshua Blanchard's avatar Joshua Blanchard committed
      
      * Adapted for Beckham.
      
      Change-Id: Ifb3ff156eca7a02daec82138aee449b121c071eb
      Signed-off-by: default avatarJoshua Blanchard <joshua.lee.bbg@gmail.com>
      82aa6375
    • Michael Gernoth's avatar
      beckham: Exclude Lineage Camera app · 6475d0ad
      Michael Gernoth authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * We use our moto Camera app.
      
      EDIT: This way allows us a little more flexability and
      doesn't require decommonizing the package for all devices.
      
      Change-Id: I5345fc03f45844bb10d629f100720e39fbbdf9ee
      6475d0ad
    • Joshua Blanchard's avatar
      beckham: Enable support for prebuilt audiohal · c7a54c01
      Joshua Blanchard authored
      * Setting the flag excludes building the audiohal so we
        don't still end up with the arm64 variant source built
        blob at /vendor/lib64/hw/ being stock only includes arm
        version of the hal, which when shipping the prebuilt blobs,
        are the only variants overridden.
      
      Change-Id: I66c2216e11eec39afdbde488a153fc351e691ea9
      c7a54c01
    • Joshua Blanchard's avatar
      beckham: sepolicy: Allow ModService to set usb priority · b7ecbc8a
      Joshua Blanchard authored
      Change-Id: I258bd9279f0fd770e0e6339a4732e1d413b88619
      b7ecbc8a
    • Joshua Blanchard's avatar
      beckham: Update sepolicy for MotoMods · 376ac5f0
      Joshua Blanchard authored
      
      * Make policy less generic and more specific to what we are
        defining. Move ModService to mods_app and define the attribute
        in public policy so it can be properly used across system
        vendor split within private and vendor policies.
      
      * Address mods_camd denials observed in logs
      
      * Add seinfo for ModService app
      
      * Allow ModService to read ro.boot.secure_hardware property
      
      Change-Id: I1bffe7e7b1ceb54bd91ce3f8b982cf94d9afe2ab
      Signed-off-by: default avatarJoshua Blanchard <joshua.lee.bbg@gmail.com>
      376ac5f0
    • Erfan Abdi's avatar
      beckham: Disable mods_camd · df59d754
      Erfan Abdi authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * mods_camd is for camera mod and camera mod is broken due to missing framework
        changes and we probably can never get it working on lineage anyway
      * This change also fixes camera focus
      
      Change-Id: I1051e94f9ef8eee5ce916bb18a2e3d2996935f5a
      df59d754
    • LuK1337's avatar
      beckham: Patch prebuilt P blobs to load libprocessgroup · e7488488
      LuK1337 authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * The symbol `set_sched_policy` users moved from libcutils
        to libprocessgroup, so change out the dependency.
      * Pin the patched HAL, leave patching logic for when we want
        to update it.
      
      Change-Id: I0151324ec561e2c8c1bcd12fb87254de0d92706a
      e7488488
    • Nolen Johnson's avatar
      beckham: Include MotoSignatureApp · 04923d61
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Needed for MotCamera2 to update via the Play Store.
      * Also exclude from dex-opt'ing on host, as this app
        is known not to like that (see: shamu, clark).
      
      Change-Id: Ibf2aafd731783fdae63b228460753457296de47c
      04923d61
    • Nolen Johnson's avatar
      beckham: Mark MotCamera2 as presigned · ad98c738
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      Change-Id: Ifa4501b9dc14326ce73df1b106a9a0dcd5f9b5f6
      ad98c738
    • Nolen Johnson's avatar
      beckham: Add Moto Camera 2 & priv-app permissions · eaf88dec
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Snap APIv2 doesn't support our Aux Cam, or Camera
        Mods (considering they are removable and need special
        HAL handling for flash, internal Camera/USB disabling,
        etc.
      
      * Snap APIv1 doesn't like our front-flash, or video
        recording audio (likely fixable). As well as the
        aforementioned lack of Camera Mod support.
      
      * Mata ships Klik to support an external Camera "mod"
        and sets precedent for shipping OEM Cameras, so we're
        just going to go ahead and do it.
      
      Change-Id: I7d5001e7f743cdb9aaeb70c032a19cc008209135
      eaf88dec
    • Nolen Johnson's avatar
      beckham: audio: Kill mot_speaker_effect · 7c19d900
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Revives some A2DP use cases (eg. SBC, aptX).
      * I intend to fix this effect at some point,
        though it will require more time.
      * This, comically, fixed Moto's EQ service choking
        in the background, and makes audio from Audio Mods
        sound, like, 100% better, more bass, etc.
      * TODO: Limit Speaker Mod volume, cause over ~70% sounds
        crackly.
      
      Change-Id: I56ca79c9a1fe47b9da812ee2f8b09c4648391005
      7c19d900
    • seeburger's avatar
      beckham: Initial support for audio Moto Mods · fcbf2bc1
      seeburger authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Added proprietary files.
       * Prebuilt Audio HAL & dependencies.
      * Adjusted SELinux policy to allow the audioserver to access greybus files.
      * Disable AudioFX - Audio Mods/Our Prebuilt HAL DO NOT like this, it's
        EQService directly conflicts with the Motorola one we need to get Audio
       * TODO: Potentially add support to AudioFX for the Moto EQ service if
         possible.
      * Update audio_effects.xml from stock.
      
      Change-Id: I17f38dce866fdc2db9ee23922fc43d402fce45a9
      fcbf2bc1
    • Erfan Abdi's avatar
      beckham: Add moto audio mods helper effect · 250aec62
      Erfan Abdi authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * MMI effects wrapper is also needed.
      " Add moto EQ HAL to manifest.
      
      Change-Id: Id2031156c20cfb9e6f3f0036b0792e9272b6aa7e
      250aec62
    • Erfan Abdi's avatar
      beckham: Patch ModFmwkProxy to fix boot crash · c9712bfb
      Erfan Abdi authored and Joshua Blanchard's avatar Joshua Blanchard committed
      Change-Id: Icafa6a565991f87c66ec69c4af59be21be75235a
      c9712bfb
  3. Oct 25, 2020
Loading