yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] C3C076:
I appreciate your input.

However, it's important to mention what both functions actually do.

hasVisibleNotifications:

/**
* Return whether there are any visible items (i.e. items without an error).
*/
public boolean hasVisibleItems() {
for (Entry e : mEntries) {
if (e.expanded != null) { // the view successfully inflated
return true;
}
}
return false;
}

It tests whether there's ANY notification, regardless if it's clearable or not.

hasClearableNotifications:

/**
* Return whether there are any clearable items (that aren't errors).
*/
public boolean hasClearableItems() {
for (Entry e : mEntries) {
if (e.expanded != null) { // the view successfully inflated
if (e.notification.isClearable()) {
return true;
}
}
}
return false;
}

When hasVisibleNotifications returns false (no notifications at all) it makes no sense to test

whether there are clearable ones.

Thus smart mode 3 == smart mode 1

If smart mode 3 was intended to always switch to QS regardless whether there are ANY notifications (clearable or non-clearable or none) it's enough to test: if (smartMode == 3) { .... }
[Nexus 5 Original Android Development] danarama:
OK but you said there is no difference between mode 1 and 3 when there is.

Edit maybe the menu is in a different order...

Here is how i see it...

Is this not the case? I think if 2 on my screenshot is actually mode 1, then you may be right.

So what is the var for nonclearable?
[Nexus 5 Original Android Development] Jonnyredcorn:
For some reason I cannot get Google Search to let me use "Ok Google" from any screen using Slim GAPPS mini. This is the first time I've used slim gapps mini, I usually used Bankks gapps but I wanted the multi dpi playstore. Is it possible for me to put the multidpi playstore into the bankks gapps package?

What I want is to have the ability to use "Ok Google" from any screen, and have multi-dpi play store. I do not use TRDS.
[Nexus 5 Original Android Development] C3C076:
Actually, I believe there isn't. Since hasClearableItems is just an extended version of hasVisibleItems.

(!hasVisibleItems && !hasClearableItems) == !hasClearableItems
[Nexus 5 Original Android Development] danarama:
See previous edit maybe that explains the confusion on my part?
[Nexus 5 Original Android Development] MadnessG:
Sorry, I forgot to add that. When I tried to set a different launcher, the Nova Settings would reset and go back to the main menu. I'm still unable to change it. Tried numerous times. It will simply freeze and go back to the main menu of Nova Settings. :(
[Nexus 5 Original Android Development] C3C076:
To be honest I'm not sure I understand those options. Here's how mine look like. Sorry, I have to go. Maybe finish our discussion later.
[Nexus 5 Original Android Development] danarama:
Sure... That's how slim used to be.

But basically on my screen shot, just add the words "when there are..." Before each option :)
[Nexus 5 Original Android Development] Phazmos:
About the only other thing I could suggest is to load another launcher that you can set as default (so you have something to fall back to), load Google, then delete nova.
[Nexus 5 Original Android Development] endomatic:
[MENTION=1277872]dankoman[/MENTION]

The Heads Up text color is awesome! Thanks for the great work.
[Nexus 5 Original Android Development] churchrickshaw:
anyone having issues with Xposed and modules not making the changes?

Xposed 2.6.1 installs successfully along with the modules, but when I make changes with those modules, nothing happens. This happened starting with 8.0 update.
[Nexus 5 Original Android Development] damngood98:
working fine on my manta....might sound silly but you are rebooting after installing it?
[Nexus 5 Original Android Development] dankoman:
here's a test build with the latest versions of my heads up color commits. everything's working as it should now, including expanded heads up notifications.

https://s.basketbuild.com/filedl/de...-4.4.4.build.8.1-UNOFFICIAL-20140923-2018.zip

your feedback is appreciated. yes, you :p
[Nexus 5 Original Android Development] Jax Teller:
I'll test tomorrow morning because it's too late now.

Thanks for your hard work.[emoji4]
[Nexus 5 Original Android Development] churchrickshaw:
of course

i even did a clean install of all these modules and xposed. I'll probably do a clean install of the ROM.
[Nexus 5 Original Android Development] chikimonke:
For all [MENTION=1277872]dankoman[/MENTION] 's hard work, the least you could do is stay up late to test for him :laugh:
[Nexus 5 Original Android Development] Jax Teller:
I would, but like you I'm a young father who needs sleep.lol
[Nexus 5 Original Android Development] ezio84:
Testing since this afternoon, it works fine :p

Thanks man!
[Nexus 5 Original Android Development] dankoman:
get some rest. if i had kids, i wouldn't have time for any of this sh*t lol.
[Nexus 5 Original Android Development] pkelly517:
And that, my friends, is the truth.

Software owes its roots to the fatherless :)
[Nexus 5 Original Android Development] chikimonke:
You mean kidless?
[Nexus 5 Original Android Development] danarama:
Haha.
[Nexus 5 Original Android Development] pkelly517:
And just one more note that sometimes you should proofread before you post.

Yes, kidless is more important than fatherless.

Although, the fatherless have yet to submit one damn commit. So I stand by my first post!

:)
[Nexus 5 Original Android Development] vickyjusme:
it's in the same place. settings>security >advanced reboot. you can select the option you want.
[Nexus 5 Original Android Development] SilkyJohnson:
I have a confession to make....

I cheated on you guys tonight ? I didn't enjoy it and I realized it was a bad mistake, so I want to restore that backup with you.

Forgive me? I'll never do it again. It feels so good to be with you again.

Xoxoxo,

Silky
[Nexus 5 Original Android Development] elias99:
good morning.

Can i somehow force heads up notifications in all apps?Thanks.
[Nexus 5 Original Android Development] lightingcloud:
Hi guys!

I'd need some help with quiet hours, if you can. Did something change in last releases? At the beginning it worked almost flawlessly!

I have set them from 23.00 to 11.00 only if the phone is charging. Today at 6 I received some messages on WhatsApp and they woke me up T_T are Quiet Hours not working with whatsapp and Facebook (it happened with Facebook Messenger too)? How should I set them?
[Nexus 5 Original Android Development] indian84:
AFAIK, WhatsApp has a separate way of alerting user, so quiet hours do not work. Not sure about FB messenger.
[Nexus 5 Original Android Development] danarama:
Orphans seem to be more suited to PCB design

---------- Post added at 08:14 AM ---------- Previous post was at 08:14 AM ----------

Once a cheater, always a cheater.
[Nexus 5 Original Android Development] wim69:
Is it possible to disable the long press power menu on lockscreen, so no one can turn the phone off when locked?
[Nexus 5 Original Android Development] yaatzek:
Did you even look there?

Edit: sorry, misread your post. I thought about advanced reboot.
[Nexus 5 Original Android Development] bissa:
I noticed a bug, didn't have it with stable 7 or stock rom.

Sometimes, when I press on the upper top of the screen to show the notification, it will lock the screen like I pressed the left lock button but I didn't press on it.
[Nexus 5 Original Android Development] danarama:
Need of course not. This is an hardware shut down. Besides it is essential if your phone crashes as u can't remove the battery
[Nexus 5 Original Android Development] Darkmasterhk:
xP

not a bug, but a feature "double tap status bar to sleep".
[Nexus 5 Original Android Development] bissa:
oh yes thanks for the info xD
[Nexus 5 Original Android Development] arifqur:
Fatherless or Kidless, it's still pretty funny.

Thanks man. You made my day
[Nexus 5 Original Android Development] wim69:
Let me clarify my question: Short press power button = screen off, fine. Longer press power button brings up power menu. Even longer press power button gives hardware shutdown. The latter is obvious and is not what my question is about.

I would like to have the ability to disable the power menu on the lockscreen. So no reboot or power down choice when locked. In the past I was using a ROM that had this option. Forgot which one (flashaddict...)

Suppose my phone is in the wrong hands, it would take some knowledge of Android for the owner of the wrong hands before he/she is able to turn off the phone. Hence, gives me more possibilities to track it.
[Nexus 5 Original Android Development] danarama:
No you can't.
[Nexus 5 Original Android Development] hooliganx:
[MENTION=2301670]wim69[/MENTION]

if your phone is in wrong hands... it's over! [emoji16]

only discharge device, charge and enter in recovery.

done.

n5sk8.0.robbie09.17artgapps276

codeblue.r376rd1.16v4atwrp2.7.1.0

------------------------------------------------------------------------

doubts about Slim? click here:

http://slimroms.net/index.php/faqandmanual
[Nexus 5 Original Android Development] Jax Teller:
[MENTION=1277872]dankoman[/MENTION] I think everything works fine.

I didn't notice something wrong.:victory:

OT: Did this build also have these commits? Because I thought it was a little bit faster.:confused:

https://gerrit.slimroms.net/#/c/14001/

https://gerrit.slimroms.net/#/c/14002/

https://gerrit.slimroms.net/#/c/14003/

Or maybe it's a placebo and I need to drink a coffee.lol
[Nexus 5 Original Android Development] icomar:
Hello everybody I have some problems with this rom (8.0)

1) phone frequently reboots (several Times in a day), and sometimes it bootloops until I manually reboot with the power button. This is very annoying.

2) sometimes I have to press many Times the power button before i can lock the screen.

Are these common problems? How can i fix these?

Thanks in advance

Inviato dal mio iPad utilizzando Tapatalk
[Nexus 5 Original Android Development] Jax Teller:
No, these are not common problems.

Tell us more about your setup.

Clean flash, dirty flash, custom kernel, kernel settings, xposed etc.
[Nexus 5 Original Android Development] icomar:
I came from cyanogenmod so i did a factory reset via twrp recovery (multirom v28) before flashing slimkat 8.0

Everything stock... Kernel stock

Inviato dal mio iPad utilizzando Tapatalk
[Nexus 5 Original Android Development] JaylanPHNX:
You have to enable for each app individually.

From my Tab Pro 8.4
[Nexus 5 Original Android Development] sherlock5545:
Is there a way to get the holo blue accents back? The grey ones are kind of too dark for my eyes, especially when it's evening and my screen is very dim. There are things I have difficulty seeing, for example the sliders inside the video player, etc.
[Nexus 5 Original Android Development] Jax Teller:
You should wipe cache, dalvik, system & data before flashing SlimKat.

Factory reset is not enough.

Try that and see what happens.

No.

About the app you are using for watching videos, I don't know.
[Nexus 5 Original Android Development] quezpr123:
Yes, you can. Well you can't disable the long press function, but you can change the option. Using the global menu option you can select what you want to show up when you long press the power button. I changed mine to screen shot then back to reboot. It doesn't have to be power/reboot. There MUST be at least ONE option though. So you can eliminate that factor, but if the device ended up in the wrong hands that certainly wouldn't help that much....
[Nexus 5 Original Android Development] danarama:
This doesn't just remove it from the lock screen. This is global, leaving the user without a power option.

Since you can hard power it off anyway, what advantage does disabling power on the lock screen even have, when talking about the wrong hands? None.
[Nexus 5 Original Android Development] doomed151:
This ROM is very good except for one thing. Is there an option to turn off volume button reorienting? I can't seem to find the option anywhere. The current behavior is very inconsistent (would the volume button become the power button when you turn your device to the right?) and is quite a severe issue of user interface inconsistency. I don't think the current behavior should be default.
[Nexus 5 Original Android Development] indian84:
Had a SOD a while back. Was using Franco's Display Setting App, the phone froze after selecting a color profile, the light went off after 30 seconds (that's my screen off time) and had SOD. Had to force reboot.

I am on Stable 8.0 All stock except for DPI, I have set it to 440. Bug Report attached. Can someone look at it and tell me what went wrong?
[Nexus 5 Original Android Development] Laggalot:
yes you can change that... I just dont know where right now ^^

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] quezpr123:
I agree with you that it has absolutely no advantage. And yes, the user wouldn't have a power option. But his question was could it be removed from the lockscreen and it can. It's not pretty, but it can be done. He could look into using the chamber of secrets to implement a different behavior for global on the lockscreen, but that's beyond me.

Whether it's a worth doing it really an easy answer. No, I don't think so. Anyone can Google how to bypass lockscreen using adb, factory resetting from recovery, etc
[Nexus 5 Original Android Development] Phazmos:
This had been covered, but vol rocker is very consistent. That's how volume works - everywhere - on anything.

Left/down = decrease

Right/up = increase

And I just have to ask - what in the world would make you think volume and power would get switched?

That's just not right
[Nexus 5 Original Android Development] swat4samp:
Mate, he's asking about volume rockers reorienting ie, if we use phone in landscape mode, they swap their positions, up as decrease and down as increase. I think there's no option to disable this feature.
[Nexus 5 Original Android Development] doomed151:
IMO, it doesn't work like that. They are actually 2 separate buttons and their behavior should be predictable. Right now, there's no visual indication that shows the buttons have been swapped of their functions. Also, turning the phone sideways doesn't change "down" to "right". Here's what I mean.

Try giving your phone to a friend and tell them to turn down the volume in landscape, guess which button they would press on their first try. Now that they're learned that the upper button decreases the volume, tell them to turn the phone 180 degrees (the other landscape) and then turn down the volume once more. They'd press the wrong button.

However, it's ultimately up to the developers to make the decision and I will respect any that they make. Just writing down my opinion. Google/LG have already done it right, it seems to me that this change was made just for the sake of change.

My proposal for the solution: Revert the behavior back to stock and introduce a toggle for the "reorient volume button" function.
[Nexus 5 Original Android Development] DroidIt!:
Well, if you boil it down, you could really say that about any feature on any ROM on any device depending on how you view things. I've grown used to it though and it makes sense to me. When you reorient to landscape the volume buttons follow the on screen volume slider, so I get their thinking. I think I'd rather have it the way it is as it seems logical if you think about it. I wouldn't necessarily classify it as change for the sake off change though. I've been here quite a while and the slim team puts quite a bit of thought into all the features they do. They don't have THAT much time on their hands. ;)
[Nexus 5 Original Android Development] efan3719:
This has been in place for many months and I don't think their feelings have changed on the topic.

And if it's that much of an annoyance perhaps you can try this:

Overall, imo, slim shouldn't be wasting their time adding a toggle off. Plus that'd open a can of worms regarding those who want an option to revert slim recents back to stock. Some things are just the way it is. That's what makes Slim, Slim. If it's a deal breaker for a user there's plenty of other ROMs to use. Some even based on Slim.

Sorry for the rambling. Haven't had my coffee yet...
[Nexus 5 Original Android Development] ollidiemaus:
Okay guys maybe I'm just blind but where do I activate heads up notifications?
[Nexus 5 Original Android Development] efan3719:
You can either long press a notification, or go to app info and tick the check box for enable heads up
[Nexus 5 Original Android Development] spdrosin:
How can I edit Lockscreen shortcuts guys?

I found it accidentally yesterday, but did not have time to edit them.

Now I just can't find the way. Anyone can help me?
[Nexus 5 Original Android Development] icomar:
OK now I did these wipes... same situation... reboots and display does not lock sometimes... is it possible the problem is multirom recovery? hardware issue? Like my phone cannot afford his 2.3ghz clock and so reboots? I don't know... how would you proceed? Now I try to flash twrp stock (no multirom) and reflash slimkat...
[Nexus 5 Original Android Development] Jax Teller:
After reboot, take a bugreport in SlimCenter and post it here.

Then someone of the SlimTeam devs would help you.

Don't forget to flash multirom uninstaller zip before flashing stock twrp.
[Nexus 5 Original Android Development] Phazmos:
Those familiar with slim know how it works, which follows a universal logic. As mentioned, devs have gone over that and did make a decision, which was to follow what logic would dictate. Just cuz others are used to doing something backwards, doesn't mean everyone should do it backwards.

Oh, there are some custom slim builds with this feature if it's really that important.

Personally,I think it's funny when I give me device to someone and they crank up the volume not knowing how it works here. And once explained, they always go - that makes sense, wonder why others don't do it that way.

Funny how it goes sometimes.
[Nexus 5 Original Android Development] coolek33:
It's under security settings. If you pick slide for screen lock and go to slider targets and shortcuts you can enable/disable 8 targets. If you disable them u can choose shortcuts and 5 targets. Hit + for new shortcut, swipe to remove, drag to set places.
[Nexus 5 Original Android Development] spdrosin:
Finally. Thank you so much.
[Nexus 5 Original Android Development] DigitalUnderground:
Is anyone encrypted? I was thinking about encrypting but wasn't sure if there were any downsides to doing it.
[Nexus 5 Original Android Development] danarama:
Means you're tied into.TWRP recovery. Not sure if adb pull decrypts on the fly with that recovery but I assume so. That said,to me, encryption - there's just too much to go wrong.
[Nexus 5 Original Android Development] XeYex:
Battery drain!

Hi, I'm having a strange battery drain due to a processo called:

com.android.chrome:sandboxed_process2

What type of process is this? I attach 2 screenshots hoping someone can help me...

PS:I'm on official 8.0 stable with 289 full slim apps.
[Nexus 5 Original Android Development] Phazmos:
U use chrome along with incognito for some tabs?
[Nexus 5 Original Android Development] Silentbob999:
Hi guys!

Long time no see. I took few months out of XDA. Out of android word. Also out of MS word after bad result on exam mid-july. I bought a house, that’s a lot of thing to think about and to prepare.

Side note… I came back mostly because once again, at the coming of a new Stable the SlimOTA cause my phone to reboot before notify me of Stable8. I did not took the last_kmsg. Anyone else have that issue? I am not against one reboot per month but if it could be avoid it will be nice. (I was on the first weekly after stable7... now on stable8)

[MENTION=1277872]dankoman[/MENTION] : I don’t know if you remember me offering myself to work on TRLS to white everything.. Well.. I proclaim right now that this is out of my league ;) . Way too hard for me :P and couldn’t afford to take time on this finally (initial result in july was kinda ok/funny but nothing usable.
[MENTION=3087740]Jubakuba[/MENTION] : congrats for your new title

If someone feel like posting a list of link of BestOf post from last few months that will be highly appreciated. I really skip a lot… ;)
[Nexus 5 Original Android Development] efan3719:
About what you missed... Some people asked how to change DPI, why they didn't have root, how to clear all recents, how to get stock recents back, what's the best kernel, and most recently why the volume orientation changes.... [emoji14] [emoji6] [emoji56]
[Nexus 5 Original Android Development] mkcbbusiness:
Can we use cm themes with slimrom, just trying to see if I should buy a theme?
[Nexus 5 Original Android Development] Natakranta:
No.
[Nexus 5 Original Android Development] efan3719:
For future reference there is a link in the OP that leads to some commonly asked questions (yours included) and even a manual that explains many features. [emoji106]
[Nexus 5 Original Android Development] DroidIt!:
What Natakranta said with a caveat. [emoji16] If you use xposed, there's a few themers. I used to Hkthemer and you can use SOME CM themes that way. I'd nand first before applying though, applying themes through HK can introduce buggers or glitches. If on ART then no. There have been some themes floating around in the thread that are flashable's. Haven't tried them myself so I can't comment on functionality. ;)

---------- Post added at 11:47 AM ---------- Previous post was at 11:45 AM ----------

Efan ninja! (pun intended) [emoji14]
[Nexus 5 Original Android Development] Showme1:
There is a nice looking hktheme made by/called Slim hue.
[Nexus 5 Original Android Development] dankoman:
i'll link it just because i happen to have it handy.

http://xdaforums.com/showthread.php?t=2595807

it's made by slim team's own [MENTION=3185139]kroz[/MENTION]
[Nexus 5 Original Android Development] XeYex:
I used incognito mode about 3 days ago...it's strange it is still there...thanks forma the answer :)
[Nexus 5 Original Android Development] Mikulec:
Others are used to do it backwards? By others u mean all manufacturers? :silly:

I use Slim few months and I have never got used to it. I always hit the wrong button. :laugh:
[Nexus 5 Original Android Development] Phazmos:
I do that now if I'm not using slim! I'm so used to it I can't use another rom unless it has an option to switch.

Damn you slim!

---------- Post added at 03:51 PM ---------- Previous post was at 03:48 PM ----------

Thank Google! A quick search got a quick answer.
[Nexus 5 Original Android Development] endomatic:
[MENTION=1277872]dankoman[/MENTION]

Feed back on "Heads Up" text color. Everything seems great with the exception of when two or more notifications within the same app appear as a heads up. In this situation the text for the headers of the notifications within that app are the stock white, not the color of choice (not really a big deal). I will try and get a screenshot for you.

Thanks
[Nexus 5 Original Android Development] endomatic:
[MENTION=1277872]dankoman[/MENTION]

Heads up screenshot

Upon further testing it appears as though it is just the titles (Subject) of the email that remains white. It could be specific to the stock exchange email app.
[Nexus 5 Original Android Development] skidaway:
I've been encrypted on N4 for many months now with no issues. Just make sure to back everything up before you encrypt. I've got TWRP installed, and once you enter the pass, it functions as usual. I've made and restored backups, flashed roms, radios, and kernels. Haven't noticed any performance issues either.

AFAIK, there's no way to reverse the encryption once performed, so flashing a factory image is the only way to get back to square one. Someone correct me if I'm mistaken. That's why I suggest a full backup on your computer beforehand.
[Nexus 5 Original Android Development] jyuuken:
Yup i believe flashing to stock is the only way to remove it
[Nexus 5 Original Android Development] Relaxasaurus:
Did you ever fix your issues?

Having the same things happen after Stable 6.0. Random reboots and finnicky ass power button is acting up. Even after a full data/cache/dalvik wipe :(
[Nexus 5 Original Android Development] peach007:
Deleted