Fix test packages.
The name of the package is determined by the build system based
on the directory name, so the netlegacy22 API tests were going
into package "android.api" and the netlegacy22 permission tests
were going into package "android.permission".
Fix this by moving from two subdirectories under
tests/netlegacy22 to two directories under tests. Also move from
tests/tests/ to tests/ because the former is deprecated.
The two sets of tests are in different directories because they
need to have different AndroidManifest.xml files (one needs
permissions, the other must not have permissions).
8 files changed