Created
July 27, 2018 08:22
-
-
Save markus2120/d1615f796a64e63e634bb185689b6cc4 to your computer and use it in GitHub Desktop.
peregrine-nougat-frameworks-base.patch
This file contains 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
diff --git core/java/com/android/internal/os/RuntimeInit.java core/java/com/android/internal/os/RuntimeInit.java | |
index 4b6e6d8..6f6193a 100644 | |
--- core/java/com/android/internal/os/RuntimeInit.java | |
+++ core/java/com/android/internal/os/RuntimeInit.java | |
@@ -177,7 +177,7 @@ public class RuntimeInit { | |
StringBuilder result = new StringBuilder(64); | |
result.append("Dalvik/"); | |
result.append(System.getProperty("java.vm.version")); // such as 1.1.0 | |
- result.append(" (Linux; U; Android "); | |
+ result.append(" (Linux; U; "); | |
String version = Build.VERSION.RELEASE; // "1.0" or "3.4b5" | |
result.append(version.length() > 0 ? version : "1.0"); | |
diff --git data/sounds/effects/Dock.ogg data/sounds/effects/Dock.ogg | |
index 1462813..52512ac 100644 | |
Binary files data/sounds/effects/Dock.ogg and data/sounds/effects/Dock.ogg differ | |
diff --git data/sounds/effects/Effect_Tick.ogg data/sounds/effects/Effect_Tick.ogg | |
index c899a7d..52512ac 100644 | |
Binary files data/sounds/effects/Effect_Tick.ogg and data/sounds/effects/Effect_Tick.ogg differ | |
diff --git data/sounds/effects/KeypressDelete.ogg data/sounds/effects/KeypressDelete.ogg | |
index 738f6ae..52512ac 100644 | |
Binary files data/sounds/effects/KeypressDelete.ogg and data/sounds/effects/KeypressDelete.ogg differ | |
diff --git data/sounds/effects/KeypressInvalid.ogg data/sounds/effects/KeypressInvalid.ogg | |
index 24935ad..52512ac 100644 | |
Binary files data/sounds/effects/KeypressInvalid.ogg and data/sounds/effects/KeypressInvalid.ogg differ | |
diff --git data/sounds/effects/KeypressReturn.ogg data/sounds/effects/KeypressReturn.ogg | |
index 6c807b0..52512ac 100644 | |
Binary files data/sounds/effects/KeypressReturn.ogg and data/sounds/effects/KeypressReturn.ogg differ | |
diff --git data/sounds/effects/KeypressSpacebar.ogg data/sounds/effects/KeypressSpacebar.ogg | |
index b59c8ce..52512ac 100644 | |
Binary files data/sounds/effects/KeypressSpacebar.ogg and data/sounds/effects/KeypressSpacebar.ogg differ | |
diff --git data/sounds/effects/KeypressStandard.ogg data/sounds/effects/KeypressStandard.ogg | |
index a465cf8..52512ac 100644 | |
Binary files data/sounds/effects/KeypressStandard.ogg and data/sounds/effects/KeypressStandard.ogg differ | |
diff --git data/sounds/effects/Lock.ogg data/sounds/effects/Lock.ogg | |
index e7928e4..52512ac 100644 | |
Binary files data/sounds/effects/Lock.ogg and data/sounds/effects/Lock.ogg differ | |
diff --git data/sounds/effects/LowBattery.ogg data/sounds/effects/LowBattery.ogg | |
index 68eb2c3..52512ac 100644 | |
Binary files data/sounds/effects/LowBattery.ogg and data/sounds/effects/LowBattery.ogg differ | |
diff --git data/sounds/effects/Undock.ogg data/sounds/effects/Undock.ogg | |
index 0053066..52512ac 100644 | |
Binary files data/sounds/effects/Undock.ogg and data/sounds/effects/Undock.ogg differ | |
diff --git data/sounds/effects/Unlock.ogg data/sounds/effects/Unlock.ogg | |
index cca9594..52512ac 100644 | |
Binary files data/sounds/effects/Unlock.ogg and data/sounds/effects/Unlock.ogg differ | |
diff --git data/sounds/effects/VideoRecord.ogg data/sounds/effects/VideoRecord.ogg | |
index 1450522..52512ac 100644 | |
Binary files data/sounds/effects/VideoRecord.ogg and data/sounds/effects/VideoRecord.ogg differ | |
diff --git data/sounds/effects/VideoStop.ogg data/sounds/effects/VideoStop.ogg | |
index 1450522..52512ac 100644 | |
Binary files data/sounds/effects/VideoStop.ogg and data/sounds/effects/VideoStop.ogg differ | |
diff --git data/sounds/effects/ogg/Dock.ogg data/sounds/effects/ogg/Dock.ogg | |
index cfe4405..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Dock.ogg and data/sounds/effects/ogg/Dock.ogg differ | |
diff --git data/sounds/effects/ogg/Effect_Tick.ogg data/sounds/effects/ogg/Effect_Tick.ogg | |
index 42dddb1..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Effect_Tick.ogg and data/sounds/effects/ogg/Effect_Tick.ogg differ | |
diff --git data/sounds/effects/ogg/Effect_Tick_48k.ogg data/sounds/effects/ogg/Effect_Tick_48k.ogg | |
index eb1847e..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Effect_Tick_48k.ogg and data/sounds/effects/ogg/Effect_Tick_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressDelete.ogg data/sounds/effects/ogg/KeypressDelete.ogg | |
index cf2dce3..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressDelete.ogg and data/sounds/effects/ogg/KeypressDelete.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressDelete_120.ogg data/sounds/effects/ogg/KeypressDelete_120.ogg | |
index f2851f7..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressDelete_120.ogg and data/sounds/effects/ogg/KeypressDelete_120.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressDelete_120_48k.ogg data/sounds/effects/ogg/KeypressDelete_120_48k.ogg | |
index e218215..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressDelete_120_48k.ogg and data/sounds/effects/ogg/KeypressDelete_120_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressDelete_14.ogg data/sounds/effects/ogg/KeypressDelete_14.ogg | |
index 0baea25..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressDelete_14.ogg and data/sounds/effects/ogg/KeypressDelete_14.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressDelete_48k.ogg data/sounds/effects/ogg/KeypressDelete_48k.ogg | |
index 9b33f53..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressDelete_48k.ogg and data/sounds/effects/ogg/KeypressDelete_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressDelete_49.ogg data/sounds/effects/ogg/KeypressDelete_49.ogg | |
index f5e9deb..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressDelete_49.ogg and data/sounds/effects/ogg/KeypressDelete_49.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressInvalid.ogg data/sounds/effects/ogg/KeypressInvalid.ogg | |
index 24935ad..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressInvalid.ogg and data/sounds/effects/ogg/KeypressInvalid.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressInvalid_120.ogg data/sounds/effects/ogg/KeypressInvalid_120.ogg | |
index 24935ad..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressInvalid_120.ogg and data/sounds/effects/ogg/KeypressInvalid_120.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressInvalid_120_48k.ogg data/sounds/effects/ogg/KeypressInvalid_120_48k.ogg | |
index 24935ad..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressInvalid_120_48k.ogg and data/sounds/effects/ogg/KeypressInvalid_120_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressInvalid_48k.ogg data/sounds/effects/ogg/KeypressInvalid_48k.ogg | |
index d1843a7..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressInvalid_48k.ogg and data/sounds/effects/ogg/KeypressInvalid_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressReturn.ogg data/sounds/effects/ogg/KeypressReturn.ogg | |
index 314ed85..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressReturn.ogg and data/sounds/effects/ogg/KeypressReturn.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressReturn_120.ogg data/sounds/effects/ogg/KeypressReturn_120.ogg | |
index 48a26b4..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressReturn_120.ogg and data/sounds/effects/ogg/KeypressReturn_120.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressReturn_120_48k.ogg data/sounds/effects/ogg/KeypressReturn_120_48k.ogg | |
index 37a6d34..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressReturn_120_48k.ogg and data/sounds/effects/ogg/KeypressReturn_120_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressReturn_14.ogg data/sounds/effects/ogg/KeypressReturn_14.ogg | |
index 86a5a0e..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressReturn_14.ogg and data/sounds/effects/ogg/KeypressReturn_14.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressReturn_48k.ogg data/sounds/effects/ogg/KeypressReturn_48k.ogg | |
index 04627fc..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressReturn_48k.ogg and data/sounds/effects/ogg/KeypressReturn_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressReturn_49.ogg data/sounds/effects/ogg/KeypressReturn_49.ogg | |
index b0ddee5..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressReturn_49.ogg and data/sounds/effects/ogg/KeypressReturn_49.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressSpacebar.ogg data/sounds/effects/ogg/KeypressSpacebar.ogg | |
index 6aca94a..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressSpacebar.ogg and data/sounds/effects/ogg/KeypressSpacebar.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressSpacebar_120.ogg data/sounds/effects/ogg/KeypressSpacebar_120.ogg | |
index 9620927..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressSpacebar_120.ogg and data/sounds/effects/ogg/KeypressSpacebar_120.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressSpacebar_120_48k.ogg data/sounds/effects/ogg/KeypressSpacebar_120_48k.ogg | |
index 69ee792..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressSpacebar_120_48k.ogg and data/sounds/effects/ogg/KeypressSpacebar_120_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressSpacebar_14.ogg data/sounds/effects/ogg/KeypressSpacebar_14.ogg | |
index 058534a..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressSpacebar_14.ogg and data/sounds/effects/ogg/KeypressSpacebar_14.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressSpacebar_48k.ogg data/sounds/effects/ogg/KeypressSpacebar_48k.ogg | |
index 9953e56..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressSpacebar_48k.ogg and data/sounds/effects/ogg/KeypressSpacebar_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressSpacebar_49.ogg data/sounds/effects/ogg/KeypressSpacebar_49.ogg | |
index 3866e0e..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressSpacebar_49.ogg and data/sounds/effects/ogg/KeypressSpacebar_49.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressStandard.ogg data/sounds/effects/ogg/KeypressStandard.ogg | |
index 9b9747c..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressStandard.ogg and data/sounds/effects/ogg/KeypressStandard.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressStandard_120.ogg data/sounds/effects/ogg/KeypressStandard_120.ogg | |
index e4d916a..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressStandard_120.ogg and data/sounds/effects/ogg/KeypressStandard_120.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressStandard_120_48k.ogg data/sounds/effects/ogg/KeypressStandard_120_48k.ogg | |
index 1598c24..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressStandard_120_48k.ogg and data/sounds/effects/ogg/KeypressStandard_120_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressStandard_14.ogg data/sounds/effects/ogg/KeypressStandard_14.ogg | |
index 317c8f3..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressStandard_14.ogg and data/sounds/effects/ogg/KeypressStandard_14.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressStandard_48k.ogg data/sounds/effects/ogg/KeypressStandard_48k.ogg | |
index 3f57438..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressStandard_48k.ogg and data/sounds/effects/ogg/KeypressStandard_48k.ogg differ | |
diff --git data/sounds/effects/ogg/KeypressStandard_49.ogg data/sounds/effects/ogg/KeypressStandard_49.ogg | |
index 893bb52..52512ac 100644 | |
Binary files data/sounds/effects/ogg/KeypressStandard_49.ogg and data/sounds/effects/ogg/KeypressStandard_49.ogg differ | |
diff --git data/sounds/effects/ogg/Lock.ogg data/sounds/effects/ogg/Lock.ogg | |
index 7e98911..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Lock.ogg and data/sounds/effects/ogg/Lock.ogg differ | |
diff --git data/sounds/effects/ogg/Lock_48k.ogg data/sounds/effects/ogg/Lock_48k.ogg | |
index 06697ed..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Lock_48k.ogg and data/sounds/effects/ogg/Lock_48k.ogg differ | |
diff --git data/sounds/effects/ogg/LowBattery.ogg data/sounds/effects/ogg/LowBattery.ogg | |
index ab9eba3..52512ac 100644 | |
Binary files data/sounds/effects/ogg/LowBattery.ogg and data/sounds/effects/ogg/LowBattery.ogg differ | |
diff --git data/sounds/effects/ogg/Media_Volume.ogg data/sounds/effects/ogg/Media_Volume.ogg | |
index 2248e49..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Media_Volume.ogg and data/sounds/effects/ogg/Media_Volume.ogg differ | |
diff --git data/sounds/effects/ogg/Trusted.ogg data/sounds/effects/ogg/Trusted.ogg | |
index d7f65ee..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Trusted.ogg and data/sounds/effects/ogg/Trusted.ogg differ | |
diff --git data/sounds/effects/ogg/Trusted_48k.ogg data/sounds/effects/ogg/Trusted_48k.ogg | |
index 2b63c39..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Trusted_48k.ogg and data/sounds/effects/ogg/Trusted_48k.ogg differ | |
diff --git data/sounds/effects/ogg/Undock.ogg data/sounds/effects/ogg/Undock.ogg | |
index f00fa76..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Undock.ogg and data/sounds/effects/ogg/Undock.ogg differ | |
diff --git data/sounds/effects/ogg/Unlock.ogg data/sounds/effects/ogg/Unlock.ogg | |
index 851eed5..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Unlock.ogg and data/sounds/effects/ogg/Unlock.ogg differ | |
diff --git data/sounds/effects/ogg/Unlock_48k.ogg data/sounds/effects/ogg/Unlock_48k.ogg | |
index c2cf304..52512ac 100644 | |
Binary files data/sounds/effects/ogg/Unlock_48k.ogg and data/sounds/effects/ogg/Unlock_48k.ogg differ | |
diff --git data/sounds/effects/ogg/VideoRecord.ogg data/sounds/effects/ogg/VideoRecord.ogg | |
index 0d7bf12..52512ac 100644 | |
Binary files data/sounds/effects/ogg/VideoRecord.ogg and data/sounds/effects/ogg/VideoRecord.ogg differ | |
diff --git data/sounds/effects/ogg/VideoRecord_48k.ogg data/sounds/effects/ogg/VideoRecord_48k.ogg | |
index 3eefaed..52512ac 100644 | |
Binary files data/sounds/effects/ogg/VideoRecord_48k.ogg and data/sounds/effects/ogg/VideoRecord_48k.ogg differ | |
diff --git data/sounds/effects/ogg/VideoStop.ogg data/sounds/effects/ogg/VideoStop.ogg | |
index a20d524..52512ac 100644 | |
Binary files data/sounds/effects/ogg/VideoStop.ogg and data/sounds/effects/ogg/VideoStop.ogg differ | |
diff --git data/sounds/effects/ogg/VideoStop_48k.ogg data/sounds/effects/ogg/VideoStop_48k.ogg | |
index 7fd9f47..52512ac 100644 | |
Binary files data/sounds/effects/ogg/VideoStop_48k.ogg and data/sounds/effects/ogg/VideoStop_48k.ogg differ | |
diff --git data/sounds/effects/ogg/VolumeIncremental.ogg data/sounds/effects/ogg/VolumeIncremental.ogg | |
index c540607..52512ac 100644 | |
Binary files data/sounds/effects/ogg/VolumeIncremental.ogg and data/sounds/effects/ogg/VolumeIncremental.ogg differ | |
diff --git data/sounds/effects/ogg/WirelessChargingStarted.ogg data/sounds/effects/ogg/WirelessChargingStarted.ogg | |
index 66f6cd2..52512ac 100644 | |
Binary files data/sounds/effects/ogg/WirelessChargingStarted.ogg and data/sounds/effects/ogg/WirelessChargingStarted.ogg differ | |
diff --git data/sounds/effects/ogg/camera_click.ogg data/sounds/effects/ogg/camera_click.ogg | |
index 130b534..52512ac 100644 | |
Binary files data/sounds/effects/ogg/camera_click.ogg and data/sounds/effects/ogg/camera_click.ogg differ | |
diff --git data/sounds/effects/ogg/camera_click_48k.ogg data/sounds/effects/ogg/camera_click_48k.ogg | |
index b836e10..52512ac 100644 | |
Binary files data/sounds/effects/ogg/camera_click_48k.ogg and data/sounds/effects/ogg/camera_click_48k.ogg differ | |
diff --git data/sounds/effects/ogg/camera_focus.ogg data/sounds/effects/ogg/camera_focus.ogg | |
index 0db2683..52512ac 100644 | |
Binary files data/sounds/effects/ogg/camera_focus.ogg and data/sounds/effects/ogg/camera_focus.ogg differ | |
diff --git packages/Keyguard/src/com/android/keyguard/EmergencyButton.java packages/Keyguard/src/com/android/keyguard/EmergencyButton.java | |
index abdbe09..d605652 100755 | |
--- packages/Keyguard/src/com/android/keyguard/EmergencyButton.java | |
+++ packages/Keyguard/src/com/android/keyguard/EmergencyButton.java | |
@@ -218,6 +218,7 @@ public class EmergencyButton extends Button { | |
} | |
} | |
} | |
+ visible = false; | |
if (visible) { | |
setVisibility(View.VISIBLE); | |
diff --git services/core/java/com/android/server/power/ShutdownThread.java services/core/java/com/android/server/power/ShutdownThread.java | |
index 54d2fcf..13d885e 100644 | |
--- services/core/java/com/android/server/power/ShutdownThread.java | |
+++ services/core/java/com/android/server/power/ShutdownThread.java | |
@@ -88,7 +88,7 @@ public final class ShutdownThread extends Thread { | |
private static final String SOFT_REBOOT = "soft_reboot"; | |
// length of vibration before shutting down | |
- private static final int SHUTDOWN_VIBRATE_MS = 500; | |
+ private static final int SHUTDOWN_VIBRATE_MS = 5; | |
// state tracking | |
private static Object sIsStartedGuard = new Object(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment