Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: libadblockplus-android/src/org/adblockplus/libadblockplus/Notification.java

Issue 29536629: Issue 5556 - Update to use libadblockplus revision hg:566f64c8a2a8 (Closed) Base URL: github.com:abby-sergz/libadblockplus-android.git
Left Patch Set: Created Sept. 5, 2017, 12:59 p.m.
Right Patch Set: address comment Created Sept. 8, 2017, 12:20 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 16 matching lines...) Expand all
27 27
28 private Notification(final long ptr) 28 private Notification(final long ptr)
29 { 29 {
30 super(ptr); 30 super(ptr);
31 } 31 }
32 32
33 public static enum Type 33 public static enum Type
34 { 34 {
35 INFORMATION, 35 INFORMATION,
36 QUESTION, 36 QUESTION,
37 RELENTLESS,
37 CRITICAL, 38 CRITICAL,
38 INVALID 39 INVALID
39 } 40 }
40 41
41 public String getMessageString() 42 public String getMessageString()
42 { 43 {
43 return getMessageString(this.ptr); 44 return getMessageString(this.ptr);
44 } 45 }
45 46
46 public String getTitle() 47 public String getTitle()
(...skipping 20 matching lines...) Expand all
67 private final static native void registerNatives(); 68 private final static native void registerNatives();
68 69
69 private final static native String getMessageString(long ptr); 70 private final static native String getMessageString(long ptr);
70 71
71 private final static native String getTitle(long ptr); 72 private final static native String getTitle(long ptr);
72 73
73 private final static native Type getType(long ptr); 74 private final static native Type getType(long ptr);
74 75
75 private final static native void markAsShown(long ptr); 76 private final static native void markAsShown(long ptr);
76 } 77 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld