Commit Graph

444935 Commits

Author SHA1 Message Date
Bill Yi
a76a632f5d Import translations. DO NOT MERGE
Change-Id: I0e8b3d3d7c1af28dfd75035552ed3b844ebe04bf
Auto-generated-cl: translation import
2019-09-21 16:33:53 -07:00
TreeHugger Robot
28d49244b7 Merge "Update PASSWORD_QUALITY_COMPLEX & setPasswordHistoryLength javadocs" 2019-09-21 02:41:20 +00:00
Nader Jawad
95f6e0a4e2 [automerger skipped] Merge "Revert "Fixed default angle to be Orientation.LEFT_RIGHT"" into qt-qpr1-dev am: 9e3ef79a9f
am: 431ef55e8b -s ours
am skip reason: change_id Ib8983386832fb25f53b5e68e76e9d41d9d26fec9 with SHA1 87e5b74f8d is in history

Change-Id: I693274e8c4d5506cea89c69da2b3629906f9b076
2019-09-20 18:53:39 -07:00
Lorenzo Colitti
cd06da06a5 Merge "notify netd about uid internet permission changes when package replaced" into qt-qpr1-dev am: 34c5cbeba2
am: c14a486d06

Change-Id: Icbaa97a0c8bd7fe2700fde1eb0aad32a284f8aee
2019-09-20 18:51:12 -07:00
Chris.CC Lee
3d45fc701d Merge "Apply front scrim to doze pulsing" into qt-qpr1-dev am: 513a591c02
am: cc5500b866

Change-Id: I21f44e3e1c1c3d01ebdc3578ef64007db22601d2
2019-09-20 18:47:20 -07:00
Nader Jawad
431ef55e8b Merge "Revert "Fixed default angle to be Orientation.LEFT_RIGHT"" into qt-qpr1-dev
am: 9e3ef79a9f

Change-Id: I3f24f9be2b27bf8ae54e492bdca31ed7894e9f01
2019-09-20 18:42:15 -07:00
Lorenzo Colitti
c14a486d06 Merge "notify netd about uid internet permission changes when package replaced" into qt-qpr1-dev
am: 34c5cbeba2

Change-Id: I4be29ac58124838dc7e4c5c99fd9bb4ffe3e36c9
2019-09-20 18:38:50 -07:00
Chris.CC Lee
cc5500b866 Merge "Apply front scrim to doze pulsing" into qt-qpr1-dev
am: 513a591c02

Change-Id: I59a7484513dfd2bea95d0d5c8691f9c4e31e5ebc
2019-09-20 18:34:12 -07:00
TreeHugger Robot
9e3ef79a9f Merge "Revert "Fixed default angle to be Orientation.LEFT_RIGHT"" into qt-qpr1-dev 2019-09-21 01:14:13 +00:00
TreeHugger Robot
f453e78185 Merge "AudioService: simplify/document locking" 2019-09-21 01:11:33 +00:00
Lorenzo Colitti
34c5cbeba2 Merge "notify netd about uid internet permission changes when package replaced" into qt-qpr1-dev 2019-09-21 01:00:55 +00:00
TreeHugger Robot
513a591c02 Merge "Apply front scrim to doze pulsing" into qt-qpr1-dev 2019-09-21 00:59:16 +00:00
Christine Tsai
a03d50a653 Merge "Reorganize MetricProducer.h" 2019-09-21 00:34:42 +00:00
TreeHugger Robot
b31dc5ad20 Merge "Only allow INSTALL_ALLOW_TEST from shell or root" 2019-09-21 00:08:39 +00:00
TreeHugger Robot
427356e1b3 Merge "Updated ViewPropertyAnimator to call View methods" 2019-09-21 00:00:02 +00:00
TreeHugger Robot
5695a3eedb Merge "CallScreeningService API changed." 2019-09-20 23:59:38 +00:00
Rob Carr
89c64cd195 Merge "SurfaceView: Destroy SurfaceControl from RenderThread" 2019-09-20 23:43:13 +00:00
Philip P. Moltmann
c9c0b9f270 [automerger skipped] Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-qpr1-dev am: 0698185471
am: 25c6efe338 -s ours
am skip reason: subject contains skip directive

Change-Id: Iaec2a87cfbda8c1b36812ef2e7872bbd1de2a27c
2019-09-20 16:34:26 -07:00
Philip P. Moltmann
1d41338db6 [automerger skipped] [DO NOT MERGE] Split access-media-storage from read-external-storage am: ac7b10c135
am: 2a5ee6ec38 -s ours
am skip reason: subject contains skip directive

Change-Id: I22bf19ce5a9c3d767093fbac8ecac4c984fcaffc
2019-09-20 16:34:23 -07:00
Jean-Michel Trivi
17cf02f311 AudioService: simplify/document locking
In AudioDeviceBroker, mDeviceStateLock was the main lock and
was previously used almost as a global synchronization, present
on the handling of most messages, and numerous other methods
without actually protecting the only states it maintains. Note
that BtHelper and AudioDeviceInventory have their own sync
model, so they don't need to be protected by a lock from
AudioDeviceBroker.
  This CL renames mDeviceStateLock to mDeviceBrokerLock
specifically protecting:
- "force use" setting for communication
- Bluetooth A2DP enabled (coming from AudioManager API)
- all management of the message queue, both for enqueueing
  and removal (which was exposed to race condition since commit
  dc552e9 for A2DP (dis)connection.
It also removes the lock used to synchronize the audio mode
owner with the SCO operations: the only information AudioDeviceBroker
needed from AudioService regarding audio mode was the PID of the
mode owner. The new code uses an atomic integer to store/provide
this information, instead of relying on a shared lock amongst
multiple classes.
  Add test for behavior where media gets unmuted if it was muted
when the user connects an A2DP headset.

Bug: 140200704
Test: atest AudioDeviceBrokerTest ; atest AudioManagerTest
Change-Id: I555145c9673fc634ec0c2af9da718e084f3ac067
2019-09-20 16:31:24 -07:00
Nader Jawad
85c1a0c6b9 Revert "Fixed default angle to be Orientation.LEFT_RIGHT"
This reverts commit d31d096720.

Reason for revert: Although this change fixed the behavior change for for creation of
GradientDrawables defined in xml, the default value for GradientDrawables defined
programmatically is different. The default orientation for GradientDrawables defined
in xml is LEFT_RIGHT, however, the default orientation for GradientDrawables defined
programmatically is TOP_BOTTOM. Since a fix for AAPT has been made to automatically
insert an angle measurement of 0 if one is not defined, we can revert this CL and target
a proper fix in master.

Change-Id: Ib8983386832fb25f53b5e68e76e9d41d9d26fec9
Merged-In: Ib8983386832fb25f53b5e68e76e9d41d9d26fec9
2019-09-20 23:27:20 +00:00
TreeHugger Robot
636209dec8 Merge "Revert "Fixed default angle to be Orientation.LEFT_RIGHT"" 2019-09-20 23:24:55 +00:00
Philip P. Moltmann
25c6efe338 Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-qpr1-dev
am: 0698185471

Change-Id: Ic62a47c781c9a5157060f3311f2d6c7a6a22eb5a
2019-09-20 16:20:08 -07:00
Philip P. Moltmann
2a5ee6ec38 [DO NOT MERGE] Split access-media-storage from read-external-storage
am: ac7b10c135

Change-Id: I50bb8b630a4834314f2a7ff4b78838ca221f7c77
2019-09-20 16:19:56 -07:00
Kevin Hufnagle
2dcf88a9dd Merge "docs: Fixed link to material design for ScrollView" into qt-dev am: 80b543b45a am: 71f8040c3b am: 02895d2b68
am: 349797d8e9

Change-Id: Ifc5e2d1b12d84b50f35846d021ca3884c5ce3402
2019-09-20 16:13:54 -07:00
Philip P. Moltmann
0698185471 Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-qpr1-dev 2019-09-20 23:09:43 +00:00
Kevin Hufnagle
7968676de7 Merge "docs: Fixed link to material design for ScrollView" into qt-dev am: 80b543b45a am: 71f8040c3b am: 379b87531b
am: fe98a0d3bf

Change-Id: I164a9eaaf8eb9b15689203addc1083b6bedaac58
2019-09-20 16:05:09 -07:00
Kevin Hufnagle
349797d8e9 Merge "docs: Fixed link to material design for ScrollView" into qt-dev am: 80b543b45a am: 71f8040c3b
am: 02895d2b68

Change-Id: I08cbaf5c894ec21a2b732ee074e5d9054e655c8b
2019-09-20 16:04:31 -07:00
Kevin Hufnagle
fe98a0d3bf Merge "docs: Fixed link to material design for ScrollView" into qt-dev am: 80b543b45a am: 71f8040c3b
am: 379b87531b

Change-Id: Ia2422002d2f4b654c75116003501a248b65bf07d
2019-09-20 15:54:00 -07:00
TreeHugger Robot
ea2a0eb8f5 Merge "Clear reference to EnterTransitionCoordinator when done" 2019-09-20 22:51:15 +00:00
Nicholas Ambur
c75ccb8903 Merge "Revert "change KeyphraseEnrollmentInfo to store services"" 2019-09-20 22:49:03 +00:00
Kevin Hufnagle
02895d2b68 Merge "docs: Fixed link to material design for ScrollView" into qt-dev am: 80b543b45a
am: 71f8040c3b

Change-Id: I74db351472073245b6ce12a8680451c06622f618
2019-09-20 15:47:25 -07:00
Kevin Hufnagle
379b87531b Merge "docs: Fixed link to material design for ScrollView" into qt-dev am: 80b543b45a
am: 71f8040c3b

Change-Id: I317e75554f4741551e8221bfacb447ad0e914f4e
2019-09-20 15:47:23 -07:00
Kevin Hufnagle
71f8040c3b Merge "docs: Fixed link to material design for ScrollView" into qt-dev
am: 80b543b45a

Change-Id: Ic7cc4494a88e6feaedf85626270ed1e8057189f5
2019-09-20 15:39:50 -07:00
Grace Jia
7e33dffaca CallScreeningService API changed.
Test: manual
Change-Id: Idf44886158dcebf96e8bdffd98be3621f496deaa
2019-09-20 22:16:31 +00:00
Kevin Hufnagle
80b543b45a Merge "docs: Fixed link to material design for ScrollView" into qt-dev 2019-09-20 22:14:46 +00:00
Xiangyu/Malcolm Chen
a80a7ac63a Merge "Add APIs to return max possible active phones." 2019-09-20 22:07:44 +00:00
Nader Jawad
6fa971bab3 Updated ViewPropertyAnimator to call View
methods

Modified ViewPropertyAnimator to call directly
into View setters instead of RenderNode APIs to match
implementation of FloatProperty objects on View. This
makes the animation APIs consistent with one another
and always call through the proper code paths to
give View implementations an opportunity to handle
alpha changes themselves.

Bug: 140961174
Test: Added CTS tests for ViewPropertyAnimator
Change-Id: I1c0023af50be47786296b46510034eb798658c20
2019-09-20 14:55:14 -07:00
tsaichristine
a05cfe0e34 Reorganize MetricProducer.h
Test: bit statsd_test:* &&
  atest <metric CTS tests>
Change-Id: Id6f8324feb7fdcc1e66e3d1c671ff29729a18660
2019-09-20 14:52:42 -07:00
Robert Carr
005c63e8c6 SurfaceView: Destroy SurfaceControl from RenderThread
Currently there is a race where the UI thread can destroy
the SurfaceControl (free the C++ object) while the RenderThread
still has pending operations on it. To fix have the positionLost callback handle the destruction.

Bug: 139111930
Bug: 136808018
Test: go/wm-smoke
Change-Id: Id5225e1e47046d928f8298de38ff61662debe360
2019-09-20 14:48:40 -07:00
Winson Chung
95112612bb Merge "Add wallpaper leash for remote and recents animations" 2019-09-20 21:28:29 +00:00
Alec Mouri
5d76d44153 Merge "[HWUI] Use ANativeWindow_setDequeueTimeout" 2019-09-20 21:06:30 +00:00
Philip P. Moltmann
c12ee77b3d Merge "Fix dumpsys for appops proxy field" into qt-qpr1-dev am: 30c48bb54a
am: d69f2f1b97

Change-Id: I75efa3cb1cbd86bd697188e34ae51c75866a44e3
2019-09-20 13:50:46 -07:00
George Mount
785334aeaf Clear reference to EnterTransitionCoordinator when done
Fixes: 141162306

When transitions have completed, the EnterTransitionCoordinator
is no longer needed, so should be cleared so that its references
can be released.

Test: ran code producing the leak
Change-Id: Ia049d88a45dc27b77fcf4ab58a444457a6b87f88
2019-09-20 13:47:35 -07:00
Evan Laird
4070153200 Merge "Remove 'x' policy for non-default DSDS SIM" into qt-qpr1-dev am: ccb430008e
am: 883a93b56d

Change-Id: I9f65655e16583c607e4bdb0bcfca726532e7c7bf
2019-09-20 13:47:16 -07:00
Todd Kennedy
01519167bd Only allow INSTALL_ALLOW_TEST from shell or root
Bug: 141169173
Test: Manual. App can't be installed as test-only
Change-Id: Ib6dcca7901aa549d620448c0165c22270a3042be
2019-09-20 13:45:15 -07:00
Philip P. Moltmann
d69f2f1b97 Merge "Fix dumpsys for appops proxy field" into qt-qpr1-dev
am: 30c48bb54a

Change-Id: Id521633187bce10f41dce10ba4198bc42e9f363c
2019-09-20 13:41:11 -07:00
Evan Laird
883a93b56d Merge "Remove 'x' policy for non-default DSDS SIM" into qt-qpr1-dev
am: ccb430008e

Change-Id: I900eb7024f7c909c9217248888e42da2be229253
2019-09-20 13:36:26 -07:00
Philip P. Moltmann
30c48bb54a Merge "Fix dumpsys for appops proxy field" into qt-qpr1-dev 2019-09-20 20:33:48 +00:00
TreeHugger Robot
ccb430008e Merge "Remove 'x' policy for non-default DSDS SIM" into qt-qpr1-dev 2019-09-20 20:22:59 +00:00