Loading core/java/android/hardware/display/AmbientDisplayConfiguration.java +2 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,8 @@ public class AmbientDisplayConfiguration { /** @hide */ public boolean pulseOnNotificationAvailable() { return ambientDisplayAvailable(); return mContext.getResources().getBoolean(R.bool.config_pulseOnNotificationsAvailable) && ambientDisplayAvailable(); } /** @hide */ Loading core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -5823,4 +5823,7 @@ <string-array name="config_serviceStateLocationAllowedPackages"> <item>"com.android.phone"</item> </string-array> <!-- Whether the wake screen on notifications feature is available. --> <bool name="config_pulseOnNotificationsAvailable">true</bool> </resources> core/res/res/values/symbols.xml +1 −0 Original line number Diff line number Diff line Loading @@ -3337,6 +3337,7 @@ <java-symbol type="string" name="config_dozeTapSensorType" /> <java-symbol type="array" name="config_dozeTapSensorPostureMapping" /> <java-symbol type="bool" name="config_dozePulsePickup" /> <java-symbol type="bool" name="config_pulseOnNotificationsAvailable" /> <!-- Used for MimeIconUtils. --> <java-symbol type="drawable" name="ic_doc_apk" /> Loading Loading
core/java/android/hardware/display/AmbientDisplayConfiguration.java +2 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,8 @@ public class AmbientDisplayConfiguration { /** @hide */ public boolean pulseOnNotificationAvailable() { return ambientDisplayAvailable(); return mContext.getResources().getBoolean(R.bool.config_pulseOnNotificationsAvailable) && ambientDisplayAvailable(); } /** @hide */ Loading
core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -5823,4 +5823,7 @@ <string-array name="config_serviceStateLocationAllowedPackages"> <item>"com.android.phone"</item> </string-array> <!-- Whether the wake screen on notifications feature is available. --> <bool name="config_pulseOnNotificationsAvailable">true</bool> </resources>
core/res/res/values/symbols.xml +1 −0 Original line number Diff line number Diff line Loading @@ -3337,6 +3337,7 @@ <java-symbol type="string" name="config_dozeTapSensorType" /> <java-symbol type="array" name="config_dozeTapSensorPostureMapping" /> <java-symbol type="bool" name="config_dozePulsePickup" /> <java-symbol type="bool" name="config_pulseOnNotificationsAvailable" /> <!-- Used for MimeIconUtils. --> <java-symbol type="drawable" name="ic_doc_apk" /> Loading