Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a54b7ad authored by Matthew Xie's avatar Matthew Xie Committed by Android Git Automerger
Browse files

am c61c57bd: am 8044f126: am e013ce51: am 4f6a7c9c: Merge "Save alias in...

am c61c57bd: am 8044f126: am e013ce51: am 4f6a7c9c: Merge "Save alias in RemoteDevice property before passing it to native layer" into lmp-dev

* commit 'c61c57bd':
  Save alias in RemoteDevice property before passing it to native layer
parents 578f2ddd c61c57bd
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -190,6 +190,7 @@ final class RemoteDevices {
         */
         */
        void setAlias(String mAlias) {
        void setAlias(String mAlias) {
            synchronized (mObject) {
            synchronized (mObject) {
                this.mAlias = mAlias;
                mAdapterService.setDevicePropertyNative(mAddress,
                mAdapterService.setDevicePropertyNative(mAddress,
                    AbstractionLayer.BT_PROPERTY_REMOTE_FRIENDLY_NAME, mAlias.getBytes());
                    AbstractionLayer.BT_PROPERTY_REMOTE_FRIENDLY_NAME, mAlias.getBytes());
            }
            }