yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] danial.aw:
any way of making this feature stay ... like when the screen times out it goes back to stock lockscreen... it would be great if the activenotifications stayed until all of them are cleared
[Android Software/Hacking General [Developers Only]] azoller1:
I'm probably going to merge this into my jellyz aokp builds for grouper (nexus 7) tonight
[Android Software/Hacking General [Developers Only]] :
Hi, I couldn't cherry pick into AOSPA 3.99-RC2 so, I copy&pasted everything Github activity and I copied only the xhdpi .pngs. Now I run into these errors. Hope you can help me.
[Android Software/Hacking General [Developers Only]] jboyer0000:
I have the same problem as you right now;) but it looks like the xml here packages/apps/Settings/res/xml/system_settings.xml is malformed so you might want to fix it:D
[Android Software/Hacking General [Developers Only]] 0xD34D:
That's indeed the case. The proximity sensor is used to prevent active display from turning on when it's in your pocket. Since it was already being used for this purpose I decided to add the pocket mode which seemed like a natural extension of this feature.
[Android Software/Hacking General [Developers Only]] ScoolAir:
what about option to use as a lockscreen?
[Android Software/Hacking General [Developers Only]] packhex:
Hi

Did someone it add to the source of cm10.2 ?

Thanks
[Android Software/Hacking General [Developers Only]] zoomy942:
This is what I'm thinking.
[Android Software/Hacking General [Developers Only]] kadopt:
[MENTION=1552717]0xD34D[/MENTION]

The proximity sensor is always on even when active display is totally disabled!

It was implemented in cm10.2 v43 by temasek.
[Android Software/Hacking General [Developers Only]] tsukot:
suggestion:

When phone wakes up (pocket mode on), the proximity sensor should be OFF after sensing it is not in the pocket in the first place. ;)
[Android Software/Hacking General [Developers Only]] noobSU:
But is that a fair deal in your opinion? Having proximity sensor always on to prevent Activenotification to be turned off while in pocket? (Regarding battery savings.)

I think there should be an option while proximity sensor should always be turned off (User choice) So the Screen will still be on, no matter while in pocket or not. IMO

Or what [MENTION=3723165]kadopt[/MENTION] said? So we can disable it if we don't wanna use & proximity should be turned off.

[MENTION=4655700]tsukot[/MENTION] +1
[Android Software/Hacking General [Developers Only]] XDAMaxe:
:good: hellz yeah, that I would prefer, too.

Let the user decide - most flexible for all, imho
[Android Software/Hacking General [Developers Only]] tonyp:
The problem is that crappy vendor sensor implementations cause problems here, especially for legacy devices.

My device doesn't go to deep sleep when the sensorlistener is registered - or at least I assume that as the commit prevents my phone from sleeping currently.

I will have to write a workaround which doesn't enable the proximity sensor.

Or even better: enables it when notifications are incoming and disables it again afterwards.

[MENTION=1552717]0xD34D[/MENTION]: But I'm not sure how you want to handle it. As you're writing here, you've been implementing it this way intentionally.

And I'll have another problem with it: My light sensor is kernel controlled, you can access it via a sysfs rather than the SensorManager (it's using CMs dummysensor implementation, which some sony devices are using as well).

So the new sunlight option won't work here as well. *sigh*

Time to get the N5 :D
[Android Software/Hacking General [Developers Only]] montuk:
Nevermind fixed errors
[Android Software/Hacking General [Developers Only]] sfrique:
Very great feature!

Can you add a setting for how long the active display will be on?

Like, when the screen goes on it will be there for 10 ou 20 ou 5 seconds.

I have a small problem, i use patter lockcreen active display works good, but when opening the app from active display i get a little of the app before show the patterns to unlock screen, not a big problem juts not that smooth! Still very good

Thanks!
[Android Software/Hacking General [Developers Only]] vampire36:
[MENTION=1552717]0xD34D[/MENTION] : Can we have a this feature own the android lockscreen...

If you ain't gamer...option to use it as lockscreen rather than only on notifications...
[Android Software/Hacking General [Developers Only]] red de0392:
any chance of this being available for 4.2.2 based roms in future ??
[Android Software/Hacking General [Developers Only]] nerfredux:
I had no idea about Sunlight mode until this afternoon. Genius!

Awesome work by ChamOS team.

If I could make one tiny request, that'd be to allow pressing the Home button while on Active Display screen to enter the lock screen.

I found myself on more than one occasion trying to get to the camera widget but I couldn't because AD was blocking me.

Cheers
[Android Software/Hacking General [Developers Only]] zoomy942:
What is it
[Android Software/Hacking General [Developers Only]] hoppermi:
It inverts in sunlight so it is easier to read
[Android Software/Hacking General [Developers Only]] JesusWazBlack:
I have a suggestion for this, if using this on an OLED display which im pretty sure what this is ment for you should add a feature where the screen is constantly moving every say 30 minutes because if its on, say the whole night... youll have a burn in on any oled display
[Android Software/Hacking General [Developers Only]] Bogeyman13:
It would be great to have integrated the functionality of NoLed app....the notification could stay on untill dismissed by (back) button.

The possibility to remove the display of time could be usefull too.
[Android Software/Hacking General [Developers Only]] qtwrk:
if I may.

Is it possible to add an option for the pocket mode , by using light sensor to detect it if it is in pocket , if not , deactivated the proximity sensor , if so , enable it . although recent update can disable the proximity sensor if the Active Display is disabled. it's not a big issue here , but still , preserve the proximity sensor and reduce battery consumption (even it is very little , but for someone , of course not me , every juice counts)
[Android Software/Hacking General [Developers Only]] jumoog:
Please help me

My Icon's are never in Center .. i dont find the Problem

Screenshot:

https://www.dropbox.com/sc/65bpv8hktb1c49g/zuW6mps9uk

Github:

https://github.com/ProBam/android_frameworks_base
[Android Software/Hacking General [Developers Only]] ludalex07:
Is there a possibility that this feature will be ported in the Cyanogen nightlies?
[Android Software/Hacking General [Developers Only]] qtwrk:
And better yet, disable the proximity sensor when the screen is on.

I think the sensor activation still need to be optimized
[Android Software/Hacking General [Developers Only]] dnargsiefil:
I have Active Display running on my DNA and last night I made a call using my wired headset. It seemed like the phone was running through some kind of cycle, with turning on the screen to show AN that I'm on a call, then the screen went off just to turn on again with the dialer app showing, then off again, back to turning the screen on with Active Notification for the call ... and bouncing between screen off and screen on with AN for the call showing.

This might be an issue with the ROM, just wondering if anyone here tested this already and what the default behavior should be. Thanks

BTW: Love that feature especially the wave of your hand showing the notifications without touching the phone...
[Android Software/Hacking General [Developers Only]] rabaker07:
Brilliant!

Do we know if any branches of CM 10.2 have implemented this? I'd love to try it out and I'm currently running CyanogeMod. I suppose there's a way for me to add these files and recompile, but I really don't know how to do that or where to start...

Zoinks!
[Android Software/Hacking General [Developers Only]] jboyer0000:
I wouldn't hold my breath on cm implementing this
[Android Software/Hacking General [Developers Only]] munchy_cool:
any plans on adding something like if there are no notifications it displays the time.
[Android Software/Hacking General [Developers Only]] desalesouche:
beanstalk...
[Android Software/Hacking General [Developers Only]] demoncamber:
So does anyone have a flashable .zip to add this into any rom? Specifically a 4.1.2 stock Touchwiz uvmc6 t989 rom?
[Android Software/Hacking General [Developers Only]] azoller1:
That would be difficult, ask your cm people for your device to add in this source into their source

Sent From Nexus 7 Aokp Kang XDA App
[Android Software/Hacking General [Developers Only]] ming3r:
Does anyone know of a way to disable some notifications from showing up on here? DynamicNotifications allows for this and I don't need my work emails popping up on the screen every time...
[Android Software/Hacking General [Developers Only]] hoppermi:
You can ignore low priority notifications, such as Google now stuff, but if you don't want email notifications I guess you could turn them off in the email app and just check them when you want.

I'm sure this isn't done being developed. Maybe per-app notification ignoring can come in future.
[Android Software/Hacking General [Developers Only]] pablo0407:
Is there a way to active this on others roms without implement it in the code? like making a xposed module or something like that?
[Android Software/Hacking General [Developers Only]] Tambuyeye:
is this available for captivatemtd????
[Android Software/Hacking General [Developers Only]] 0xD34D:
I don't mess around with xposed so not sure if one can add it using that. As for other ROMs, if you don't have source code to play with you'll need to hack away at some apks and even then it's not going to be pretty.
[Android Software/Hacking General [Developers Only]] ilbarone87:
Anyone knows why i get this error "error: 'cherry-pick' is not possible because you have unmerged files." after adding the first commit and i can't gon on? thank you
[Android Software/Hacking General [Developers Only]] jboyer0000:
You have to commit a cherry pick before you can cherry pick again
[Android Software/Hacking General [Developers Only]] 0xD34D:
I'm going to guess you had some conflicts with the previous commit since cherry-picks usually get committed to your git when they are successfully picked. To see what is conflicting run

git status

Resolve all the conflicts, commit those changes and then proceed with picking the next commit.
[Android Software/Hacking General [Developers Only]] ilbarone87:
thank you. I solved in another way, a little rude but useful. I just copy and paste all the commits needed in the right place, it tooks some hours of work, nothing much, but i did.
[Android Software/Hacking General [Developers Only]] noobSU:
I have just one request from you, Can you add an option (Whenever i wakeup my cell manually by power button or Home button it re-display my notifications? Means Before lockscreen, The active display interface?) I love active display, But i'm not using it yet. Even it is in the ROM i'm using. Because i didn't find pocket mode useful for me. Even if you don't. All is well :)

Kudos to you for your hardwork & bringing up such a nice feature. :good:
[Android Software/Hacking General [Developers Only]] ilbarone87:
How do you fix this error ?

packages/apps/Settings/res/xml/active_display_setting.xml:75: error: No resource identifier found for attribute 'min' in package 'com.android.settings'
packages/apps/Settings/res/xml/active_display_setting.xml:75: error: No resource identifier found for attribute 'unitsLeft' in package 'com.android.settings'
packages/apps/Settings/res/xml/active_display_setting.xml:75: error: No resource identifier found for attribute 'unitsRight' in package 'com.android.settings'
[Android Software/Hacking General [Developers Only]] Shahan_mik3:
I liked active display the day it released but did not use it coz the proximity sensors we're on all the time but when I checked today I was so amazed.

Proximity sensors go off when Display on

Thank you [MENTION=1552717]0xD34D[/MENTION]
[Android Software/Hacking General [Developers Only]] TheGeekHanaz:
Is there a way to make it so when active display is active it completely disables the lockscreen... Even if it's a secondary option for people who don't use passwords and etc... Because when I go to a notification with AD it has a major delay because it has to manually unlock the lockscreen and that's kind of annoying when I want to check a notification real quick
[Android Software/Hacking General [Developers Only]] hoppermi:
Set lock screen security to none
[Android Software/Hacking General [Developers Only]] m4dbra1n:
Hi everyone, I'm having problem with a strange notification that comes up sometimes with a question mark but... It points to nothing, simply.

Is it a AD bug o is it me, maybe some wrong settings?

Thanks in advance :)
[Android Software/Hacking General [Developers Only]] hoppermi:
The always on pocket mode is perfect for me. I keepy phone in my pocket most of the time. When I remove it the first thing I do is turn it on to see notifications or the time. Now it comes on with or without notifications. I have turned off lock screen and just use this now. Thanks for making this feature even better.
[Android Software/Hacking General [Developers Only]] thumm138:
Any chance of getting an option like this so we can always use AD as the lockscreen? AD is one of the most useful and exciting features for me btw so thank you. :good: :fingers-crossed:
[Android Software/Hacking General [Developers Only]] rabaker07:
Just want to point out that AOKP integrated this...

Sweet if you're still on an AMOLED

Sent from my Nexus 5
[Android Software/Hacking General [Developers Only]] kolyan:
Is this in current CM 4.3 builds ?
[Android Software/Hacking General [Developers Only]] dafunky:
Small bug

Hello,

Thank you for this powerful notification app!

How may I report a bug?

I'm using the 4.4 Omni Rom (last nightly) and I have the same bug than this guy who's using a 4.3 :

https://code.google.com/p/pac-man-development/issues/detail?id=118
[Android Software/Hacking General [Developers Only]] 0xD34D:
I suggest you report the bug to the proper bug tracker for the ROM you are using. Active display is working fine on ChameleonOS running 4.4 and I am unable to reproduce this following your reproduction instructions.
[Android Software/Hacking General [Developers Only]] packhex:
Hi

I do not resolve these errors, build to cm11 .

assistance please

thanks

[CODE]frameworks/base/packages/SystemUI/res/layout/glow_pad_view.xml:21: error: Error: No resource found that matches the given name (at 'targetDrawables' with value '@*android:array/lockscreen_targets_unlock_only').
frameworks/base/packages/SystemUI/res/layout/glow_pad_view.xml:21: error: Error: No resource found that matches the given name (at 'targetDescriptions' with value '@*android:array/lockscreen_target_descriptions_unlock_only').
frameworks/base/packages/SystemUI/res/layout/glow_pad_view.xml:21: error: Error: No resource found that matches the given name (at 'directionDescriptions' with value '@*android:array/lockscreen_direction_descriptions').
frameworks/base/packages/SystemUI/res/layout/glow_pad_view.xml:21: error: Error: No resource found that matches the given name (at 'handleDrawable' with value '@*android:drawable/ic_lockscreen_handle').

[/CODE]
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
as always good work!
[Android Software/Hacking General [Developers Only]] packhex:
:eek:
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
sorry about that, thought i quoted the OP :p
[Android Software/Hacking General [Developers Only]] 0xD34D:
Check the second post in this thread. I've updated it with the one commit you need to pick for the 4.4 implementation of Active Display.
[Android Software/Hacking General [Developers Only]] packhex:
Omg.! He would swear that I read it exhaustively. Thank you! And Great work

Thanks!
[Android Software/Hacking General [Developers Only]] Dragn4rce:
Can this be made for xposed framework or as a flashable zip for the Galaxy Nexus??? O.o
[Android Software/Hacking General [Developers Only]] codexc:
i try it 4.4 implementation on CM 11 it is works after some fixes

but my problem now all symbol's not found "ACTIVE_DISPLAY_*" and it is already in class "android.provider.Settings.System"

Like this:

packages/apps/Settings/src/com/android/settings/chameleonos/ActiveDisplaySettings.java:128: cannot find symbol

symbol : variable ACTIVE_DISPLAY_POCKET_MODE

location: class android.provider.Settings.System

Settings.System.ACTIVE_DISPLAY_POCKET_MODE,

^

any suggest ?

kind regards
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
maybe xposed.
[Android Software/Hacking General [Developers Only]] 0xD34D:
I suggest you clean your build using

make clean

or at least run

make clean-framework

and then run your build.
[Android Software/Hacking General [Developers Only]] codexc:
Hi ,

thanks for help

i've added all missing files as your suggest

[detached HEAD a5617dd] add missing for active display

2 files changed, 259 insertions(+), 0 deletions(-)

create mode 100644 res/values/vendor_attrs.xml

create mode 100644 src/com/android/settings/chameleonos/SeekBarPreference.java

compiling now let's see ..

EDIT: mate there too many files required not included in your comment for settings

maybe this one is complete .. https://github.com/OmniKang/android_frameworks_base/commit/b7b15557fb4a4ef944701169c0f306148fd13390
[Android Software/Hacking General [Developers Only]] codexc:
hey ,

here how to add active display to your custom ROM

in attach the files required to add active display into settings

upload all files don't forget to upload "crdroid" folder content to "src/com/android/settings/crdroid" in settings app

to add active display in settings

upload the files in attach:

source : https://github.com/cristianomatos/a...mmit/1416cbfe1a664b55d39b45e2b53e062a94ed1b4c

hoping if can this post help somebody

regards
[Android Software/Hacking General [Developers Only]] AmirAnwar:
How to add this features ? I'm newbie :|
[Android Software/Hacking General [Developers Only]] codexc:
look to my post please
[Android Software/Hacking General [Developers Only]] TecknoFreak:
Good job bro
[Android Software/Hacking General [Developers Only]] codexc:
deleted :P
[Android Software/Hacking General [Developers Only]] codexc:
[MENTION=1552717]0xD34D[/MENTION]

i hope you like this :)

http://xdaforums.com/showthread.php?t=2577571
[Android Software/Hacking General [Developers Only]] 0xD34D:
I would have recommended posting that info in this thread rather than starting an entirely new one and hijacking this one. :silly:
[Android Software/Hacking General [Developers Only]] timothyung:
Same here, searched for 15 minutes non-stop, no solution/possible reason found.

However I think I've found (one of the) reason(s). It appears when the custom ROM feature "battery sound" is enabled, and it plays the sound.

Perhaps this feature create an empty notification which active display cannot properly handle.

Also, another bug report: when lock screen is set to apply after x seconds, and if you unlock the device through active display during the time period when the screen is off but not yet locked, the status bar would not appear unless you open the power menu.
[Android Software/Hacking General [Developers Only]] Neophite31:
to add the active display to a 4.4 rom is just this?

From android_frameworks_base you'll want to pick the following commits [4.4]:

269544e60aa176ba8be7f5a66d0210bec49fa43f

And from Settings you'll want to pick these commits:

0e508d62622c403ab99655a1eb7e14b3fcaa18d8

8ab78d4d79bf124bda5b78dc2bdf9e44df25c2e2
[Android Software/Hacking General [Developers Only]] akellar:
Yah there's quite a bit more needed than is in those 3 commits. Settings.java for one.
[Android Software/Hacking General [Developers Only]] :
I would like to point a bug.

Suppose when the pocket mode is on and I take out the device , its turns on the active display normally but if I put it in my pocket again( proximity sensor gets covered) before the active display times out then taking the device out again will not turn the active display on again.

The active display needs to get timed out before it can be pocketed again and for the whole thing to work again.
[Android Software/Hacking General [Developers Only]] :
after implementing "active display" i'll get this error while compiling:

does anyone know what causes this?
[Android Software/Hacking General [Developers Only]] :
Figured it out myself,,, anyway, ik mis the 'use as lockscreen' option wich ik really like! Will this be in soon or are there no updates?
[Android Software/Hacking General [Developers Only]] hoppermi:
You can set pocket mode to always on, and set lock screen security to none and it will work as lock screen.
[Android Software/Hacking General [Developers Only]] :
So proximitysensor is always on and eat your battery
[Android Software/Hacking General [Developers Only]] 0xD34D:
If you choose to enable that feature then yes there will be some current draw while it is enabled. It will tell you what the amount of current your sensor uses once you enable one of the two pocket mode options. On the Nexus 4 the sensor uses 12.8 mA so while it's on your battery's capacity will drop by 12.8 mAh per hour just from the sensor. In a 24 hour period that is a little more than 300 mAh.
[Android Software/Hacking General [Developers Only]] :
can't you give me the commits with the 'lockscreen function' in it ?

i really like active display and wanna implement it in my rom but do miss the 'lockscreen' function

:good::good:
[Android Software/Hacking General [Developers Only]] 0xD34D:
That functionality is currently only in the application I released. It's not open sourced but I do plan on merging some of the additions I've made to the app to the open source implementation as time permits.
[Android Software/Hacking General [Developers Only]] SpaceCaker:
Would it be poasible to port this to lets say 4.1.2?

i have tried it when it was anounced on the XDA portal.

but i had a lot of errors with missing stuff wich after some researching came later in 4.2+
[Android Software/Hacking General [Developers Only]] jblazea50:
How do I fix the following errors?

frameworks/base/core/res/AndroidManifest.xml:2387: error: Error: No resource found that matches the given name (at 'label' with value '@string/permlab_revokePermissions').
frameworks/base/core/res/AndroidManifest.xml:2387: error: Error: No resource found that matches the given name (at 'description' with value '@string/permdesc_revokePermissions').
frameworks/base/core/res/AndroidManifest.xml:2394: error: Error: No resource found that matches the given name (at 'label' with value '@string/permlab_accessThemeService').
frameworks/base/core/res/AndroidManifest.xml:2394: error: Error: No resource found that matches the given name (at 'description' with value '@string/permdesc_accessThemeService').
make: *** [/home/android/psx-light/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `/home/android/psx-light/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Waiting for unfinished jobs....
[Android Software/Hacking General [Developers Only]] judson75:
Really nice app, I am trying out the ad-supported version right now. I was really excited about the sunlight feature but I don't see it. Is that only available in the paid version? I am happy to donate to such awesome work but just wanted to clarify.

Thanks!
[Android Software/Hacking General [Developers Only]] sbcrumb:
This is a great app. Best option out there if the ROM doesn't have it built in. Couple things I would love to see is quiet time where it won't display the notifications. And custom time to display the notifications before blanking the screen back out.

But all in all great app. Heading to get the pay version now.
[Android Software/Hacking General [Developers Only]] Dhiraj:
Could we, the users of 4.2+ ,expect it ?
[Android Software/Hacking General [Developers Only]] sbcrumb:
Is this app dead?