| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Details:
- Add a new SearchDialogWrapper class that makes sure
all access to the SearchDialog is run one a single thread
other than the main ServerThread.
- Don't save/restore seach dialog state in Activity.
This resulted in lots of calls to the SearchManager
throughout the life cycle of all activities, for
the questionable benefit of restoring the search dialog
in a few cases.
- Remove search UI state save/restore, and the isVisible()
method from SearchManagerService. They are no longer used,
and were tricky to implement since they return values from
the search UI thread to the service.
- Handle configuration changes in searchDialogWrapper instead
of calling through from Activity.
Fixes http://b/issue?id=1938101
TODO:
- Activity.performPause() calls stopSearch(). This call may not happen
until the new activity has been started. If the new activity starts a
search immediately, this search could be cancelled by the old activity's
call top stopSearch().
|
| |\
| |
| |
| |
| | |
* changes:
Add unit test for NeighboringCellInfo.
|
| | |
| |
| |
| |
| |
| | |
Add small unit test for NeighboringCellInfo in AndroidTests. The old telephony unit test directory, CoreTest/android, is marked as deprecated in AndroidTestHowto.
new file: tests/AndroidTests/src/com/android/unit_tests/NeighboringCellInfoTest.java
|
| |\ \
| | |
| | |
| | |
| | | |
* changes:
Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag.
|
| | | |
| | |
| | |
| | | |
selection hidden flag.
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
* changes:
BackupManager wrapper class improvements
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
+ Now rechecks the cached IBinder each time the wrapper is used, and if it's
still null (i.e. the BackupManager was constructed before the system service
came up) it's refetched. This lets even system code cache a single
BackupManager instance and just keep making calls through it without worrying
about interactions with the life cycle of the backup service.
+ Added a static dataChanged(packageName) method as a convenience for code that
needs to indicate that some other package needs a backup pass. This is useful
even for third party code in the case of multiple packages in a shared-uid
situation.
|
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | | |
* changes:
Turn off kerning when testing TextUtils.ellipsize().
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Otherwise, the different text measurement methods produce slightly
different results and cause the text to show different results for
Spanned vs. non-Spanned source strings.
Bug 1837826
|
| |/ |
|
| |\
| |
| |
| |
| | |
* changes:
Use additional functions to collect more memory information data points.
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
* changes:
cdma sms is91 support
|
| | | | |
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
* changes:
fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
|
| | |/
| |
| |
| |
| |
| | |
PhoneNumberUtils.numberToCalledPartyBCDHelper
addresses http://buganizer/issue?id=1489784
|
| |\ \
| |/
|/|
| |
| | |
* changes:
Added a new operation mode where user can launch all tests under a folder from test app ui.
|
| | |
| |
| |
| | |
from test app ui.
|
| |\ \
| | |
| | |
| | |
| | | |
* changes:
make BitwiseInputStream.read return int
|
| | | |
| | |
| | |
| | |
| | | |
Keep the maximum access 8 bits to avoid dealing with
endianness issues.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Expand support for different screen sizes.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Applications can now declare that they support small, normal, or
large screens. Resource selection can also be done based on these
sizes. By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes. In either
case they can use <supports-screens> in their manifest to declare
what they actually support.
|
| |/ / /
| | |
| | |
| | |
| | | |
(which nobody had ever tested. I like it when stuff
just works the first time).
|
| | | |
| | |
| | |
| | |
| | | |
(It turns out that we do. It didn't used to work, I'm not
sure what changed)
|
| | | |
| | |
| | |
| | | |
the backup is done.
|
| | |/
|/| |
|
| |\ \
| |/
|/|
| |
| | |
* changes:
Add smalltest annotation to HardwareServicePermissionTest.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
This change amends the doRestore() / onRestore() interface to backup agents to
provide the integer android:versionCode of the app that stored the backup set.
This should help agents figure out how to handle whatever historical data set
they're handed at restore time.
|
| | |
| |
| |
| |
| | |
because they'll always go in the same order, and this lets
us not have to write headers to keep them paired.
|
| | |
| |
| |
| |
| | |
This restriction was removed in https://android-git.corp.google.com/g/4908
see http://b/issue?id=1926254
|
| |/
|
|
|
|
|
| |
They were only static because of a now removed restriction that
only activity contexts could instantiate SearchManager.
This only changes hidden APIs, but all users of the changed methods
must be updated to use them non-statically before this is submitted.
|
| |\
| |
| |
| |
| | |
* changes:
Fix a bug where wrong variable was used for comparison.
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- BackupTestAgent calls the DispatchHelper
- Make BackupAgent.onRestore take a BackupDataInput, not just a
generic ParcelFileDescriptor.
|
| |\
| |
| |
| |
| | |
* changes:
FileRestoreHelper and RestoreHelperDispatcher work.
|
| | | |
|
| |\ \
| |/
|/|
| |
| | |
* changes:
Add SmsManager permission test.
|
| | | |
|
| |/ |
|
| |\
| |
| |
| |
| | |
* changes:
Implement permission test for activity, window, service manager.
|
| | |
| |
| |
| |
| |
| | |
This also includes some changes to the window manager permission checks. Almost all of these
are to make it most testable (through an exception on a permission failure), though there is
one permission check that needed to be added: updateOrientationFromAppTokens().
|
| |\ \
| | |
| | |
| | |
| | | |
* changes:
Add test for GServices write permission, and remove dummy placeholder framework permission test.
|
| | | |
| | |
| | |
| | | |
framework permission test.
|
| |/ / |
|