[Samsung Galaxy S 5 Unified Development] talkingmonkeys:
Ok [MENTION=1042140]tdunham[/MENTION] sorry to bother you again man but I noticed what was messing with this mod for me. You need to add this second method to add to the extra post and have them search for this line instead of ".method public hasNavigationBar()Z:" which doesn't exist in 5.0.

In PhoneWindowManager.smali

Add new method above .method public isNavigationBarVisible()Z

So we will be adding both of the below methods which you have posted in this thread above this one.

.method isMusicActive()Z
.locals 3

iget-object v1, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mContext:Landroid/content/Context;

const-string v2, "audio"

invoke-virtual {v1, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

move-result-object v0

check-cast v0, Landroid/media/AudioManager;

if-nez v0, :cond_0

const-string v1, "WindowManager"

const-string v2, "isMusicActive: couldn\'t get AudioManager reference"

invoke-static {v1, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

const/4 v1, 0x0

:goto_0
return v1

:cond_0
invoke-virtual {v0}, Landroid/media/AudioManager;->isLocalOrRemoteMusicActive()Z

move-result v1

goto :goto_0
.end method

.method handleVolumeKey(II)V
.locals 6

const/16 v5, 0x18

const/4 v2, 0x1

const/4 v3, -0x1

invoke-static {}, Lcom/android/internal/policy/impl/PhoneWindowManager;->getAudioService()Landroid/media/IAudioService;

move-result-object v0

if-nez v0, :cond_0

:goto_0
return-void

:cond_0
:try_start_0
iget-object v4, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBroadcastWakeLock:Landroid/os/PowerManager$WakeLock;

invoke-virtual {v4}, Landroid/os/PowerManager$WakeLock;->acquire()V

const/4 v4, 0x3

if-ne p1, v4, :cond_2

if-ne p2, v5, :cond_1

:goto_1
iget-object v3, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mContext:Landroid/content/Context;

invoke-virtual {v3}, Landroid/content/Context;->getOpPackageName()Ljava/lang/String;

move-result-object v3

invoke-interface {v0, p1, v2, v3}, Landroid/media/IAudioService;->adjustLocalOrRemoteStreamVolume(IILjava/lang/String;)V
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0

:goto_2
iget-object v2, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBroadcastWakeLock:Landroid/os/PowerManager$WakeLock;

invoke-virtual {v2}, Landroid/os/PowerManager$WakeLock;->release()V

goto :goto_0

:cond_1
move v2, v3

goto :goto_1

:cond_2
if-ne p2, v5, :cond_3

:goto_3
const/4 v3, 0x0

:try_start_1
iget-object v4, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mContext:Landroid/content/Context;

invoke-virtual {v4}, Landroid/content/Context;->getOpPackageName()Ljava/lang/String;

move-result-object v4

invoke-interface {v0, p1, v2, v3, v4}, Landroid/media/IAudioService;->adjustStreamVolume(IIILjava/lang/String;)V
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0

goto :goto_2

:catch_0
move-exception v1

:try_start_2
const-string v2, "WindowManager"

new-instance v3, Ljava/lang/StringBuilder;

invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

const-string v4, "IAudioService.adjust*StreamVolume() threw RemoteException "

invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v3

invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

move-result-object v3

invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v3

invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0

iget-object v2, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBroadcastWakeLock:Landroid/os/PowerManager$WakeLock;

invoke-virtual {v2}, Landroid/os/PowerManager$WakeLock;->release()V

goto :goto_0

:cond_3
move v2, v3

goto :goto_3

:catchall_0
move-exception v2

iget-object v3, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mBroadcastWakeLock:Landroid/os/PowerManager$WakeLock;

invoke-virtual {v3}, Landroid/os/PowerManager$WakeLock;->release()V

throw v2
.end method