FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Quirk: disable MMAP on SDM8150 by philburk · Pull Request #1381 · google/oboe · GitHub

Repository navigation

Quirk: disable MMAP on SDM8150 - #1381

Merged
philburk merged 2 commits into
mainfrom
quirk_sm8150_1121
Sep 8, 2021
Merged

philburk merged 2 commits into
mainfrom
quirk_sm8150_1121

Conversation

Copy link
Copy Markdown
Contributor

MMAP not supported before Q.
But some phones tried to use it.

Fixes #1121

MMAP not supported before Q.
But some phones tried to use it.

Fixes #1121
philburk requested review from dturner and robertwu1 August 12, 2021 22:02
Comment thread src/common/QuirksManager.cpp Outdated
mDeviceQuirks = std::make_unique<SamsungDeviceQuirks>();
} else {
mDeviceQuirks = std::make_unique<DeviceQuirks>();
std::string socManufacturer = getPropertyString("ro.soc.manufacturer");

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This code makes it seem that a device will is either a Samsung Device or a Qualcomm device. Would it be possible for devices to have multiple Quirks in the future?

We should worry about this later but I think the next time we add a new Quirk, like let's say for Pixel 4a, we should consider doing some refactor of this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Good Point. We should distinguish more clearly between the Samsung Exynos quirks and the SamsungMobile quirks. They are quite different.

philburk merged commit 5ca07db into main Sep 8, 2021
philburk deleted the quirk_sm8150_1121 branch September 8, 2021 20:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No audio in ZTE NX629J

2 participants


Back | FazBrowse Home | New Git URL