| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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 } | 
| OLD | NEW | 
|---|