summaryrefslogtreecommitdiffstats
path: root/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/GetRestrictionsReceiver.java
diff options
context:
space:
mode:
Diffstat (limited to 'samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/GetRestrictionsReceiver.java')
-rw-r--r--samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/GetRestrictionsReceiver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/GetRestrictionsReceiver.java b/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/GetRestrictionsReceiver.java
index bb5a28391..a17a6c118 100644
--- a/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/GetRestrictionsReceiver.java
+++ b/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/GetRestrictionsReceiver.java
@@ -88,7 +88,7 @@ public class GetRestrictionsReceiver extends BroadcastReceiver {
// Demonstrates the creation of standard app restriction types: boolean, single choice, and
// multi-select.
private ArrayList<RestrictionEntry> initRestrictions(Context context) {
- ArrayList<RestrictionEntry> newRestrictions = new ArrayList<RestrictionEntry>();
+ ArrayList<RestrictionEntry> newRestrictions = new ArrayList<>();
Resources res = context.getResources();
RestrictionEntry reBoolean = new RestrictionEntry(KEY_BOOLEAN, false);