| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
In ensureCacheValid, check whether the cursor is closed before
querying its count. In getItem, check whether the cursor is closed
before moving it to position, as was already being done in getItemId.
Bug:18815354
Change-Id: I4cf2509923695afe9499d0507383c4e0d51bd23e
|
|
|
|
|
|
|
|
|
| |
Currently the size of the partition is hidden from public. The isEmpty
method will allow outside classes to check if the partition does not
have any entries in it.
Bug: 15596340
Change-Id: I0a0f8f7c7a350b802e58e9138801c13b6e74a059
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OperationScheduler's toString() method got the set of keys from a
SharedPreferences, and then did individual lookups of those keys
assuming they would all succeed, but the shared prefs object can be
mutated by a another thread while that is going on.
Fix to take a snapshot with getAll() and then iterate over the
snapshot.
Bug: 15744821
Change-Id: I6a901ec7f4e632e149db3bf6c226f935bc152402
|
|\
| |
| |
| |
| |
| |
| | |
IEA in Punycode or Unicode." into klp-ub-dev
* commit '4edf1e548cec17a3856f1ac659c08b865ecd7817':
Let Rfc822Validator validate IEA in Punycode or Unicode.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Let Rfc822Validator validator internation email adresses.
The implementation is based on a regular expression.
Fixes:
- b/13364030 ComposeActivity rejects TLD that are Punycode
- ComposeActivity rejects TLD that are Unicode
Improve unit tests:
- Use RFC example domains, instead of potentially existing domains.
- Add unicode punycode internationalized email address.
- Add validity check for email with special characters.
- Add validity check "a..b@example.com" (RFC says dot cannot be succesive but it is allowed by major providers)
- Add invalidity check for "a@b-.com" (domain name cannot end with a dash) ; "john@doe@example.com" (@ must be unique)
- Remove a@b.12 from invalid emails. There is no tld made of numbers, but no spec strictly prohibits it.
Bug: 13364030
Change-Id: I78bc5d696f587753d776020ef1f9feded2065ad0
|
|\|
| |
| |
| |
| | |
* commit '92591524182a086e666f66e087032a646a27d20e':
Fix some warnings
|
| |
| |
| |
| | |
Change-Id: I43b3b9e5d6ecf4f5ca46da2cfe8d07e2d647355e
|
| |
| |
| |
| | |
Change-Id: I4fd904113cd09ea84c3e80bb25b4e433f35638be
|
| |
| |
| |
| |
| | |
Bug:12824174
Change-Id: Ia81c998aa3ec7309c68f98ee04a5364be37b52b5
|
|/
|
|
|
| |
Bug: 12004174
Change-Id: I0023bbadba93354db2c0e5cc5b3b803d58d6f94a
|
|
|
|
|
|
|
| |
And add an addPartition(int location, Partition partition) method.
The refactoring make adding this method much easier.
Change-Id: Ife051b19837c2719e9487d7bc4f14095e76cc141
|
|\
| |
| |
| |
| | |
* commit 'b5e0079419300f09253f160e0bdd28aa1bef4605':
Fix some javadoc bugs.
|
| |
| |
| |
| | |
Change-Id: I10c04c3b69f68b44ff27bbbb1abcc2a0b60fd18a
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Cherrypick of
https://googleplex-android-review.googlesource.com/#/c/306995/,
which fixes the bug that causes getItemViewType to be called
with the wrong position, causing new views to be created
unnecessarily.
Bug: 8398321
Change-Id: I6c921fe7d5135cf9f9d9bdd08b5aa4df7662ac1c
|
|
|
|
| |
Change-Id: I583f2d628726a3579aba66a49310a0ccffa94c0a
|
|
|
|
|
|
|
|
| |
This is a copy of the hidden SearchManager.getSuggestions(),
which I plan to remove. It doesn't depend on any hidden APIs
and is purely a helper method.
Change-Id: I7915cdf327cca9f701e56bcedbf3f5388acf3a66
|
|
|
|
|
|
|
| |
Allows sub-classes to specify a max number of batch operations, and
makes this data accessible as a public method.
Change-Id: I3d1cb7b996b23e45b479613b0af4f01a8a641f04
|
|
|
|
|
|
|
| |
This is useful if the columns for a table are already declared in
a String[].
Change-Id: I0140081f149a6354984bf3eb1cb3763f5edf369b
|
|\
| |
| |
| |
| | |
* commit 'f7da24b37a0c94e9bfb5e317548999d418fb12ae':
Make static fields of DUSU$DUF package-private
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DataUsageStatUpdater$DataUsageFeedback
This makes a little more sense since they are accessed outside of the
class that they are defined in.
In addition, this fixes errors created by proguard when building with
OpenJDK.
Change-Id: I2c2c514e83fbf789cca59a8ff11df9fd0ac7ffda
|
|/
|
|
| |
Change-Id: Ida7831c961dd4a132e6c5bb3fffacceca2f41d44
|
|
|
|
| |
Change-Id: Iadf4bfbc86efdb04ba2917d9def65061e3cc3a23
|
|
|
|
|
| |
Bug: 5047678
Change-Id: I748525684b82f16d7a799b035ad2cfed22fa02d9
|
|
|
|
|
| |
Bug: 5148810
Change-Id: I1b4d5d6280fb94e8cd514e3379aecee888eba479
|
|
|
|
| |
Change-Id: Iffea9735b906466077ce03a97ab49b614917dbf3
|
|
|
|
|
| |
Bug: 5047405
Change-Id: I479778c36b2e6706dd0d171bfbe9123cc45c0217
|
|
|
|
|
|
|
|
|
|
| |
- This has methods for closing objects iff they are not-null, in
exactly the same way as Closeables, but for objects that don't
implement the Closeable interface.
- Specifically at the moment this involves Cursor and
AssetFileDescriptor objects.
Change-Id: I92e8719e6deab7652f940d129594cdee3c8f3061
|
|
|
|
|
|
|
| |
For unbundled apps which don't build against ICS yet,
but need to support this feature.
Change-Id: I3aca93d007ae05e2c59dc8e0613e761ec52ecdea
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Should be after:
- Ibce363d336cb3e3a1fca10bddbd912ec96e4b059
- I2a22be56822226e3ea6b6f2ef23bb77816d0345a
Bug: 3510087
Change-Id: I7e4f4fa01a237fa82521c5f57c258ee599933d60
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It allows each app to conveniently send data usage feedback
to ContactsProvider, which includes
TIMES_CONTACTED/LAST_TIME_CONTACTED existing before ICS and
DataUsageFeedback stuff introduced in ICS.
This library checks API version and update relevant data
appropriately, so each application doesn't need to take care
of details of API (and possible API change in ICS)
TODO:
- need test for this.
Must be after I602c0b83afca674904946f59bbdfc4dca07d46e4
Bug: 4371572
Change-Id: Id84ef81392c48d8c59eb89e0407eec0c592f3b31
|
|\
| |
| |
| |
| | |
* commit '86018e0266578b120b9ad4133a6f189d2a3eac47':
Preventive fix in setNotificationsEnabled
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This code
setNotificationsEnabled(false);
...
notifyDataChanged();
...
setNotificationsEnabled(false);
should not notify that a change happended.
Change-Id: Ia639530dcc2a34c24a7edbe2d2ba3530d22cacb9
|
|\|
| |
| |
| |
| | |
* commit '10c28c7f31687ff57476d0a7381461fef71cc5cb':
Don't change the visibility of overridden methods.
|
| |
| |
| |
| |
| |
| |
| |
| | |
ArrowKeyMovementMethod defines up, down, left, and right
to be protected, so StyledTextArrowKeyMethod shouldn't
change them to be private.
Change-Id: I0e58b9d2ee042b5c7985b664bab299ff618f8116
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
I shouldnt have renamed length -> mlength. This reverts that mistake.
Change-Id: I92eff11b395933912d4010a3e9b996f7b47cf756
|
|/
|
|
| |
Change-Id: I54d3d6e7fb3df41196dc2a9b647fd5d23b83d43a
|
|\
| |
| |
| |
| | |
* commit '046a9e0835f0922e9388001b157daa504356a4cf':
add "transaction_event" eventlog tag
|
| |
| |
| |
| |
| | |
Bug: 3171309
Change-Id: I55a3cc5c35281796352379ab548249b19f4156ea
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit '66189d6156b4aa76f25bb1465d9e0e6f39668b9e'
* commit '66189d6156b4aa76f25bb1465d9e0e6f39668b9e':
Only call VoiceSearch if there are IME logging actions
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
LatinIME/VoiceInput will set a boolean value if there
are actions which need to be logged. This value will
be checked before sending the intent to VS. This way applications
which use IME can call this function without worrying about
sending "empty" logging intents.
Change-Id: If02971c1cada70aaac954a8a4dcf94794677fab9
|
| |
| |
| |
| | |
Change-Id: I9584926a41d002d4e4153fcf241e98cecd74278c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Moving from packages/apps/Contacts
adb shell am instrument -e class com.android.common.widget.GroupingListAdapterTests -w com.android.common.tests/android.test.InstrumentationTestRunner
com.android.common.widget.GroupingListAdapterTests:.............
Test results for InstrumentationTestRunner=.............
Time: 0.03
OK (13 tests)
Change-Id: Ia58fe362afdc5c64e3740c89049be29f5b329a5b
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit 'b4f5e0e5755938f2be9a2f1a1a6609b018c530ad'
* commit 'b4f5e0e5755938f2be9a2f1a1a6609b018c530ad':
Fixed the Rfc822Validator
|
| |
| |
| |
| |
| |
| |
| |
| | |
Make sure that the validator doesn't consider an email address
that has a domain that has more than one adjacent '.' characters valid
Bug: 3048703
Change-Id: I1c227f393738850d89b6da52693d806c231f3136
|
| |
| |
| |
| | |
Change-Id: I5029a9fb49862d87a32dcf87772a4e746887d0fa
|
| |
| |
| |
| | |
This reverts commit 112087b9bd4a239df4359c144b11512c56be896d.
|
| |
| |
| |
| | |
Change-Id: I6e9bdcca682f11038332b6c0065af78a67cc5d42
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit '575e19825099eb83d1d452ffce93314aa66432ed'
* commit '575e19825099eb83d1d452ffce93314aa66432ed':
Use SharedPreferences$Editor.apply() when possible, else use commit()
|