| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The AndroidX Preference Library is the recommended way to build settings
screens moving forward.
Bug: b/114357488
Test: n/a
Change-Id: I3b3bff2daf43d8239d8bf247a9c2acebbc6374eb
|
| |
|
|
|
|
|
|
|
|
|
| |
Preference class now keeps track of its PreferenceGroup parent which
makes it easier to remove it from the preference hierarchy.
This required a new API method.
Test: Separate CTS CL being submitted along this one, see the topic.
BUG: 30599046
Change-Id: Ia9f274ef0315cb09a8c558e781b10f57efd28406
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
This reverts commit e18dc50c63110a57cfc29ec9bd21bf3f59abb6b4.
Fixes: 27807793
Change-Id: Ib0384e3deb8d6376265e8e60f14490de128c9b68
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
in PreferenceGroup"
* commit 'b46886f41d142cc63e054814caf76d15bf2f8cb6':
IndexOutOfBoundsException on addPreference in PreferenceGroup
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
IndexOutOfBoundsException thrown when attempting to add preference
to PreferenceGroup and at same time removing all preferences in list.
Issue is caused by a race condition in addPreference that retrieves
index of where to add Preference from binary search of mPreferenceList
outside of synchronized lock. If list is cleared after this point but
prior to adding preference on index returned from binarySearch
exception is thrown.
Solved by moving binarySearch to inside synchronized block. This will
allow thread safety while not impacting behavior as result from search
is only ever used from within synchronized block.
Change-Id: Ic1e7954cf977b1ddd6ddba98d4cf771f21fb4d57
|
| |/ /
| |
| |
| | |
Change-Id: I7c78f96d41b33b902e54fe1c0b7246d555aab0ed
|
| |/
|
|
| |
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
|
| |
|
|
|
|
|
| |
Also updates the constructor of every class that extends View.
BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
|
| |
|
|
|
| |
BUG: 10493706
Change-Id: Iba741d8dd4e72bc5aef5c033e42a9ba4fb0c523b
|
| |
|
|
|
|
|
| |
Also removes unused dependency change listener interface.
BUG: 10117838
Change-Id: I03f0eb37e7ba69942f7997a8b32adb38a3dee0bd
|
| |
|
|
| |
Change-Id: I04444ec0c4c1c278569b64f15cbbc7e8c1c623cd
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|