That's a first pass. There's a fair bit of refactoring
involved, so it's split in two CLs. Next CL will add more
functionality.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 144402
Activities that do not have an action, or that are set to not be exported cannot be launched from 'am start...' so they should not be considered when finding an activity to launch.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 144382
Activities that do not have an action, or that are set to not be exported cannot be launched from 'am start...' so they should not be considered when finding an activity to launch.
BUG=1736754
Automated import of CL 144366
*** Reason for rollback ***
Roll back US Spanish import because it made the build too big.
*** Original change description ***
Import US Spanish translations, and a few Japanese changes.
Automated import of CL 144355
LocationManagerService now listens for changes to settings,
making LocationManager.updateProviders() unnecessary.
Removed LocationManager.updateProviders()
Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
of enabling or disabling a single location provider.
This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
BUG=1729031
Automated import of CL 144372
The tests name must start with 'test_'.
Tests should return 0 on success, 1 on failure.
* development/testrunner/test_defs.xml:
Added new element to represent native tests.
* development/testrunner/test_defs.py:
Added handling of the new <test-native> element.
The testsuite has new IsNative method.
TestDefinition's iterator is ordered by test names.
Added GetDescription() method to access the optional description.
* development/testrunner/runtest.py:
Print the description next to the test name if applicable
(runtest_py -l)
Added a _RunNativeTest method to run a test on the target, report
the status and clean up the test after the run.
Added
BUG=1601432
Automated import of CL 144340
That's a first pass. There's a fair bit of refactoring
involved, so it's split in two CLs. Next CL will add more
functionality.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 144284
That's a first pass. There's a fair bit of refactoring
involved, so it's split in two CLs. Next CL will add more
functionality.
BUG=1722971
Automated import of CL 144283
Explain how it's different than ProcessBuilder
Explain that you have to call close when you're done with the pty's file
descriptor.
Note in the doc comment that the implementation relies on a private
FileDescriptor API.
Also remove an unused method.
Automated import of CL 144152
Rationale: we want to keep that code around, so we need to compile
it to make sure it doesn't use obsoleted APIs. That does it.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 144095
Rationale: we want to keep that code around, so we need to compile
it to make sure it doesn't use obsoleted APIs. That does it.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 144049
Rationale: we want to keep that code around, so we need to compile
it to make sure it doesn't use obsoleted APIs. That does it.
BUG=1743364
Automated import of CL 144048
This covers the case where an AVD has an invalid target
or is missing its AVD folder or the config.ini in it.
Made some cosmetic cleanup too.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143885
This covers the case where an AVD has an invalid target
or is missing its AVD folder or the config.ini in it.
Made some cosmetic cleanup too.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 143883
This covers the case where an AVD has an invalid target
or is missing its AVD folder or the config.ini in it.
Made some cosmetic cleanup too.
BUG=1703143
Automated import of CL 143881