Skip to content

Commit af753cc

Browse files
committed
Merge branch 'next' into RMET-4747
2 parents a26cc0f + 4d233f7 commit af753cc

6 files changed

Lines changed: 6 additions & 10 deletions

File tree

browser/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ Open a page with the specified options.
6868
close() => Promise<void>
6969
```
7070

71-
Web & iOS only: Close an open browser window.
72-
73-
No-op on other platforms.
71+
Close an open browser window.
7472

7573
**Since:** 1.0.0
7674

browser/src/definitions.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ export interface BrowserPlugin {
99
open(options: OpenOptions): Promise<void>;
1010

1111
/**
12-
* Web & iOS only: Close an open browser window.
13-
*
14-
* No-op on other platforms.
12+
* Close an open browser window.
1513
*
1614
* @since 1.0.0
1715
*/

device/android/src/main/java/com/capacitorjs/plugins/device/Device.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class Device {
1919

2020
public long getMemUsed() {
2121
final Runtime runtime = Runtime.getRuntime();
22-
final long usedMem = (runtime.totalMemory() - runtime.freeMemory());
22+
final long usedMem = runtime.totalMemory() - runtime.freeMemory();
2323
return usedMem;
2424
}
2525

local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/NotificationChannelManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public void listChannels(PluginCall call) {
117117
channel.put(CHANNEL_SOUND, notificationChannel.getSound());
118118
channel.put(CHANNEL_VIBRATE, notificationChannel.shouldVibrate());
119119
channel.put(CHANNEL_USE_LIGHTS, notificationChannel.shouldShowLights());
120-
channel.put(CHANNEL_LIGHT_COLOR, String.format("#%06X", (0xFFFFFF & notificationChannel.getLightColor())));
120+
channel.put(CHANNEL_LIGHT_COLOR, String.format("#%06X", 0xFFFFFF & notificationChannel.getLightColor()));
121121
Logger.debug(Logger.tags("NotificationChannel"), "visibility " + notificationChannel.getLockscreenVisibility());
122122
Logger.debug(Logger.tags("NotificationChannel"), "importance " + notificationChannel.getImportance());
123123
channels.put(channel);

push-notifications/android/src/main/java/com/capacitorjs/plugins/pushnotifications/NotificationChannelManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void listChannels(PluginCall call) {
109109
channel.put(CHANNEL_SOUND, notificationChannel.getSound());
110110
channel.put(CHANNEL_VIBRATE, notificationChannel.shouldVibrate());
111111
channel.put(CHANNEL_USE_LIGHTS, notificationChannel.shouldShowLights());
112-
channel.put(CHANNEL_LIGHT_COLOR, String.format("#%06X", (0xFFFFFF & notificationChannel.getLightColor())));
112+
channel.put(CHANNEL_LIGHT_COLOR, String.format("#%06X", 0xFFFFFF & notificationChannel.getLightColor()));
113113
Logger.debug(Logger.tags("NotificationChannel"), "visibility " + notificationChannel.getLockscreenVisibility());
114114
Logger.debug(Logger.tags("NotificationChannel"), "importance " + notificationChannel.getImportance());
115115
channels.put(channel);

status-bar/android/src/main/java/com/capacitorjs/plugins/statusbar/StatusBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public StatusBarInfo getInfo() {
156156
info.setStyle(getStyle());
157157
info.setOverlays(getIsOverlaid());
158158
info.setVisible(isVisible);
159-
info.setColor(String.format("#%06X", (0xFFFFFF & getStatusBarColorDeprecated())));
159+
info.setColor(String.format("#%06X", 0xFFFFFF & getStatusBarColorDeprecated()));
160160
info.setHeight(getStatusBarHeight());
161161
return info;
162162
}

0 commit comments

Comments
 (0)