OSDN Git Service
David Stevens [Wed, 23 Aug 2017 01:28:20 +0000 (01:28 +0000)]
Merge "Only use WM screen rotation animation on default display" into oc-mr1-dev
TreeHugger Robot [Wed, 23 Aug 2017 00:20:12 +0000 (00:20 +0000)]
Merge "Image: fix typo" into oc-mr1-dev
TreeHugger Robot [Tue, 22 Aug 2017 23:54:18 +0000 (23:54 +0000)]
Merge "Ensure 36dps around keyguard bouncer" into oc-mr1-dev
Selim Cinek [Tue, 22 Aug 2017 23:20:34 +0000 (23:20 +0000)]
Merge "Fixed a bug where the colorization was lost when reinflating" into oc-mr1-dev
Svetoslav Ganov [Tue, 22 Aug 2017 23:12:25 +0000 (23:12 +0000)]
Merge "Properly compute default and system set flag on an upgrade" into oc-mr1-dev
TreeHugger Robot [Tue, 22 Aug 2017 23:01:21 +0000 (23:01 +0000)]
Merge "Volume dialog touch-tracking is disabled when in zenMute." into oc-mr1-dev
Todd Kennedy [Tue, 22 Aug 2017 23:00:58 +0000 (23:00 +0000)]
Merge "Only log resolution when starting activities" into oc-mr1-dev
TreeHugger Robot [Tue, 22 Aug 2017 22:49:03 +0000 (22:49 +0000)]
Merge "Allow clearing instant app meta-data" into oc-mr1-dev
TreeHugger Robot [Tue, 22 Aug 2017 22:48:14 +0000 (22:48 +0000)]
Merge "Fixed a bug with decorated custom views" into oc-mr1-dev
TreeHugger Robot [Tue, 22 Aug 2017 22:42:57 +0000 (22:42 +0000)]
Merge "Fix issue where clock scale would be wrong in AOD" into oc-mr1-dev
Nate Fischer [Tue, 22 Aug 2017 22:40:39 +0000 (22:40 +0000)]
Merge "WebView: rename initSafeBrowsing and remove shutdownSafeBrowsing" into oc-mr1-dev
Lorenzo Colitti [Tue, 22 Aug 2017 22:06:46 +0000 (22:06 +0000)]
Merge "Tethering offload stats updates are eventually consistent" into oc-mr1-dev
Selim Cinek [Thu, 17 Aug 2017 23:42:51 +0000 (16:42 -0700)]
Fixed a bug where the colorization was lost when reinflating
Because we're reloading the drawable, it's colorfilter was lost.
Let's make sure we're reapplying any tints that we had when doing so.
Test: add colorized notification, reinflate
Change-Id: I11e59636317eb65da5573529f0dd44571ca10cce
Fixes:
63901744
Selim Cinek [Thu, 17 Aug 2017 00:50:20 +0000 (17:50 -0700)]
Fixed a bug with decorated custom views
Even if their layout still maches, the content was unrecoverably
destroyed, so we can't just reapply it anymore.
Fixes:
62911941
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Change-Id: I3a50c96484686958570ac5e4949df3ad4b8a421a
Todd Kennedy [Tue, 22 Aug 2017 20:27:12 +0000 (20:27 +0000)]
Merge "Use the installer package name for broadcasts" into oc-mr1-dev
Svet Ganov [Tue, 22 Aug 2017 19:15:58 +0000 (12:15 -0700)]
Allow clearing instant app meta-data
The package manager has an API to clear the data of an app
which does not work for uninstalled instant apps for which
we store some meta-data (icon, title, cookie). This change
allows clearing the data of an uninstalled instant app.
Test: Instant cookie CTS tests use this API
bug:
64517837
Change-Id: Ia929fead71b5ae786e88ddd0fa8e8a490d970dd0
Beverly [Tue, 22 Aug 2017 18:47:28 +0000 (14:47 -0400)]
Volume dialog touch-tracking is disabled when in zenMute.
When simultaneously touch-sliding the volume dialog and using phone's
volume buttons, volume dialog could get into a weird state
where the volume dialog still thinks their is touch input after
entering/exiting zenMute. This resulted in volume changes when using
the phone volume buttons but no change in the volume dialog UI. To
prevent this, the dialog will ensure there is no touch tracking
when it's in zenMute mode.
Bug:
30746594
Test: manual
Change-Id: I8f16d017d8e37ec7ff2f16df8f4997f64484412e
TreeHugger Robot [Tue, 22 Aug 2017 19:12:17 +0000 (19:12 +0000)]
Merge "Solve AppBackupUtils.signaturesMatch() policies" into oc-mr1-dev
TreeHugger Robot [Tue, 22 Aug 2017 19:11:09 +0000 (19:11 +0000)]
Merge "Add trace counter for target screen brightness." into oc-mr1-dev
Jorim Jaggi [Tue, 22 Aug 2017 18:05:02 +0000 (18:05 +0000)]
Merge "DozeScrimController: Fix tight-posting bug" into oc-mr1-dev
TreeHugger Robot [Tue, 22 Aug 2017 17:03:17 +0000 (17:03 +0000)]
Merge "USB debug dialog won't give permission if obscured." into oc-mr1-dev
Todd Kennedy [Tue, 22 Aug 2017 17:02:12 +0000 (10:02 -0700)]
Only log resolution when starting activities
Change-Id: I406af40953f3d6ade39e1bab18a35c534e308f3e
Fixes:
63804529
Test: Manual. Query web intent, notice no logs are emitted
Test: Manual. Start activity via web intent, notice logs are emitted
Lucas Dupin [Tue, 22 Aug 2017 00:24:27 +0000 (17:24 -0700)]
Fix issue where clock scale would be wrong in AOD
Test: manual
Change-Id: I6591990705d59fa4fe21e8f88b202a9135145e8e
Fixes:
64814616
Phil Weaver [Tue, 22 Aug 2017 16:42:13 +0000 (16:42 +0000)]
Merge "Place focus on window when a11y performs an action" into oc-mr1-dev
Adrian Roos [Tue, 22 Aug 2017 15:27:27 +0000 (15:27 +0000)]
DozeScrimController: Fix tight-posting bug
Fixes a typo that lead to never-ending posting of runnables
Change-Id: I6fb36d000d0af53142576a2deffa49151db270b4
Fixes:
64908631
Test: Repeatedly put the device to sleep and wake up with AOD enabled. Ensure system load stays low.
Bernardo Rufino [Fri, 18 Aug 2017 13:27:31 +0000 (14:27 +0100)]
Solve AppBackupUtils.signaturesMatch() policies
Now we reject unsigned apps, either source or target. Also
added javadoc.
Bug:
37977154
Test: runtest -p com.android.server.backup frameworks-services
Change-Id: I44df43d5322ae64d97f8b19c20db508033301f91
Hugo Benichi [Tue, 22 Aug 2017 04:57:41 +0000 (13:57 +0900)]
Tethering offload stats updates are eventually consistent
This patch removes the call to runWithScissors() in
OffloadController#getTetherStats() that was causing a deadlock when
NetworkStatsService would be polled for stats in certain threading
contexts.
Instead of trying to query the tethering offload HAL synchronously all
the time, this patch:
- changes getTetherStats() to only call into the offload HAL when it
detects that it is called on the same thread as the Tethering handler
thread.
- changes the map of interface to accumulated tethering forwarded stats
to be concurrent.
This makes stats reading from getTetherStats() eventually consistent.
From the point of view of getTetherStats(), it preserves the guarantees
that tethering stats are monotonically increasing, and also guarantees
no tearing between rx bytes and tx bytes.
Bug:
29337859
Bug:
32163131
Bug:
64771555
Test: runtest frameworks-net
Change-Id: Ibcd351ad0225ef146b00a807833f76d2a886f6c1
Hugo Benichi [Tue, 22 Aug 2017 05:52:47 +0000 (05:52 +0000)]
Merge "IpManager: use InitialConfiguration for provisioning" into oc-mr1-dev
TreeHugger Robot [Tue, 22 Aug 2017 02:18:44 +0000 (02:18 +0000)]
Merge "[AWARE] Add a group network specifier allowing matches to multiple requests" into oc-mr1-dev
Nate Fischer [Tue, 22 Aug 2017 00:59:55 +0000 (17:59 -0700)]
WebView: rename initSafeBrowsing and remove shutdownSafeBrowsing
This renames the method as follows:
* initSafeBrowsing -> startSafeBrowsing
This also updates documentation to fix javadoc references, and to
clarify that Safe Browsing checks are not guaranteed until after
startSafeBrowsing() invokes its callback.
This does not change the method name in WebViewFactoryProvider, because
changing this would break CTS tests (since the WebView APK implements
this under the old name).
This also removes shutdownSafeBrowsing, because we found there was no
good use for this (it's meaningless for AOSP, and we were recommended to
avoid calling the underlying GMSCore API for GoogleWebView). More
significantly, there's no good place for an application to call it from.
Bug:
64331900
Test: make update-api (docs are correct)
Change-Id: Idf2b9390306052f5c5dfb92909fca4cfeec74aef
Yin-Chia Yeh [Mon, 21 Aug 2017 22:33:38 +0000 (15:33 -0700)]
Image: fix typo
Test: none (doc only fix)
Bug:
64648913
Change-Id: I98aa7ac1588e52e8dae0cbbda806159f378110ca
Lucas Dupin [Mon, 21 Aug 2017 21:34:23 +0000 (14:34 -0700)]
Ensure 36dps around keyguard bouncer
Simplified bouncer size calculation by setting a default
lateral margin and removing unused dimens.
We can expect the bouncer to grow up to the requested size,
or shrink to incorporate the margins.
Change-Id: I085bc4148aa956b2107ab2a4853e8dd9fcbdce06
Fixes:
64560804
Test: runtest -x packages/SystemUI/tests/src/com/android/keyguard/KeyguardSecurityContainerTest.java
Test: look at keyguard on multiple screen sizes
Adrian Roos [Mon, 21 Aug 2017 22:07:05 +0000 (22:07 +0000)]
Merge "AOD: Only play wakeup animation when actually waking up" into oc-mr1-dev
Baligh Uddin [Mon, 21 Aug 2017 21:52:56 +0000 (21:52 +0000)]
DO NOT MERGE ANYWHERE Revert "Merge "Remove gender-specific pronouns from documentation" into oc-dev" am:
230c78cec5 -s ours
am:
f564bcc159 -s ours
Change-Id: I3bc8768f4790abe57ed64bb516db5dadd9a7dd9c
Tyler Freeman [Mon, 21 Aug 2017 21:41:25 +0000 (21:41 +0000)]
DO NOT MERGE ANYWHERE Manually merge commit '
fd35d7c0a284' into oc-dr1-dev
am:
ca136cdd46 -s ours
Change-Id: I6ac35f90d62b08cb6cae66b9ed001265a7496aea
Baligh Uddin [Mon, 21 Aug 2017 21:40:53 +0000 (21:40 +0000)]
DO NOT MERGE ANYWHERE Revert "Merge "Remove gender-specific pronouns from documentation" into oc-dev"
am:
230c78cec5 -s ours
Change-Id: Ida80fe80780bf4f811aa54e0163f5c936f4d16a6
The Android Automerger [Mon, 21 Aug 2017 21:28:42 +0000 (21:28 +0000)]
DO NOT MERGE ANYWHERE Manually merge commit '
fd35d7c0a284' into oc-dr1-dev
BUG:
64864568
Chris Craik [Mon, 21 Aug 2017 20:02:21 +0000 (20:02 +0000)]
Merge "Disable hwui blending for first draw to main FBO" into oc-mr1-dev
Christopher Tate [Mon, 21 Aug 2017 18:24:30 +0000 (11:24 -0700)]
Fix crash in the Alarm Manager service
Revert the previous change that introduced an unguarded .equals()
invocation.
Fixes:
64881210
Test: manual
Change-Id: Iaf0b5a5e765ac4802df87083edf629a8cd9a90cd
TreeHugger Robot [Mon, 21 Aug 2017 17:58:05 +0000 (17:58 +0000)]
Merge "Log "launched from" packge for all activities" into oc-mr1-dev
TreeHugger Robot [Mon, 21 Aug 2017 16:52:53 +0000 (16:52 +0000)]
Merge "Handle compressed APK enable/disable" into oc-mr1-dev
TreeHugger Robot [Mon, 21 Aug 2017 16:47:21 +0000 (16:47 +0000)]
Merge "Log reportFullyDrawn into TRON" into oc-mr1-dev
TreeHugger Robot [Mon, 21 Aug 2017 16:21:52 +0000 (16:21 +0000)]
Merge "Use top fullscreen window to inherit SystemUI flags" into oc-mr1-dev
Adrian Roos [Mon, 21 Aug 2017 15:17:20 +0000 (17:17 +0200)]
AOD: Only play wakeup animation when actually waking up
Fixes an issue where the wake up animation could play when going to sleep,
if the screen turning on for AOD happened after the finishing going to sleep.
Change-Id: I6b00aaefb672a630f43ca229d6cc66d12bc4205c
Fixes:
64814671
Test: Pull up app launcher, turn off screen, verify AOD does not blink.
Todd Kennedy [Fri, 18 Aug 2017 21:22:50 +0000 (14:22 -0700)]
Handle compressed APK enable/disable
There are two scenarios handled with this change:
* When updates are removed for a compressed APK, we re-scan
the stub and disable the package. The stub must never be
enabled by its own
* When a stub is enabled programatically [eg. via settings],
extract the compressed APK to the data partition, scan
the extracted APKs and only then enable the application
Bug:
64386107
Test: Manual; create a test stub app and verify enable/disable work as expected from the settings UI
Test: Manual; chagne the code to trigger various failures and verify the system remains stable
Change-Id: Ia4cb8e25ce8da11edc910d531eedaa37a9093002
Todd Kennedy [Mon, 21 Aug 2017 14:06:27 +0000 (07:06 -0700)]
Use the installer package name for broadcasts
We would send the broadcast to the installer of record for
the _removed_ package [ie. replaced]. There was no value
containing the installer of record for the _installed_
package. Now prefer to send the broadcast to the installer
of record for the install. Otherwise, use the installer of
record for removal.
Change-Id: Idb1a7fa522a19273eb3641746e1966aa7af97e7c
Fixes:
62905206
Test: Manual. 'adb install test.apk' doesn't fire broadcast to the installer.
Test: Manual. 'adb install -i com.foo test.apk' fires broadcast to "com.foo".
Test: Manual. 'adb install -r test.apk' fires broadcast to "com.foo" installer.
Test: Manual. 'adb install -r -i com.foo2 test.apk' fires broadcast to "com.foo2".
Jorim Jaggi [Thu, 17 Aug 2017 15:22:26 +0000 (17:22 +0200)]
Log reportFullyDrawn into TRON
Test: AppStartTests
Change-Id: I17c511c9c4305c4cb327d52c81d97ad6d6a8c9d3
Fixes:
36093481
Jorim Jaggi [Thu, 17 Aug 2017 11:41:11 +0000 (13:41 +0200)]
Use top fullscreen window to inherit SystemUI flags
The top fullscreen window of an app token is the one we use for
determining SystemUI flags normally. Thus, when showing the
snapshot, we need to inherit the flags from the same window.
Test: Open event in Calendar, go home, reopen Calendar app,
observe no status bar icon color change.
Test: go/wm-smoke
Change-Id: I96678000339617c8fc51e72c0f6e2e167f542491
Fixes:
62871307
Hugo Benichi [Tue, 8 Aug 2017 04:08:06 +0000 (13:08 +0900)]
IpManager: use InitialConfiguration for provisioning
This patch changes IpManager to take into account static provisioning
information specified in the InitialConfiguration for IPv6 static
configuration.
When a valid InitialConfiguration with IPv6 content is specified,
IpManager will do the following things:
- at start(), it will push the IPv6 addresses in the config to netd
- it will observe all addresses be notified via Netlink
- when all addresses are there, it will patch in the associated IPv6
routes in the config, so that they get passed to ConnectivityService
through the usual mechanism
The logic triggering onProvisioningSuccess is also changed to take into
account InitialConfiguration: when all addresses and all routes in the
config are seen the provisioning is successful.
Bug:
62988545
Test: runtest frameworks-net, with newly added tests
Merged-In: I77ed7c576c4b198de7a4726be70c78b74689e98b
Merged-In: I131589680b68222e4fda4e9165ac2f50894ee28e
Merged-In: I6e42d26ae430c213f65e466a2c556760ff0e14eb
Merged-In: I8e9c6de63697b8c3f41480d69309360763119838
Merged-In: I80439f92cad469ac77c11430727e5207e75cf432
(cherry picked from commit
d00ddf567235e20bcbdc527ae20824fa944c3a64)
Change-Id: I7b1ced13361f49a92b10174486de9a1f70dd68d1
Juho Ha [Mon, 12 Jun 2017 11:15:31 +0000 (20:15 +0900)]
Disable task snapshot when image size is invalid
Since devices such as IoT can have no screen, the size of
graphic buffer can be 1x1. In this case the WindowManager crashes
while making bitmap with reduced size.
To prevent the crash, disabled snapshotting on this screen.
This may also happen on phones sporadically.
Bug:
62401135
Fixes:
64733031
Test: Device without the display does not crash when app dies.
Change-Id: I367008405e6238baf3e56974f7d363ea81dfa916
(cherry picked from commit
9035d72c61868193b5630db16a71a0d208bc4666)
TreeHugger Robot [Mon, 21 Aug 2017 05:29:05 +0000 (05:29 +0000)]
Merge "heif: add new file and mime types to MediaScanner -- DO NOT MERGE" into oc-mr1-dev
Hugo Benichi [Mon, 21 Aug 2017 03:24:06 +0000 (03:24 +0000)]
Merge "Really allow NetworkAgent immutable updates to NetworkCapabilities" into oc-mr1-dev
Baligh Uddin [Sat, 19 Aug 2017 22:31:46 +0000 (15:31 -0700)]
DO NOT MERGE ANYWHERE Revert "Merge "Remove gender-specific pronouns from documentation" into oc-dev"
Bug:
64864568
This reverts commit
fd35d7c0a284e31231e2f424cade864be695965b, reversing
changes made to
07a21754f45672b27e765d8c7677c9663c6dce91.
Lorenzo Colitti [Tue, 18 Jul 2017 15:23:44 +0000 (00:23 +0900)]
Minor fixes for netd restarts and StrictController.
1. Ensure we don't change strict mode network policy for a given
UID from a non-accept policy to another non-accept policy,
as netd does not support this.
2. Move the "strict enable" and "bandwidth enable" commands
inside the lock. This improves correctness, and it is safe to
do now that those commands now only take a few milliseconds,
instead of several hundred milliseconds.
3. Fix an NPE in connectNativeNetdService which causes the system
to crash when netd crashes.
(cherry picked from commit
8c253ade20827e16720c4a0d58cddfe72350e677)
Bug:
28362720
Test: bullhead builds, boots
Test: "adb shell killall netd" no longer crashes the system
Change-Id: Iac72cf0011a7d3be4f4b1a5f21dd8cfb519e2b89
Merged-In: I2ce3b63e4cc9bf0416f02f550f44cf188980af50
Lorenzo Colitti [Sat, 19 Aug 2017 00:54:59 +0000 (00:54 +0000)]
Merge "Add tether offload traffic to interface stats as well." into oc-mr1-dev
Tyler Freeman [Sat, 19 Aug 2017 00:11:01 +0000 (00:11 +0000)]
Merge "Remove gender-specific pronouns from documentation" into oc-dev
TreeHugger Robot [Sat, 19 Aug 2017 00:09:41 +0000 (00:09 +0000)]
Merge "Improve alarm in-flight diagnostics" into oc-mr1-dev
Chong Zhang [Wed, 16 Aug 2017 18:57:02 +0000 (11:57 -0700)]
heif: add new file and mime types to MediaScanner -- DO NOT MERGE
bug:
64077740
Change-Id: I6d36c2394a5ae527026c98c83786009e70b20958
Arun [Mon, 23 Jan 2017 12:47:57 +0000 (12:47 +0000)]
Disable hwui blending for first draw to main FBO
bug:
34809371
In some applications, the first draw is not opaque - either because the
application is misbehaved, or because hwui is not able to reliably tell
whether the layer is opaque or translucent. This is undefined behaviour
in OpenGL ES and has a significant performance and bandwidth impact on
some tiler GPUs as it requires loading the previous frame's color data.
This change disables blending in that case and also for effectively
opaque blend modes (SRC=GL_ONE, DST=GL_ZERO). It increases performance
by ~10% for Leanback CTS on some low-end GPUs (gradient layer that hwui
incorrectly believes to be translucent).
Test: manual - visual inspection on fugu (nexus player)
Change-Id: I2cbf1c76678acae1a36923e72fd18ed55cd89dc2
TreeHugger Robot [Fri, 18 Aug 2017 23:31:37 +0000 (23:31 +0000)]
Merge "SyncManager: detect suspicious periodic sync removal." into oc-mr1-dev
TreeHugger Robot [Fri, 18 Aug 2017 22:18:57 +0000 (22:18 +0000)]
Merge "Fixed a bug where a removed notification would stick around" into oc-mr1-dev
Todd Kennedy [Fri, 18 Aug 2017 22:05:01 +0000 (15:05 -0700)]
Log "launched from" packge for all activities
Change-Id: I2d06dcd7d4ff7686e72ee24bd349e0f5e1b8273e
Fixes:
63992855
Test: Manual. Start an app and see that the from package is logged.
Tyler Freeman [Wed, 9 Aug 2017 20:55:44 +0000 (13:55 -0700)]
Remove gender-specific pronouns from documentation
Bug:
64847340
Change-Id: Ifc48cebbab8ad1d7223d75637eb63049bc28ae7c
Bryce Lee [Fri, 18 Aug 2017 21:33:46 +0000 (21:33 +0000)]
Merge "Don't resume activity if user is locked and encryption is unsupported" into oc-mr1-dev
Christopher Tate [Fri, 18 Aug 2017 00:12:52 +0000 (17:12 -0700)]
Improve alarm in-flight diagnostics
Also, use .equals() rather than == when searching the list of in-flight
operations. Sometimes we appear to fail to match PendingIntents when
their send() completes, for unknown reasons, and this specific point of
usage is one where a mismatch might lead to the observed behavior.
(It is still unknown why == might ever fail here, and the problem is not
readily reproducible.)
Bug:
64358454
Test: manual, observing correctness of the diagnostics
Change-Id: I4f5c07b0df44dfb4c292976b3a49482ed408d12c
Makoto Onuki [Thu, 17 Aug 2017 21:03:48 +0000 (14:03 -0700)]
SyncManager: detect suspicious periodic sync removal.
- Also disallow and detect JobScheduler.cancelAll() for the system UID.
- Also wtf() if jobs.xml can't be read.
Bug:
64536115
Test: boot, add & remove google accounts
Change-Id: I953c12f70b479cf5f71a81a3787c103599f243c8
TreeHugger Robot [Fri, 18 Aug 2017 20:50:07 +0000 (20:50 +0000)]
Merge "Avoid potential reboot loop due to package cache" into oc-mr1-dev
Pankaj Kanwar [Fri, 18 Aug 2017 20:23:08 +0000 (20:23 +0000)]
Merge "Building IMSI encryption support." into oc-mr1-dev
Selim Cinek [Fri, 18 Aug 2017 19:24:38 +0000 (12:24 -0700)]
Fixed a bug where a removed notification would stick around
Because we going back to the keyguard, the translation was
reset and the callback would not be called, leaving us with
a stuck notification.
Test: have only 1 notification in shade locked an swipe it away after doing a half-swipe first
Change-Id: Iea2db4ff7efa2e84aa36cd13cfa8cfa1859d6892
Fixes:
64762751
TreeHugger Robot [Fri, 18 Aug 2017 18:18:57 +0000 (18:18 +0000)]
Merge "Exclude autogrouping from rate limiter" into oc-mr1-dev
Makoto Onuki [Fri, 18 Aug 2017 18:00:19 +0000 (11:00 -0700)]
Avoid potential reboot loop due to package cache
Bug:
64295061
Test: Boot (write package cache) and reboot (read package cache)
Change-Id: I5de712c9666bac71ff6121001163ebc90c4b62d0
TreeHugger Robot [Fri, 18 Aug 2017 17:55:46 +0000 (17:55 +0000)]
Merge "Clean up binding list on error" into oc-mr1-dev
TreeHugger Robot [Fri, 18 Aug 2017 17:37:12 +0000 (17:37 +0000)]
Merge "AOD: Fix LockIcon click handler" into oc-mr1-dev
pkanwar [Tue, 4 Jul 2017 23:04:44 +0000 (16:04 -0700)]
Building IMSI encryption support.
Added additional error checks while returning the key.
Create config parameter:
1. IMSI_KEY_AVAILABILITY_INT.
BUG:
35606429
Test: manual
Change-Id: Iaa5fed3b51719679051626081d82b85a04128896
TreeHugger Robot [Fri, 18 Aug 2017 16:24:43 +0000 (16:24 +0000)]
Merge "LockSettings: Enforce permission check on havePattern/havePassword/systemReady" into oc-mr1-dev
Lorenzo Colitti [Thu, 17 Aug 2017 10:23:08 +0000 (19:23 +0900)]
Add tether offload traffic to interface stats as well.
Currently, we only count add tethering traffic to per-UID
stats, but not to total data usage (i.e., dev and XT stats). This
is correct for software tethering, because all software forwarded
packets are already included in interface counters, but it is
incorrect for hardware offload, because such packets do not
increment interface counters.
To fix this:
1. Add an argument to ITetheringStatsProvider#getTetherStats to
indicate whether per-UID stats are requested. For clarity,
define integer constants STATS_PER_IFACE and STATS_PER_UID
to represent these operations.
2. Make NetdTetheringStatsProvider return stats only if per-UID
stats are requested. (Otherwise tethering traffic would be
double-counted).
3. Make OffloadController's stats provider return the same
stats regardless of whether per-UID stats were requested or
not.
4. Make NetworkStatsService add non-per-UID tethering stats to
the dev and XT snapshots. The per-UID snapshots were already
correctly adding in per-UID stats.
Bug:
29337859
Bug:
32163131
Test: runtest frameworks-net
Test: runtest frameworks-telephony
Change-Id: I7a4d04ab47694d754874136179f8edad71099638
Julia Reynolds [Fri, 18 Aug 2017 13:22:40 +0000 (09:22 -0400)]
Exclude autogrouping from rate limiter
To prevent concurrent updates from the app from
being dropped
Test: cts, notificationmanagertest
Change-Id: Id5047b04644599a862f1b6d2a340bc79ad761f9f
Fixes:
64804822
Julia Reynolds [Fri, 18 Aug 2017 13:21:36 +0000 (09:21 -0400)]
Clean up binding list on error
So that we can try again
Test: manual
Change-Id: I6be1e8d0377930d52c599261a7381c1e377cbcfc
Fixes:
64458792
Hugo Benichi [Fri, 18 Aug 2017 05:41:22 +0000 (14:41 +0900)]
Really allow NetworkAgent immutable updates to NetworkCapabilities
This patch completes commit
bae105a5ccd11430bab14721d1325e2303a673da to
really allow updates of immutable capabilities to NetworkCapabilities of
NetworkAgents by using satisfiedByImmutableNetworkCapabilities instead
satisfiedByNetworkCapabilities.
Bug:
64125969
Test: runtest frameworks-net
Merged-In: I9beeb623792f0ee31abcd4ba9d0ba2451304fb2e
Merged-In: Ifbdd005576b3f0fbf278ecec81ce3e4308c6276d
Merged-In: Id352fdb6da21a2150d3e8d062d7eba11878f6919
Merged-In: If3742ea0e2151b9b710eda2fed280c31f7960393
Merged-In: Icd8e328e3c810a644bfb83798bd42fed8dc70425
(cherry picked from commit
a60c6eab42cd904faaf26c23100939d397b80c39)
Change-Id: I737494117d7f1e0198f0ad4d3c41019c9295fe09
Hugo Benichi [Fri, 18 Aug 2017 11:46:22 +0000 (11:46 +0000)]
Merge "Allow NetworkAgent "immutable updates" to NetworkCapabilities" into oc-mr1-dev
TreeHugger Robot [Fri, 18 Aug 2017 03:17:48 +0000 (03:17 +0000)]
Merge "Add Audio effect session intent to config file" into oc-mr1-dev
Bryce Lee [Fri, 18 Aug 2017 02:04:17 +0000 (02:04 +0000)]
Merge "Only update reported configuration when triggered from AM side." into oc-mr1-dev
Nathan Harold [Fri, 18 Aug 2017 01:59:06 +0000 (01:59 +0000)]
Merge "Cleanup ServiceState.toString()" into oc-mr1-dev
TreeHugger Robot [Fri, 18 Aug 2017 01:27:54 +0000 (01:27 +0000)]
Merge "If an Activity transitions to VR, then ensure it's in the main stack." into oc-mr1-dev
Seigo Nonaka [Fri, 18 Aug 2017 01:02:38 +0000 (01:02 +0000)]
Merge "Fix race condition of removing surface." into oc-dev am:
07a21754f4 -s ours
am:
688a98b415 -s ours
Change-Id: I50b69d1f061d62e8441816dc70a7bdcdf97d53d3
Seigo Nonaka [Fri, 18 Aug 2017 00:49:08 +0000 (00:49 +0000)]
Merge "Fix race condition of removing surface." into oc-dev
am:
07a21754f4 -s ours
Change-Id: Ic850275cc7f81629adcc5081ec9f137e531b9495
TreeHugger Robot [Fri, 18 Aug 2017 00:40:55 +0000 (00:40 +0000)]
Merge "Fix race condition of removing surface." into oc-dev
TreeHugger Robot [Fri, 18 Aug 2017 00:30:13 +0000 (00:30 +0000)]
Merge "Bluetooth: Fix startAdvertisingSet error handling" into oc-mr1-dev
Christopher Tate [Fri, 18 Aug 2017 00:24:09 +0000 (17:24 -0700)]
Add Audio effect session intent to config file
Currently audio effect panel can't receive session
intent if app targetSdkVersion is Android O or later.
Because the intent is limited on background.
However this kind of application needs to receive
the intent when application plays music.
Bug:
62777192
Test: manual
Cherrypick of partner CL 870245
Change-Id: Ibcebb938fa9177a9b0a7be079b1c7374ba9424ee
TreeHugger Robot [Fri, 18 Aug 2017 00:16:46 +0000 (00:16 +0000)]
Merge "Bluetooth: Don't throw exception when stopAdvertisingSet fails" into oc-mr1-dev
TreeHugger Robot [Fri, 18 Aug 2017 00:15:31 +0000 (00:15 +0000)]
Merge "Add LOCATION_HARDWARE permission to Rtt API." into oc-mr1-dev
Casey Burkhardt [Thu, 17 Aug 2017 23:50:43 +0000 (23:50 +0000)]
Merge "Make isAccessibilityButtonSupported public" into oc-mr1-dev
Phil Weaver [Wed, 16 Aug 2017 20:04:20 +0000 (13:04 -0700)]
Place focus on window when a11y performs an action
Bug:
62344706
Test: Now able to bring up keyboard in split-screen mode.
Also a11y CTS and unit tests pass.
Change-Id: Ic4340425680c89e8fc5e586aa1d363b01fd69763
TreeHugger Robot [Thu, 17 Aug 2017 23:45:05 +0000 (23:45 +0000)]
Merge "Fix error message strings" into oc-mr1-dev
Siyamed Sinir [Thu, 17 Aug 2017 23:39:10 +0000 (23:39 +0000)]
Merge "Fix email auto link when there are two chars in local part" into oc-mr1-dev
TreeHugger Robot [Thu, 17 Aug 2017 23:37:56 +0000 (23:37 +0000)]
Merge "Modified the vibration of the notification panel" into oc-mr1-dev
Bryan Eyler [Thu, 17 Aug 2017 23:31:10 +0000 (23:31 +0000)]
Merge "Add user selection to car status bar and animate." into oc-mr1-dev
Julia Reynolds [Thu, 17 Aug 2017 23:13:29 +0000 (23:13 +0000)]
Merge "Let the foreground service channel be blocked" into oc-dr1-dev
am:
6614a2e5d0
Change-Id: Ic155670df78a6e779174cbd705f07260c8d305b6
TreeHugger Robot [Thu, 17 Aug 2017 23:03:35 +0000 (23:03 +0000)]
Merge "Let the foreground service channel be blocked" into oc-dr1-dev
Santos Cordon [Fri, 21 Jul 2017 23:15:13 +0000 (16:15 -0700)]
If an Activity transitions to VR, then ensure it's in the main stack.
Bug:
62791734
Test: Manual. From VR, start an app that sets VR dynamically via
Activity.setVrModeEnabled. Ensure it transitions from virtual display
to main display via added logging and 'adb shell am stack list'.
Change-Id: I11c1aad09e41666b928a6c2d896f9f2e22bb1aa5