diff options
| author | 2018-12-26 16:16:45 -0800 | |
|---|---|---|
| committer | 2019-01-02 13:16:55 -0800 | |
| commit | 5509a81a8709acd97ed95d170c3bc1da34770e10 (patch) | |
| tree | 1478fae243b6c540451f1bef3b25b65d0654ac4b | |
| parent | 054cfe58795b15fc62050554a7040909dab0e5e7 (diff) | |
Make constructor of Access public
Unit test needs access to the constructor. Moreover, it doesn't make any
harm to open up access to this constructor.
Bug: 120910747
Test: run unit test
Change-Id: I063552b5a082cf01b3ae3eb708659b2700fc4962
| -rw-r--r-- | packages/SettingsLib/src/com/android/settingslib/location/RecentLocationAccesses.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SettingsLib/src/com/android/settingslib/location/RecentLocationAccesses.java b/packages/SettingsLib/src/com/android/settingslib/location/RecentLocationAccesses.java index d737ceda4e4d..4ac3ce436f82 100644 --- a/packages/SettingsLib/src/com/android/settingslib/location/RecentLocationAccesses.java +++ b/packages/SettingsLib/src/com/android/settingslib/location/RecentLocationAccesses.java @@ -183,7 +183,7 @@ public class RecentLocationAccesses { public final CharSequence contentDescription; public final long accessFinishTime; - private Access(String packageName, UserHandle userHandle, Drawable icon, + public Access(String packageName, UserHandle userHandle, Drawable icon, CharSequence label, CharSequence contentDescription, long accessFinishTime) { this.packageName = packageName; |