OSDN Git Service
Paul Navin [Fri, 27 Jan 2017 17:07:23 +0000 (17:07 +0000)]
Merge "Add hidden API for whether permission review mode is on. am:
7b89a7b1f7 am:
90e9bbc814" into nyc-mr2-dev-plus-aosp
am:
b20b9d84d2
Change-Id: Ib5dab7a5372b7c344c724480f06fd0860214db6e
Paul Navin [Fri, 27 Jan 2017 17:07:15 +0000 (17:07 +0000)]
Add hidden API for whether permission review mode is on. am:
7b89a7b1f7 am:
90e9bbc814
am:
ecc6ce8388
Change-Id: I2b7b1d2320e70a0451286c73157dff55f71d267f
Paul Navin [Fri, 27 Jan 2017 17:03:38 +0000 (17:03 +0000)]
Add hidden API for whether permission review mode is on. am:
7b89a7b1f7 am:
7c230c6f3c
am:
dd91db5515
Change-Id: I936449f717e3c2919622181c9068ec8a48b452ad
Android Build Merger (Role) [Fri, 27 Jan 2017 17:00:33 +0000 (17:00 +0000)]
Merge "Add hidden API for whether permission review mode is on. am:
7b89a7b1f7 am:
90e9bbc814" into nyc-mr2-dev-plus-aosp
Paul Navin [Fri, 27 Jan 2017 16:59:34 +0000 (16:59 +0000)]
Add hidden API for whether permission review mode is on. am:
7b89a7b1f7
am:
90e9bbc814
Change-Id: Ic52f409f1225c85340e71909a8adb3b9c4d66edf
Paul Navin [Fri, 27 Jan 2017 16:59:33 +0000 (16:59 +0000)]
Add hidden API for whether permission review mode is on. am:
7b89a7b1f7
am:
7c230c6f3c
Change-Id: I89c9a580a96d0f69ed30cad9ec2e4f9c215a403b
Paul Navin [Fri, 27 Jan 2017 16:55:03 +0000 (16:55 +0000)]
Add hidden API for whether permission review mode is on.
am:
7b89a7b1f7
Change-Id: I925b6de9f79850dcc816a73357d1d589eeac6333
Paul Navin [Fri, 27 Jan 2017 16:54:58 +0000 (16:54 +0000)]
Add hidden API for whether permission review mode is on.
am:
7b89a7b1f7
Change-Id: Ic7f4d30bd689bf5677600552030a3e696b16dfbb
TreeHugger Robot [Fri, 27 Jan 2017 16:46:45 +0000 (16:46 +0000)]
Merge "Camera2: Correct EXIF GPS timestamp"
TreeHugger Robot [Fri, 27 Jan 2017 16:09:23 +0000 (16:09 +0000)]
Merge "Update doc to allow system image app to display terms in ManagedProvisioning"
Jason Monk [Fri, 27 Jan 2017 15:31:01 +0000 (15:31 +0000)]
Merge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev am:
76812ac8ac
am:
73f1a5a758
Change-Id: I92d40150cc37c744fed43857cdd929f1da721759
Jason Monk [Fri, 27 Jan 2017 15:29:58 +0000 (15:29 +0000)]
Add separate roaming icon for status bar + QS am:
f62e889394
am:
f58cc5768a -s ours
Change-Id: Id20403fe5beeb3919c0bc5526adccbc5a10d69da
TreeHugger Robot [Fri, 27 Jan 2017 15:23:10 +0000 (15:23 +0000)]
Merge "Fix DPM.getPermissionGrantState()"
Jason Monk [Fri, 27 Jan 2017 15:15:01 +0000 (15:15 +0000)]
Merge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev
am:
76812ac8ac
Change-Id: I05998104c4d19d35cf8eba6b2a4aa1b35dfb600a
Jason Monk [Fri, 27 Jan 2017 15:14:53 +0000 (15:14 +0000)]
Add separate roaming icon for status bar + QS
am:
f62e889394
Change-Id: I065c6420e0ed379f44d7789e77590e5a39c2a5ec
Jason Monk [Fri, 27 Jan 2017 15:08:03 +0000 (15:08 +0000)]
Merge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev
Anton Philippov [Fri, 27 Jan 2017 14:44:09 +0000 (14:44 +0000)]
Merge "Add a constant for Backup Settings."
Victor Chang [Fri, 27 Jan 2017 11:51:56 +0000 (11:51 +0000)]
Update doc to allow system image app to display terms in ManagedProvisioning
Bug:
34320095
Test: javadoc update only. built successfully
Change-Id: I9f023a12adbbd5f3d5ed3594508642b8dd573896
Bartosz Fabianowski [Fri, 27 Jan 2017 13:47:17 +0000 (14:47 +0100)]
Fix DPM.getPermissionGrantState()
The recent addition of DPM API access delegation introduced a bug in
this method. When a system app (UID 1000) called the method, it would
crash.
Bug:
34760123
Test: DPM unit tests
Change-Id: I69390ca30270d64a4d28a74c13a7679f14a62959
TreeHugger Robot [Fri, 27 Jan 2017 13:07:52 +0000 (13:07 +0000)]
Merge "Allow showing content on virtual displays when locked"
Lorenzo Colitti [Fri, 27 Jan 2017 10:04:15 +0000 (10:04 +0000)]
Merge "ConnectivityServiceTest: fix flaky tests" am:
b8bbd30203 am:
8fea8e5bbd am:
c620e64f61
am:
5bad599e2e
Change-Id: I3a16ff459b8f702249f14e9becbb2630ce7471fd
Lorenzo Colitti [Fri, 27 Jan 2017 10:00:14 +0000 (10:00 +0000)]
Merge "ConnectivityServiceTest: remove flaky waitForIdle test." am:
be80577f5b am:
0c659d2065 am:
f8cff961c8
am:
420ad9748a
Change-Id: Iebafbf438ee4efcd53b3e6d5c71b34c0ca4e2c6b
Lorenzo Colitti [Fri, 27 Jan 2017 10:00:06 +0000 (10:00 +0000)]
Merge "ConnectivityServiceTest: fix flaky tests" am:
b8bbd30203 am:
8fea8e5bbd
am:
c620e64f61
Change-Id: Iaa1ab50a323133cadfa4f39440fce982cde8d1fe
Lorenzo Colitti [Fri, 27 Jan 2017 09:55:39 +0000 (09:55 +0000)]
Merge "ConnectivityServiceTest: fix flaky tests" am:
b8bbd30203
am:
8fea8e5bbd
Change-Id: I66f2c2174c2895224724245c1b3d815da1678955
Lorenzo Colitti [Fri, 27 Jan 2017 09:55:36 +0000 (09:55 +0000)]
Merge "ConnectivityServiceTest: remove flaky waitForIdle test." am:
be80577f5b am:
0c659d2065
am:
f8cff961c8
Change-Id: I1d3707b4bc2ae00ca0fad1c3ec7e6ca859fcdd16
Lorenzo Colitti [Fri, 27 Jan 2017 09:51:39 +0000 (09:51 +0000)]
Merge "ConnectivityServiceTest: remove flaky waitForIdle test." am:
be80577f5b
am:
0c659d2065
Change-Id: I7fbf2cb2c9778f5c961335c5b9fd5a138ec140db
Lorenzo Colitti [Fri, 27 Jan 2017 09:51:32 +0000 (09:51 +0000)]
Merge "ConnectivityServiceTest: fix flaky tests"
am:
b8bbd30203
Change-Id: I0577f6b48de8a95e7d12e58a672fb0374ced9403
Lorenzo Colitti [Fri, 27 Jan 2017 09:47:05 +0000 (09:47 +0000)]
Merge "ConnectivityServiceTest: remove flaky waitForIdle test."
am:
be80577f5b
Change-Id: I444746af6adc7be4a3f69243379f65aadf29ea19
Lorenzo Colitti [Fri, 27 Jan 2017 09:40:46 +0000 (09:40 +0000)]
Merge "ConnectivityServiceTest: fix flaky tests"
Lorenzo Colitti [Fri, 27 Jan 2017 09:38:51 +0000 (09:38 +0000)]
Merge "ConnectivityServiceTest: remove flaky waitForIdle test."
TreeHugger Robot [Fri, 27 Jan 2017 09:04:27 +0000 (09:04 +0000)]
Merge "Ensure settings provider joins the rescue party"
Andrii Kulian [Thu, 26 Jan 2017 21:17:27 +0000 (13:17 -0800)]
Allow showing content on virtual displays when locked
This adds new flag to virtual display that changes its
behavior when keyguard is shown, but can be dismissed without
entering credentials. This can be applied only to private
virtual displays.
Bug:
34280365
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testVirtualDisplayHidesContentWhenLocked
Test: #testShowWhenLockedVirtualDisplay
Test: #testShowWhenLockedPublicVirtualDisplay
Change-Id: I9c19d36295e62f59bd1db1352af707d54ea51667
Lorenzo Colitti [Fri, 27 Jan 2017 07:48:01 +0000 (07:48 +0000)]
Merge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master am:
277bd4235e am:
22cd53384c
am:
13df9a8f3b
Change-Id: I21e82ec985335ed9aed78b3fc5dcb005d1ab025b
Hugo Benichi [Fri, 27 Jan 2017 07:43:06 +0000 (07:43 +0000)]
Merge commit '
88932754ffdcbffb3cb43e03991e5eb598c10458' into nyc-mr1-dev-plus-aosp am:
6a688ca1ad -s ours
am:
b7050f527e
Change-Id: Iaaba0c8dd7181a5560158c47e817d31c25d8dbf6
Stephen Chen [Fri, 27 Jan 2017 07:42:07 +0000 (07:42 +0000)]
Merge commit '
48a1136c8b3000c651e8bcd86325acd1dce6e4ec' into nyc-mr1-dev-plus-aosp am:
7bc2aebd53
am:
90de4acf20
Change-Id: I318efe59e1967150338a7bd8001c27d9ebe3cf75
Hugo Benichi [Fri, 27 Jan 2017 07:40:56 +0000 (07:40 +0000)]
Merge commit '
a19056c35d16ddb5a6c1d3343729701b8939f1e1' into nyc-mr1-dev-plus-aosp am:
53095bb5bd -s ours
am:
6917374fde
Change-Id: I7028ef23f597e6e82ecdb6c11a6c8dcdb1d1f77b
Lorenzo Colitti [Fri, 27 Jan 2017 07:37:02 +0000 (07:37 +0000)]
Merge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master am:
277bd4235e
am:
22cd53384c
Change-Id: I03bdbb9fc8ceb6a7180b93c29b1d63b4fd471820
Hugo Benichi [Fri, 27 Jan 2017 07:29:59 +0000 (07:29 +0000)]
Merge commit '
88932754ffdcbffb3cb43e03991e5eb598c10458' into nyc-mr1-dev-plus-aosp
am:
6a688ca1ad -s ours
Change-Id: Icf4cf5e8e95b9de4b313f826a40c1df81c02aa8a
Stephen Chen [Fri, 27 Jan 2017 07:29:07 +0000 (07:29 +0000)]
Merge commit '
48a1136c8b3000c651e8bcd86325acd1dce6e4ec' into nyc-mr1-dev-plus-aosp
am:
7bc2aebd53
Change-Id: I3de8f91b1c9d0160ec58be8347502769580e0159
Hugo Benichi [Fri, 27 Jan 2017 07:28:06 +0000 (07:28 +0000)]
Merge commit '
a19056c35d16ddb5a6c1d3343729701b8939f1e1' into nyc-mr1-dev-plus-aosp
am:
53095bb5bd -s ours
Change-Id: Ie2f8c1e18acf57238fe4816812562ecd1644cf51
Lorenzo Colitti [Fri, 27 Jan 2017 07:26:28 +0000 (07:26 +0000)]
Merge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master
am:
277bd4235e
Change-Id: I02efb8229026eb6ddfbf10bf72645dea10a4215f
Svetoslav Ganov [Fri, 27 Jan 2017 06:43:09 +0000 (22:43 -0800)]
Ensure settings provider joins the rescue party
The settings provider has logic to incrementally reset state
in an effort to recover from pushing a bad value putting the
system in a bad state. The settings provider was not force
persisting its state after a reset so after the reboot we
lost the reset changes. Also while resetting we were also
resetting the package name leading to a promotion of the reset
value to being set by the system. Updated the tests and while at
this added logic to synchronously persist critical settings
such as device provisioned.
Test: All tests pass. Manually tested end-to-end rescue party
bug:
34677175
Change-Id: Ib240072df2fa549dae39c301008adf48cdf1573a
The Android Automerger [Fri, 27 Jan 2017 06:39:52 +0000 (06:39 +0000)]
Merge commit '
88932754ffdcbffb3cb43e03991e5eb598c10458' into nyc-mr1-dev-plus-aosp
* commit '
88932754ffdcbffb3cb43e03991e5eb598c10458':
Captive portals: login activity probes like NetworkMonitor
Logging improvements in CaptivePortalLoginActivity
Captive portal systel log improvements
Fix flaky IpPrefixTest.
Removing bogus file added by mistake
frameworks-test: adding missing @SmallTest
Netd events: record connect() success/errno
Add missing dependency.
Show notification for always-on app VPN
The Android Automerger [Fri, 27 Jan 2017 06:39:41 +0000 (06:39 +0000)]
Merge commit '
48a1136c8b3000c651e8bcd86325acd1dce6e4ec' into nyc-mr1-dev-plus-aosp
* commit '
48a1136c8b3000c651e8bcd86325acd1dce6e4ec':
Implement metered tracking for NetworkStats summary queries.
The Android Automerger [Fri, 27 Jan 2017 06:39:05 +0000 (06:39 +0000)]
Merge commit '
a19056c35d16ddb5a6c1d3343729701b8939f1e1' into nyc-mr1-dev-plus-aosp
* commit '
a19056c35d16ddb5a6c1d3343729701b8939f1e1': (35 commits)
NetworkMonitor: send one DNS probe per web probe
NetworkMonitor metrics: add first validation information
APF: also drop any ICMPv6 RSs
ConnectivityServiceTest: fix testAvoidBadWifiSettings
Fix ConnectivityServiceTest testRequestBenchmark
Switch over to new "time.android.com" NTP pool.
Define API for metering network stats buckets.
Refactored NetworkStatsServiceTest to use Mockito instead of EasyMock.
Use @Ignore to explicitly disable a @Test method.
Fixed NetworkStatsServiceTest and converted it to JUnit4.
VPN network stat accounting changes.
ConnectivityThread: use lazy holder idiom
ConnectivityManager: use ConnectivityThread looper
ConnectivityManager: a simpler CallbackHandler
Indicate the NsdServiceInfo attributes are only filled in for a resolved service.
Add a null check for the OnStartTetheringCallback.
TokenBucket for rate-limiting and throttling
IpConnectivityMetrics reads buffer size in settings
CaptivePortalLogin: set mixed content policy to compatibility.
Add IP conn metrics to dumpsys and bug reports
...
TreeHugger Robot [Fri, 27 Jan 2017 05:44:34 +0000 (05:44 +0000)]
Merge "Fix issues with launching activities on virtual displays"
TreeHugger Robot [Fri, 27 Jan 2017 03:46:31 +0000 (03:46 +0000)]
Merge changes from topic 'session_refactoring'
* changes:
Adds autofill save ui
Moar AutoFill Framework refactoring...
Andrii Kulian [Fri, 27 Jan 2017 03:43:13 +0000 (19:43 -0800)]
Fix issues with launching activities on virtual displays
- Virtual displays might have hdr capabilities not initialized,
which lead to exception when checking.
- Dynamic stacks were mistakenly considered an invalid launch stack.
Test: android.server.cts.ActivityManagerDisplayTests
Change-Id: I20356d6e25cf9e5fa4a3d7bd3699a8e82a73f21a
Paul Navin [Thu, 26 Jan 2017 23:56:08 +0000 (23:56 +0000)]
Add hidden API for whether permission review mode is on.
BUG:
34240393
Change-Id: I68e55767a7da1d457a6cedd210aac9e339fb996c
Doris Liu [Fri, 27 Jan 2017 02:50:04 +0000 (18:50 -0800)]
Use listener to determine whether an Animator has ended
BUG:
34736819
Test: ran cts test for ValueAnimator and AnimatorSet
Change-Id: Ia1070f83833940cb09d26243f5873751d9ca2a38
TreeHugger Robot [Fri, 27 Jan 2017 02:45:13 +0000 (02:45 +0000)]
Merge "Lifecycle guarantees for target fragments"
TreeHugger Robot [Fri, 27 Jan 2017 02:43:47 +0000 (02:43 +0000)]
Merge "Expose Java side for parenting SurfaceControl"
Phil Weaver [Fri, 27 Jan 2017 02:28:54 +0000 (02:28 +0000)]
Merge "Remove unused symbols for a11y."
TreeHugger Robot [Fri, 27 Jan 2017 02:14:14 +0000 (02:14 +0000)]
Merge "Change the theme to light for help activity."
Felipe Leme [Fri, 27 Jan 2017 00:52:12 +0000 (16:52 -0800)]
Adds autofill save ui
Test: Manual verification of save ui
Test: CtsAutoFillServiceTestCases passes
BUG:
31001899
Change-Id: Ibb154fc6108f20e6a1b889549bd264e8b80f2f0c
TreeHugger Robot [Fri, 27 Jan 2017 01:41:30 +0000 (01:41 +0000)]
Merge "StrictMode detectAll() based on target API level."
TreeHugger Robot [Fri, 27 Jan 2017 01:34:36 +0000 (01:34 +0000)]
Merge "Unhide ApplicationInfo.volumeUuid."
TreeHugger Robot [Fri, 27 Jan 2017 01:03:06 +0000 (01:03 +0000)]
Merge "Push mapping from file extension to GID."
Adam Powell [Thu, 26 Jan 2017 22:14:34 +0000 (14:14 -0800)]
Lifecycle guarantees for target fragments
Ported from frameworks/support change id
I824eb312fbdfd6b548fe94aa2cd5b03afbaa97c7
When a target fragment was set using Fragment#setTargetFragment, all
bets were off, especially when restoring from instance state. Order of
lifecyle initialization was undefined meaning that two bugs could
occur, both of which manifested as the target fragment was not
initialized by the time the referring fragment's onCreate ran. One
could happen if the target fragment is on the back stack, the other
could happen if the target fragment was ordered unfortunately in
FragmentManager implementation details. (!)
Fix both by guaranteeing that any target fragment gets pushed forward
to at least the CREATED state before we dispatch any lifecycle events
for the referring fragment.
Add some sanity checks that try to keep developers from setting target
fragments across different FragmentManagers or from creating target
cycles, both of which are bad ideas.
Bug:
33653458
Test: CTS FragmentLifecycleTest
Change-Id: If624d4665d29e205d37b9b384322e64d6d6d3615
Android Build Merger (Role) [Fri, 27 Jan 2017 00:51:15 +0000 (00:51 +0000)]
Merge "Merge "Add a flag to enable/disable the diskstats logging service." into nyc-mr2-dev am:
56d29925ac am:
4726ee4435"
Daniel Nishi [Fri, 27 Jan 2017 00:50:27 +0000 (00:50 +0000)]
Merge "Add a flag to enable/disable the diskstats logging service." into nyc-mr2-dev am:
56d29925ac
am:
4726ee4435
Change-Id: Ib8a6e37e37a73f61eee28a3a656c349af327c230
Android Build Merger (Role) [Fri, 27 Jan 2017 00:50:00 +0000 (00:50 +0000)]
Merge "Add a flag to enable/disable the diskstats logging service. am:
88e45dcd1f am:
2297fd2946"
Daniel Nishi [Fri, 27 Jan 2017 00:49:10 +0000 (00:49 +0000)]
Add a flag to enable/disable the diskstats logging service. am:
88e45dcd1f
am:
2297fd2946
Change-Id: I15391057ae632e36f05231a1d188dd01c1e5da90
Makoto Onuki [Fri, 27 Jan 2017 00:49:05 +0000 (00:49 +0000)]
Merge "Cache isManagedProfile()."
Bill Yi [Fri, 27 Jan 2017 00:44:21 +0000 (00:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am:
6470caa2e2 -s ours
am:
fe6ad95cdc -s ours
Change-Id: I2c05e5319cefd6da5433273e040a667aa161cafa
Bill Yi [Fri, 27 Jan 2017 00:43:20 +0000 (00:43 +0000)]
Import translations. DO NOT MERGE am:
951b1616fc -s ours
am:
ffc4f0e83c -s ours
Change-Id: I0607c22635ee2f90b368777562c407cfa58bb796
Daniel Nishi [Fri, 27 Jan 2017 00:43:02 +0000 (00:43 +0000)]
Merge "Add a flag to enable/disable the diskstats logging service." into nyc-mr2-dev
am:
56d29925ac
Change-Id: Ibb4ae749d9eaa0cc10f2ebb721c2b94fa13cac38
Daniel Nishi [Fri, 27 Jan 2017 00:42:54 +0000 (00:42 +0000)]
Add a flag to enable/disable the diskstats logging service.
am:
88e45dcd1f
Change-Id: Ie822eea68dc0a02c8fad1a838ff9bf23f738106f
Phil Weaver [Fri, 27 Jan 2017 00:38:36 +0000 (16:38 -0800)]
Remove unused symbols for a11y.
Bug:
34738635
Test: These are unused. Verifying the build seems sufficient.
Change-Id: I5bbb97780b1b994871e8c13b1ef58a8a958fa99b
Bill Yi [Fri, 27 Jan 2017 00:38:24 +0000 (00:38 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am:
6470caa2e2 -s ours
Change-Id: I6cea2b032629810b13efba6e2efb18ba2e1e7b0f
Bill Yi [Fri, 27 Jan 2017 00:38:20 +0000 (00:38 +0000)]
Import translations. DO NOT MERGE
am:
951b1616fc -s ours
Change-Id: Id69967bfaa808912b8d31bffabdc0d414454961c
Anton Philippov [Fri, 27 Jan 2017 00:08:24 +0000 (00:08 +0000)]
Add a constant for Backup Settings.
Test: mmma -j40 frameworks/base
Change-Id: I7437e299d17e8fbda6a8f0e332400b7db28b46ba
Daniel Nishi [Fri, 27 Jan 2017 00:35:22 +0000 (00:35 +0000)]
Merge "Add a flag to enable/disable the diskstats logging service." into nyc-mr2-dev
Lorenzo Colitti [Fri, 27 Jan 2017 00:34:13 +0000 (00:34 +0000)]
Merge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master
* changes:
Captive portals: login activity probes like NetworkMonitor
Logging improvements in CaptivePortalLoginActivity
Captive portal systel log improvements
Fix flaky IpPrefixTest.
Removing bogus file added by mistake
frameworks-test: adding missing @SmallTest
Netd events: record connect() success/errno
Add missing dependency.
Show notification for always-on app VPN
Implement metered tracking for NetworkStats summary queries.
NetworkMonitor: send one DNS probe per web probe
NetworkMonitor metrics: add first validation information
APF: also drop any ICMPv6 RSs
ConnectivityServiceTest: fix testAvoidBadWifiSettings
Fix ConnectivityServiceTest testRequestBenchmark
Switch over to new "time.android.com" NTP pool.
Define API for metering network stats buckets.
Refactored NetworkStatsServiceTest to use Mockito instead of EasyMock.
Use @Ignore to explicitly disable a @Test method.
Fixed NetworkStatsServiceTest and converted it to JUnit4.
VPN network stat accounting changes.
ConnectivityThread: use lazy holder idiom
ConnectivityManager: use ConnectivityThread looper
ConnectivityManager: a simpler CallbackHandler
Indicate the NsdServiceInfo attributes are only filled in for a resolved service.
Add a null check for the OnStartTetheringCallback.
TokenBucket for rate-limiting and throttling
IpConnectivityMetrics reads buffer size in settings
CaptivePortalLogin: set mixed content policy to compatibility.
Add IP conn metrics to dumpsys and bug reports
IpConnectivity metrics: add version number
[CS] Remove timeout event after first available
ApfTest: tag tests with @SmallTest or @MediumTest
Unbreak TetherInterfaceStateMachineTest.
Move the connectivity tests to frameworks/base/tests/net.
De-guava BroadcastInterceptingContext and move it to testutils.
Move FakeSettingsProvider to a common location.
ConnectivityServiceTest: mark flaky test as such
Add option to skip and avoid captive portals.
ApfFilter: use elapsedRealTime for RA lifetime
Do not synchronize boolean reads/writes
ApfFilter: systematically use u8, u16, u32 getters
Add fuzzing tests to ApfFilter RA processing
Support timeouts for requestNetwork() invocations.
Silence the obnoxious MTU 0 error message that occur when no MTU is specified for a given network.
TreeHugger Robot [Fri, 27 Jan 2017 00:26:05 +0000 (00:26 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Android Build Merger (Role) [Fri, 27 Jan 2017 00:16:24 +0000 (00:16 +0000)]
Merge "Merge "Increase the character limit for "Use System Selection" message" am:
a7ce460921 am:
d0386d8c07 am:
798e1862bd am:
6fe88fa07b"
Pavlin Radoslavov [Fri, 27 Jan 2017 00:15:37 +0000 (00:15 +0000)]
Merge "Increase the character limit for "Use System Selection" message" am:
a7ce460921 am:
d0386d8c07 am:
798e1862bd
am:
6fe88fa07b
Change-Id: I3c6e6b3078d122b4b188669adea8ac86005a7eb8
Android Build Merger (Role) [Fri, 27 Jan 2017 00:15:01 +0000 (00:15 +0000)]
Merge changes from topic 'am-
eb68d9e366474ba086c6cc9ae44030fe'
* changes:
Merge changes If5025361,Iabe27cd8 am:
0a649bffcc am:
0773d2cc0d am:
26bdc1f273 am:
e0209c2964
hotspot2: added remaining parameters to PasspointConfiguration am:
ddf6fa06c6 am:
44bcb75926 am:
8badc8566a am:
245fddfd80
hotspot2: add support for complete PerProviderSubscription/Policy subtree am:
2d7af45e93 am:
01e738a040 am:
6251e52cc0 am:
98de3a02f5
TreeHugger Robot [Fri, 27 Jan 2017 00:14:22 +0000 (00:14 +0000)]
Merge "Disable RescueParty in debug/lab environments."
Peter Qiu [Fri, 27 Jan 2017 00:13:28 +0000 (00:13 +0000)]
Merge changes If5025361,Iabe27cd8 am:
0a649bffcc am:
0773d2cc0d am:
26bdc1f273
am:
e0209c2964
Change-Id: I358ec7c3c5587a3bf692ae5d99be43ea378f7a67
Chris Craik [Fri, 27 Jan 2017 00:13:16 +0000 (00:13 +0000)]
Merge "Temporarily enable GL validation"
Peter Qiu [Fri, 27 Jan 2017 00:12:22 +0000 (00:12 +0000)]
hotspot2: added remaining parameters to PasspointConfiguration am:
ddf6fa06c6 am:
44bcb75926 am:
8badc8566a
am:
245fddfd80
Change-Id: I6c5914a16371ba123ee5ac743722c9c799c535bb
Peter Qiu [Fri, 27 Jan 2017 00:11:16 +0000 (00:11 +0000)]
hotspot2: add support for complete PerProviderSubscription/Policy subtree am:
2d7af45e93 am:
01e738a040 am:
6251e52cc0
am:
98de3a02f5
Change-Id: I5435de8256c81654e24c3a251df3a35893f4a0d1
Jeff Sharkey [Fri, 27 Jan 2017 00:07:35 +0000 (17:07 -0700)]
Unhide ApplicationInfo.volumeUuid.
Apps need it to interact with the new StorageStatsManager APIs.
Test: builds, boots
Bug:
34723750
Change-Id: I274d5bd425cd401e10647959ba18f9956628d810
Pavlin Radoslavov [Thu, 26 Jan 2017 23:55:43 +0000 (23:55 +0000)]
Merge "Increase the character limit for "Use System Selection" message" am:
a7ce460921 am:
d0386d8c07
am:
798e1862bd
Change-Id: I52bd0ba6cee2435648f1ccf8a53bc9d76526973a
Jeff Sharkey [Thu, 26 Jan 2017 23:48:01 +0000 (16:48 -0700)]
StrictMode detectAll() based on target API level.
Some apps are asking StrictMode to detectAll(), but we should only
trigger the violation types that they would expect based on their
target SDK level. (This prevents us from starting to yell about
violations in new API levels that a developer never would have known
about.)
Test: builds, boots, older apps aren't triggered
Bug:
34735225
Change-Id: Idff1bfdf57c635b828236e34a24d55350b9fa556
Pavlin Radoslavov [Thu, 26 Jan 2017 23:46:49 +0000 (23:46 +0000)]
Merge "Increase the character limit for "Use System Selection" message" am:
a7ce460921
am:
d0386d8c07
Change-Id: I34e41269fd5d47024e211daa4b5c48124e7db0a8
TreeHugger Robot [Thu, 26 Jan 2017 23:46:05 +0000 (23:46 +0000)]
Merge "Add basic AnchoredWindow."
Pavlin Radoslavov [Thu, 26 Jan 2017 23:41:39 +0000 (23:41 +0000)]
Merge "Increase the character limit for "Use System Selection" message"
am:
a7ce460921
Change-Id: I3092241c8b1a6e458b3dc2a1332abbf0d19cf786
Felipe Leme [Tue, 24 Jan 2017 23:10:26 +0000 (15:10 -0800)]
Moar AutoFill Framework refactoring...
* Encapsulated application-level auto-fill logic on AutoFillSession.
Currently, Activity.java directly manages the IAutoFillCallback binder
object used to auto-fill its views, but this logic need to be
extended so Views can use it to draw the auto-fill bar.
* Pass auto-fill id and boundaries to requests
So AutoFillUI can display its affordance in the right places.
* Uses a new auto-fill id on View (instead of reusing accessibility's).
That allows moving the logic on whether a new request should be made or
the existing UI moved to the service side.
* Split service methods in 2, for shell cmd and app
And applied the right permission check on both.
* Removed CancelationSignal from onSaveRequest()
Since it's not really needed.
* Etc...
¯\_(ツ)_/¯
BUG:
34637800
BUG:
31001899
Test: CtsAutoFillServiceTestCases passes
Test: manual verification
Change-Id: Ibd0cb2cfff6d0f6bb6b697a423ed5e89df687b82
Treehugger Robot [Thu, 26 Jan 2017 23:34:36 +0000 (23:34 +0000)]
Merge "Increase the character limit for "Use System Selection" message"
Jeff Sharkey [Thu, 26 Jan 2017 22:46:00 +0000 (15:46 -0700)]
Push mapping from file extension to GID.
An upcoming sdcardfs change will offer to automatically change the
GID of files on external storage based on the extension, but we need
to tell the kernel the mapping that we'd like to see.
This change pushes the current mappings used by installd when kernel
support is detected.
Test: builds, boots, works with old/new kernels
Bug:
34733702
Change-Id: I4a13b17f5a8e080a9bea51b01aa9f1cbf575e0ab
Peter Qiu [Thu, 26 Jan 2017 23:11:17 +0000 (23:11 +0000)]
Merge changes If5025361,Iabe27cd8 am:
0a649bffcc am:
0773d2cc0d
am:
26bdc1f273
Change-Id: I9576f50cc7a922a684efb9ab4e1a57eac766280f
Peter Qiu [Thu, 26 Jan 2017 23:09:59 +0000 (23:09 +0000)]
hotspot2: added remaining parameters to PasspointConfiguration am:
ddf6fa06c6 am:
44bcb75926
am:
8badc8566a
Change-Id: I700aa39aed04e002643371b552647ada2492c6bf
Peter Qiu [Thu, 26 Jan 2017 23:09:07 +0000 (23:09 +0000)]
hotspot2: add support for complete PerProviderSubscription/Policy subtree am:
2d7af45e93 am:
01e738a040
am:
6251e52cc0
Change-Id: I1305266ff24105e5b9326868f3212f8a27802fea
Amith Yamasani [Thu, 26 Jan 2017 23:04:03 +0000 (23:04 +0000)]
Merge "Add NPE check before stopping profiler"
Peter Qiu [Thu, 26 Jan 2017 23:03:03 +0000 (23:03 +0000)]
Merge changes If5025361,Iabe27cd8 am:
0a649bffcc
am:
0773d2cc0d
Change-Id: Ie890d96d2e2741cefc2e20957a65a0cd65c2fe13
Peter Qiu [Thu, 26 Jan 2017 23:01:35 +0000 (23:01 +0000)]
hotspot2: added remaining parameters to PasspointConfiguration am:
ddf6fa06c6
am:
44bcb75926
Change-Id: Ibb587721014dd25243f7423864f1d5019ee42fde
Peter Qiu [Thu, 26 Jan 2017 23:00:38 +0000 (23:00 +0000)]
hotspot2: add support for complete PerProviderSubscription/Policy subtree am:
2d7af45e93
am:
01e738a040
Change-Id: Ic35247930e4c7a99c5408593287926adcc1be8b9
Amith Yamasani [Thu, 26 Jan 2017 22:57:20 +0000 (14:57 -0800)]
Add NPE check before stopping profiler
During crash scenarios, stopProfiling() could be called early.
Change-Id: I6ef78a47e3431dd7c41198ec29d40ebef3928c6a
Fixes:
34744398
Test: N/A