Giter Club home page Giter Club logo

frameworks_base's People

Contributors

adamp avatar adrianroos avatar alanv avatar android-build-merge-worker-robot avatar asolovay avatar chriscraik avatar ddougherty avatar deepanshu- avatar dsandler avatar jmtrivi avatar joefernandez avatar jreck avatar jsharkey avatar kchyn3 avatar lcolitti avatar moltmann avatar monkopedia avatar mpietal79 avatar narayank avatar nfuller avatar ogunwale avatar pixelflinger avatar reminvg avatar romainguy avatar scottamain avatar sganov avatar sliceslicebaby avatar the-felipeal avatar theandi666 avatar xsjojo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

frameworks_base's Issues

Bad SystemUI/res/values-in/bootleg_strings.xml

[ 0% 38/20764] AAPT2 compile /home/ghostzero0_...ages/SystemUI/res/values-in/bootleg_strings.xml
FAILED: /home/ghostzero0_r2/Bootleggers/out/target/product/z3c/obj/APPS/SystemUI_intermediates/flat-res/frameworks/base/packages/SystemUI/res/values-in_bootleg_strings.arsc.flat
/bin/bash -c "/home/ghostzero0_r2/Bootleggers/out/host/linux-x86/bin/aapt2 compile -o /home/ghostzero0_r2/Bootleggers/out/target/product/z3c/obj/APPS/SystemUI_intermediates/flat-res/frameworks/base/packages/SystemUI/res/ --pseudo-localize --legacy frameworks/base/packages/SystemUI/res/values-in/bootleg_strings.xml"
frameworks/base/packages/SystemUI/res/values-in/bootleg_strings.xml:0: error: xml parser error: not well-formed (invalid token).
Brunch is oreo.1

lock screen blackout

after opening the lock its just showing black screen and device is again getting locked

Bad SystemUI/res/values-hi/bootleg_strings.xml

[ 0% 12/20768] AAPT2 compile /home/ghostzero0_...ages/SystemUI/res/values-hi/bootleg_strings.xml
FAILED: /home/ghostzero0_r2/Bootleggers/out/target/product/z3c/obj/APPS/SystemUI_intermediates/flat-res/frameworks/base/packages/SystemUI/res/values-hi_bootleg_strings.arsc.flat
/bin/bash -c "/home/ghostzero0_r2/Bootleggers/out/host/linux-x86/bin/aapt2 compile -o /home/ghostzero0_r2/Bootleggers/out/target/product/z3c/obj/APPS/SystemUI_intermediates/flat-res/frameworks/base/packages/SystemUI/res/ --pseudo-localize --legacy frameworks/base/packages/SystemUI/res/values-hi/bootleg_strings.xml"
frameworks/base/packages/SystemUI/res/values-hi/bootleg_strings.xml:0: error: xml parser error: not well-formed (invalid token).

Brunch is oreo.1

Fix: Headset Controls Not Working

The Problem: The Volume Up and Volume Down Keys of my Headset; Xiaomi Earphone Mi Hybrid Pro HD 2, did not work on my Redmi 5 Plus build.

Using KeyTest App, I identified that the keys were not mapped to any function.

How to fix;

In /system/usr/keylayout/Generic.kl

Change:

key 257   BUTTON_2
key 258   BUTTON_3

To

#key 257   BUTTON_2
#key 258   BUTTON_3
key 257   VOLUME_UP
key 258   VOLUME_DOWN

Save and reboot.

Should work here after.

Fail to screenshot in Settings app when using certain languages

Whenever I try taking a screenshot anywhere using certain rarely used languages (such as Outlying Islands or Virgin Islands English) in the Settings app I get a notification "Can't save screenshot due to limited storage space" which is 100% not true and I can take screenshots successfully on all my other apps.

This was an issue I faced on Ezio's ABC ROM in the past. The following is the log from ABC, but I assure you the same problem is happening here. Bootleggers is using Ezio's screenshot commits.

[ 06-06 10:32:49.875 20458:22195 E/SaveImageInBackgroundTask ]
unable to save screenshot
java.io.FileNotFoundException: /storage/emulated/0/Pictures/Screenshots/Screenshot_‎â€�‎‎‎‎‎â€�‎â€�â€�â€�‎ ‎‎‎‎â€�‎‎â€�‎‎‎â€�‎â€�â€�â€�†�‎â€�â€�‎â€�â€�‎â€�‎‎â€�‎‎â€�‎‎⠀Žâ€�‎‎â€�‎‎â€�‎‎‎â€�‎‎‎â€�â€� ‎â€�‎â€�‎‎‎â€�‎‎â€�â€�‎‎â€�â€�†�‎‎‎‎â€�â€�â€�â€�‎‎‎â€�‎‎Setting s‎â€�‎‎â€�‎_20180606-103249.png (File name too long)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.jav a:287)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:223)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:110)
at com.android.systemui.screenshot.SaveImageInBackgro undTask.doInBackground(GlobalScreenshot.java:280)
at com.android.systemui.screenshot.SaveImageInBackgro undTask.doInBackground(GlobalScreenshot.java:257)
at android.os.AsyncTask$2.call(AsyncTask.java:333)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTas k.java:245)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)

Ezio fixed it in this commit. ezio84/abc_frameworks_base@54ea662
Please take a look and maybe you can adapt it for Bootleggers? I know I can use US English or UK English to avoid this problem, but that doesn't mean this shouldn't be fixed right? :p

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.