OSDN Git Service
TreeHugger Robot [Mon, 3 Jun 2019 23:58:17 +0000 (23:58 +0000)]
Merge "Don't auto-connect to networks that have no/limited connectivity." into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 22:52:59 +0000 (22:52 +0000)]
Merge "RootViewImpl: Fix measure size hint for WRAP_CONTENT windows" into qt-dev
Svetoslav Ganov [Mon, 3 Jun 2019 22:38:35 +0000 (22:38 +0000)]
Merge "[DO NOT MERGE] Handle config override via settings correctly" into qt-dev
Chavi Weingarten [Mon, 3 Jun 2019 22:22:49 +0000 (22:22 +0000)]
Merge "Clear VISIBLE_FOR_USER flag when isHiddenFromUser is true" into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 21:48:24 +0000 (21:48 +0000)]
Merge "Revert "Offload role manager work to background thread"" into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 21:29:16 +0000 (21:29 +0000)]
Merge "Sharesheet - Adjust dark mode colors for GAR" into qt-dev
Heemin Seog [Mon, 3 Jun 2019 21:17:01 +0000 (21:17 +0000)]
Merge "Small fixes to CarSysUI Volume Dialog" into qt-dev
Makoto Onuki [Mon, 3 Jun 2019 20:57:21 +0000 (20:57 +0000)]
Merge "Remove STOPSHIP (disable debug flag) in WatchDog.java" into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 20:31:59 +0000 (20:31 +0000)]
Merge "Remove stopship for idmap2 vendor sdk checking" into qt-dev
Jeff Sharkey [Mon, 3 Jun 2019 20:11:33 +0000 (20:11 +0000)]
Merge "Collect NeededUriGrants without holding locks." into qt-dev
Ritwika Mitra [Mon, 3 Jun 2019 19:15:49 +0000 (19:15 +0000)]
Merge "Initializing the Telephony Sms DB based on RoleManager.ROLE_SMS" into qt-dev
Hai Zhang [Mon, 3 Jun 2019 18:50:33 +0000 (18:50 +0000)]
Revert "Offload role manager work to background thread"
This reverts commit
f105c93c4aa6d1cbebe94c5c8d7d6297258f6fc9.
Reason for revert: b/
132974796#23 the offloaded thread will be holding a lock for a noticeable period of time and cause contention.
Bug:
132974796
Change-Id: Ic81a2e3ee7226266c8f97b606fc1a2834240f689
TreeHugger Robot [Mon, 3 Jun 2019 18:29:30 +0000 (18:29 +0000)]
Merge changes from topic "SoftHardStoragePerm" into qt-dev
* changes:
Link to SoftRestrictedPermissionPolicy twin
Pre-Q storage perm should behave hard restricted
Factor out soft restricted permissions policy
Ryan Mitchell [Mon, 3 Jun 2019 17:48:48 +0000 (10:48 -0700)]
Remove stopship for idmap2 vendor sdk checking
Idmap now checks if the version of the vendor partition is greater than
or equal to 29 or a development codename to enable enforcement of
overlayable resources.
Bug:
119390857
Test: manual
Change-Id: Ica25800432993beb7464436d4fba7cb391e621ef
Ned Burns [Mon, 3 Jun 2019 18:21:19 +0000 (18:21 +0000)]
Merge "Allow notification reordering after user adjusts importance" into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 18:09:34 +0000 (18:09 +0000)]
Merge "Fix a bug about missing onConfigurationChanged" into qt-dev
chaviw [Wed, 29 May 2019 00:05:28 +0000 (17:05 -0700)]
Clear VISIBLE_FOR_USER flag when isHiddenFromUser is true
The current code was clearing the LEGACY_POLICY_VISIBILITY flag when
isHiddenFromUser was returning true. This was causing issues since there was no
path to add that flag when the Window was visible for that user. The correct
way is to clear the VISIBLE_FOR_USER flag since that flag will get added again
when the window is visible for that user.
Fixes:
133235040
Test: Switch from one user to another and back. Launcher is visible.
Change-Id: I5161dd83a7a0811a7e3a6ab2af439f352f967a6c
Ritwika Mitra [Wed, 29 May 2019 20:05:01 +0000 (13:05 -0700)]
Initializing the Telephony Sms DB based on RoleManager.ROLE_SMS
Fix:
133356079
Test: manual
Change-Id: I49dcdc450e1113ffae887ad488d39f74a96787ed
Fabian Kozynski [Mon, 3 Jun 2019 17:41:12 +0000 (17:41 +0000)]
Merge "Revert "Change carrier name shown No Service to ECO"" into qt-dev
Lei Yu [Mon, 3 Jun 2019 16:54:29 +0000 (16:54 +0000)]
Merge "Use new API to build NetworkTemplate" into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 16:45:21 +0000 (16:45 +0000)]
Merge "No need to fake P->Q upgrade anymore" into qt-dev
Svet Ganov [Sat, 1 Jun 2019 00:40:49 +0000 (17:40 -0700)]
[DO NOT MERGE] Handle config override via settings correctly
Initialize persistence only after we can read the settings
provider as we need to take into account the current config
potentially set as an override in settings vs using the
hard coded defaults.
Make the last persist time more robust to ensure it always
termines to guard against other unforeseen cases wehere the
persistet files don't match what is expected under the current
config.
Test: atest CtsAppOpsTestCases
Test: atest android.appsecurity.cts.AppOpsTest
bug:
134093967
Change-Id: I211d267ccca044093d83dc5928f0531afa47791e
Chavi Weingarten [Mon, 3 Jun 2019 16:08:42 +0000 (16:08 +0000)]
Merge "Only updateBoundsSurface when surface size has changed." into qt-dev
Philip P. Moltmann [Thu, 30 May 2019 18:14:33 +0000 (11:14 -0700)]
Link to SoftRestrictedPermissionPolicy twin
We cannot create an API for now, hence the code needs to be duplicated.
Make sure we find the twin-class.
Test: Built
Bug:
131188778
Change-Id: I1cf50f15fb63fd02d9c6a0f326c3a5cd90192d8c
Philip P. Moltmann [Thu, 30 May 2019 15:27:19 +0000 (08:27 -0700)]
Pre-Q storage perm should behave hard restricted
Test: atest --test-mapping frameworks/base/services/core/java/com/android/server/policy:presubmit
Fixes:
131188778
Change-Id: If99dc99e8164156ae15f6617d0383513d505e15e
Philip P. Moltmann [Wed, 29 May 2019 23:18:18 +0000 (16:18 -0700)]
Factor out soft restricted permissions policy
So that later we can add more policy to it.
Test: atest CtsPermission2TestCases:RestrictedPermissionsTest
Bug:
131188778
Change-Id: Idc8738cbdb418fa7494100309345660139f32373
Philip P. Moltmann [Mon, 3 Jun 2019 15:28:21 +0000 (15:28 +0000)]
Merge "Revert "Reset SYSTEM_FIXED flags for hard restricted perms"" into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 14:18:18 +0000 (14:18 +0000)]
Merge "Re-notify if the network goes to PARTIAL." into qt-dev
Lorenzo Colitti [Mon, 3 Jun 2019 13:04:00 +0000 (06:04 -0700)]
Re-notify if the network goes to PARTIAL.
If NetworkMonitor detects partial connectivity before
EVENT_PROMPT_UNVALIDATED arrives, show the partial
connectivity notification immediately. Re-notify
partial connectivity silently if no internet
notification already there.
Bug:
130683832
Bug:
130766237
Test: atest com.android.server.ConnectivityServiceTest
Change-Id: I7d4eddc643ec795c3961097dc1bdd314d168f6c7
Merged-In: I1b79d3faf96ffe792738935088e4ebbdfcc0d878
(cherry picked from commit
58d4e7304cfce68e338ab34022a0b29d45f42c38)
Matt Pietal [Mon, 3 Jun 2019 13:18:02 +0000 (09:18 -0400)]
Sharesheet - Adjust dark mode colors for GAR
The background for dark mode dialogs is lighter than the pixel/gm2
grey 800 color, while the text is a bit darker. Manually adjust the
colors per UX's recommendations.
Bug:
132861725
Test: Visual inspection
Change-Id: Iaa65c69ed387165987c41d8e2e7843e86e909dcc
Bonian Chen [Sun, 2 Jun 2019 23:59:31 +0000 (23:59 +0000)]
Revert "Change carrier name shown No Service to ECO"
This reverts commit
b023773a18c37a8a50a6d18e552b1e440dff13e7.
Reason for revert: Not yet decided to release this at this stage
Change-Id: Ic0018cadcc228667a64f6f8c694bb6a04f00adc9
Bug:
130857483
Bug:
133201131
Bug:
132291669
Matt Pietal [Fri, 31 May 2019 16:06:17 +0000 (12:06 -0400)]
Sharesheet - Fix layouts for multi-window mode
When using multi-mode and holding the phone in portrait, android will
report it's orientation as LANDSCAPE. Take multi-window mode into
account when determining fixed widths as well as number of items per
row.
Bug:
132828939
Test: Use multi-window mode
Change-Id: I97b722ea58c9f79aea2a3ab594c3ad7d78f8607c
TreeHugger Robot [Mon, 3 Jun 2019 10:13:18 +0000 (10:13 +0000)]
Merge "Invoke setWindowStopped on the thread that created the view" into qt-dev
Baligh Uddin [Sun, 2 Jun 2019 13:14:26 +0000 (13:14 +0000)]
Merge "Remove these subdirectories per b/
133225687" into qt-dev
TreeHugger Robot [Sun, 2 Jun 2019 04:38:22 +0000 (04:38 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 2 Jun 2019 01:41:54 +0000 (01:41 +0000)]
Merge "Camera: Handle hidden physical camera without camcorder profile" into qt-dev
Tyler Gunn [Sat, 1 Jun 2019 23:52:16 +0000 (23:52 +0000)]
Merge "Fix bugs with Remote Connection Services." into qt-dev
Bill Yi [Sat, 1 Jun 2019 14:59:15 +0000 (07:59 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ia4e260dc7c3a62b2252468391a548e00e1ec0f2d
TreeHugger Robot [Sat, 1 Jun 2019 14:44:50 +0000 (14:44 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 1 Jun 2019 14:41:32 +0000 (14:41 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Bonian Chen [Sat, 1 Jun 2019 12:47:31 +0000 (12:47 +0000)]
Merge "Change carrier name shown No Service to ECO" into qt-dev
Bill Yi [Sat, 1 Jun 2019 07:09:58 +0000 (00:09 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I5318ae0fb85ad6f40291511ee6b647686c387a3a
TreeHugger Robot [Sat, 1 Jun 2019 05:31:14 +0000 (05:31 +0000)]
Merge "Handle condition changes when metric is not active." into qt-dev
TreeHugger Robot [Sat, 1 Jun 2019 04:48:58 +0000 (04:48 +0000)]
Merge "Revert "Statsd: apex modules in uid map"" into qt-dev
TreeHugger Robot [Sat, 1 Jun 2019 02:30:20 +0000 (02:30 +0000)]
Merge "Do not create EMPTY batterystats history file." into qt-dev
TreeHugger Robot [Sat, 1 Jun 2019 02:05:39 +0000 (02:05 +0000)]
Merge "HUN should not show up when the Notification shade is open" into qt-dev
TreeHugger Robot [Sat, 1 Jun 2019 01:32:20 +0000 (01:32 +0000)]
Merge "Bring back silent icons for Q->Q devices" into qt-dev
TreeHugger Robot [Sat, 1 Jun 2019 01:31:17 +0000 (01:31 +0000)]
Merge "Catch NPE in getServiceStateForSubscriber" into qt-dev
TreeHugger Robot [Sat, 1 Jun 2019 01:28:39 +0000 (01:28 +0000)]
Merge "Fix SysUI-Assistant metrics logging" into qt-dev
Tyler Gunn [Thu, 30 May 2019 23:52:28 +0000 (16:52 -0700)]
Fix bugs with Remote Connection Services.
1. A previous change was made in ConnectionServiceAdapterServant to add
another parameter, requiring the user of SomeArgs. I think this fix is
pretty self-explanatory. (facepalm)
2. queryRemoteConnectionServices in ConnectionServiceAdapter had an issue
where the callback would not get called if there was more than one
IConnectionServiceAdapter instances. This isn't an error condition, but
a condition where we don't query telecom for the list of valid remote
connection services. We ensure a callback with an empty list is made
(this is similar to what Telecom already does).
This seems to be an issue inherent with DSDS because there can be multiple
SIM ConnectionServices where before there was only one.
Test: Run CTS tests.
Bug:
133639062
Change-Id: I1c508e97d1f0ea1bc72ad7ebd026c1ad66a52de3
TreeHugger Robot [Sat, 1 Jun 2019 00:25:51 +0000 (00:25 +0000)]
Merge "Verify staged APKs pre-reboot." into qt-dev
chaviw [Wed, 29 May 2019 21:57:50 +0000 (14:57 -0700)]
Only updateBoundsSurface when surface size has changed.
Currently, updateBoundsSurface was getting called when the surface
changed, not just when the size changed. This meant it could be calling
setWindowCrop and deferTransaction when no size had changed. If size
hadn't changed, there was a high possibility that no new frames would be
submitted by the client, causing the deferTransaction to wait forever.
Since the deferTransaction was still waiting, SurfaceFlinger would wake
up every vsync to check if it should call doTransaction for the deferred
transaction. This caused 60Hz composition even when frames were rendered
slower.
Fixes:
132110524
Test: SF doesn't compose 30fps app at 60Hz
Change-Id: Icf3a99b34c288575438bfcd05e9077ea7919b4ca
Christopher Ferris [Sat, 1 Jun 2019 00:07:29 +0000 (00:07 +0000)]
Merge "Avoid using usap when wrap property set." into qt-dev
Evan Tyra [Fri, 31 May 2019 18:04:58 +0000 (11:04 -0700)]
Catch NPE in getServiceStateForSubscriber
ITelephony can enter a bad state with an incorrect SubId and throw an
NPE as shown in the attached bug. This is not an expected error, so a
bugreport will be triggered on userdebug builds on catch.
Test: Local
Bug:
134067547
Change-Id: Ib8f3b69eb3870c3567578aadaee6cf2693526fbd
Hui Yu [Fri, 31 May 2019 22:14:43 +0000 (15:14 -0700)]
Do not create EMPTY batterystats history file.
Previously when batterystats history buffer exceeds MAX_HISTORY_BUFFER
size, we create a new history file which is empty until batterystats
history buffer is written to the file. But the buffer is written to the
file every 30 minutes by default. When the file is empty, if the
system server process crashed or abrupt powered off, the file will remain
empty.
During the device bootup, batterystats reads history buffer from
the empty file and failed. The important mHistoryBaseTime variable is zero,
which causes all timestamps in subsequent history events are wrong, this
causes volta go/powerbug displays wrong, also Battery Usage in Settings
are wrong.
The fix is to not create new empty history file on disk until we actually
write history buffer to the file.
This problem can be manually reproduced by creating new empty file under
battery-history directory, then power off the device by long press power
button.
Bug:
133525277
Test: frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsHistoryTest.java
Change-Id: I0c22881df6897e8832b472cc5e82fbf2727eb252
Bill Yi [Fri, 31 May 2019 23:36:54 +0000 (16:36 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3e8bccdc1397a8270c58f411e8383524b8f105b8
Philip P. Moltmann [Fri, 31 May 2019 23:35:33 +0000 (23:35 +0000)]
Revert "Reset SYSTEM_FIXED flags for hard restricted perms"
This reverts commit
3c2731fdce14bf99a043e8c4bd214fd6fb11160f.
Reason for revert: This was only needed to unbreak internal dogfooding
Test: This is a clean revert
Bug:
134161027
Change-Id: I309bc5158190da71fc0ba867a5d15c6260623ed5
Pengquan Meng [Fri, 31 May 2019 23:31:27 +0000 (23:31 +0000)]
Merge "Add new WiFi Calling string without hyphen" into qt-dev
Nazanin Bakhshi [Fri, 31 May 2019 23:20:48 +0000 (23:20 +0000)]
Merge "Supported data enabled override for different scenarios" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 23:17:35 +0000 (23:17 +0000)]
Merge "Reset SYSTEM_FIXED flags for hard restricted perms" into qt-dev
Priyank Singh [Tue, 7 May 2019 21:30:13 +0000 (14:30 -0700)]
HUN should not show up when the Notification shade is open
Bug:
132131722
Test: Manual
Change-Id: Id759421fd402e917ca4722df6fb597b5991ed31d
(cherry picked from commit
ff78b8ec8c31e3eac40db5d321dd6926ef0903a1)
Fabian Kozynski [Fri, 31 May 2019 22:43:08 +0000 (22:43 +0000)]
Merge "DO NOT MERGE Remove Privacy Indicators" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 22:42:43 +0000 (22:42 +0000)]
Merge "Enhancements to conference for non-conference host scenarios." into qt-dev
Muhammad Qureshi [Fri, 24 May 2019 23:38:49 +0000 (16:38 -0700)]
Handle condition changes when metric is not active.
Treat metric activation like conditions as much as possible. Keep track
of condition changes even when metric is not active. Right now, we
ignore all condition changes if metric is not active.
This is a band-aid fix. Ideally, we should re-think how metric activation is
implemented and consider implementing it as a condition with a timebomb.
Bug:
130838341
Test: statsd_test
Test: cts-tradefed run cts-dev -m CtsStatsdHostTestCases -t
android.cts.statsd.metric
Change-Id: I96bb7a7c6ee88359f310065e166f858be945eaff
Govinda Wasserman [Fri, 31 May 2019 15:59:19 +0000 (11:59 -0400)]
Fix SysUI-Assistant metrics logging
Logging was broken by a refactor, this fixes it so that it works
correctly again. Also adds handle, phone state, and dismiss reason
logging to the metrics as they were never being logged.
Test: Tested locally
BUG:
128982146
BUG:
133407447
BUG:
133247164
Change-Id: I3d925243f9826439c6acb718e8436ccdd1d27564
TreeHugger Robot [Fri, 31 May 2019 22:24:32 +0000 (22:24 +0000)]
Merge "Reduce calls to updateOomAdj() during unbind" into qt-dev
Beth Thibodeau [Fri, 31 May 2019 22:23:34 +0000 (22:23 +0000)]
Merge "Refactor callbacks to avoid extra binder calls" into qt-dev
Heemin Seog [Fri, 31 May 2019 22:19:20 +0000 (22:19 +0000)]
Merge "Make Car Navigation Bar fully transparent" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 22:07:49 +0000 (22:07 +0000)]
Merge "Move two audio APIs back the the greylist." into qt-dev
TreeHugger Robot [Fri, 31 May 2019 21:47:32 +0000 (21:47 +0000)]
Merge "Close notification guts after applying changes" into qt-dev
Ned Burns [Thu, 30 May 2019 23:36:04 +0000 (19:36 -0400)]
Allow notification reordering after user adjusts importance
After the user adjusts the priority of a notification, we need to
temporarily lift the VisualStabilityManager's ban on reordering
to allow the priority adjustment to take effect.
There's no clear signal as to when this reprieve should end --
eventually, we'll get a ranking update, but there's no way to tell
that it was the update that our change triggered. So instead we just
wait for 1000ms and then drop the adjustment ban again. If a few
extra reorders slip in during that time, so be it.
Test: atest, manual
Bug:
129772718
Change-Id: Iefb6917bb41935ed6bfc720b51738c66ffa83457
TreeHugger Robot [Fri, 31 May 2019 21:22:44 +0000 (21:22 +0000)]
Merge "Don't create system fixed, revoked permissions" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 20:56:37 +0000 (20:56 +0000)]
Merge "Update battery content description." into qt-dev
TreeHugger Robot [Fri, 31 May 2019 20:46:24 +0000 (20:46 +0000)]
Merge "Fix stack memory accounting for dumpsys" into qt-dev
Fabian Kozynski [Fri, 31 May 2019 14:19:30 +0000 (10:19 -0400)]
DO NOT MERGE Remove Privacy Indicators
Bug:
133257910
Test: build and check that behavior is as P
Change-Id: I24bfc3806e2d12f6a1cc968d6979107e7002a3c4
Lei Yu [Tue, 28 May 2019 17:08:58 +0000 (10:08 -0700)]
Use new API to build NetworkTemplate
This CL is built to make CBRS show correct data usage, by merging
all subscriberId under same groupuuid
Bug:
133865338
Test: RunSettingsLibRoboTests
Change-Id: I1c5084ff98ac9a71655cc93698f3e02268654977
TreeHugger Robot [Fri, 31 May 2019 20:40:45 +0000 (20:40 +0000)]
Merge "Fix documentation bug with METADATA_KEY_LOCATION" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 20:40:35 +0000 (20:40 +0000)]
Merge "Change colors for a11y" into qt-dev
Shuzhen Wang [Thu, 30 May 2019 17:11:47 +0000 (10:11 -0700)]
Camera: Handle hidden physical camera without camcorder profile
For hidden physical sub-camera, if there is no camcorder profile,
use stream configuration map to figure out maximum recording size.
Test: RobustnessTest
Bug:
133819902
Change-Id: Ie0e76b51b1942b6fd3612c0b849a07bbb5d205e9
TreeHugger Robot [Fri, 31 May 2019 20:22:24 +0000 (20:22 +0000)]
Merge "Fix issue where scrim color event would be skipped" into qt-dev
Aran Ink [Fri, 31 May 2019 20:11:48 +0000 (20:11 +0000)]
Merge "Allow all ActivatableNotificationRows to clip properly when interacting with the shelf." into qt-dev
Aran Ink [Fri, 31 May 2019 20:11:21 +0000 (20:11 +0000)]
Merge "Fix marquee animating in QuickSettings when invisible to user." into qt-dev
Julia Reynolds [Fri, 31 May 2019 19:29:59 +0000 (15:29 -0400)]
Bring back silent icons for Q->Q devices
When the setting went away, existing devices
should have been cleaned up. better late than never?
Fixes:
134159339
Test: apply patch on device with hidden icons
Change-Id: I22f3344b4fcd57902829105c51c92ee0bef51410
TreeHugger Robot [Fri, 31 May 2019 19:47:25 +0000 (19:47 +0000)]
Merge "AudioService: fix accessibility volume range" into qt-dev
Christopher Ferris [Thu, 30 May 2019 23:28:49 +0000 (16:28 -0700)]
Avoid using usap when wrap property set.
Bug:
133515802
Test: Verified that malloc debug can be enabled on a USAP enabled device.
(cherry picked from commit
86bd25d5ed8518f2cb91e18ea28bb4e4c0645c19)
Change-Id: I5f25030ce8e667d175712796c0950f38baa2532d
Merged-In: I5f25030ce8e667d175712796c0950f38baa2532d
TreeHugger Robot [Fri, 31 May 2019 19:45:25 +0000 (19:45 +0000)]
Merge "DO NOT MERGE: Disable resume for guest session if user is ephemeral" into qt-dev
Tyler Gunn [Fri, 31 May 2019 14:23:16 +0000 (07:23 -0700)]
Enhancements to conference for non-conference host scenarios.
When a device A creates a conference call containing device B and C, both
B and C can receive IMS signaling to indicate that they are in a conference
call. This occurs on most domestic carriers; the Telephony framework
uses the "multiparty" indicator on the IMS call to switch the call to a
conference call.
We made some changes to how conference calls are logged in Q which improves
the accuracy of the call durations. We used to log calls as they're merged
into a conference. In the case of a participant in a remotely hosted
conference call, we'd log the call as soon as they are remotely added
to the conference. This is unfortunate as the call durations are grossly
under-reported.
The conference call logging changes now assume we'll log the conference
event package children in the conference instead of the participants which
merge into the conference itself. On domestic carriers, since the
call on B (or C) becomes a conference, we would then no longer log the
call.
This is FURTHER complicated because on some carriers, B and C will ALSO
receive a conference event package from the network showing all the
participants in the conference. So if B hangs up on the conference, they
will have entries in their call log for A and C, which is really strange
because a call to C was never originated on their device.
In Telecom we need to ensure we do not log remotely hosted conference
participants, and we need to ensure that we DO log a remotely hosted
conference as if its just a single party call.
To accomplish this we need:
1. the address and name display information associated with the call from
A-B / A-C prior to the call turning into a remotely hosted conference.
We need this to log to the call log
2. the remotely hosted conference and participants need to be marked in a
manner that Telecom can identify them.
Test: Manual test.
Test: Add unit test to cover this logging scenario.
Bug:
132325382
Change-Id: I65e713f68d1695a48d96dacbf7faa4476cd8d815
Julia Reynolds [Fri, 31 May 2019 18:54:22 +0000 (14:54 -0400)]
Change colors for a11y
Test: a11y scanner
Fixes:
134158955
Change-Id: I46db4a032d1fed27b5cd69efda3d2bb685170c24
Julia Reynolds [Fri, 31 May 2019 15:22:06 +0000 (11:22 -0400)]
Fix a11y read-twice bug
Also remove a hardcoded string
Test: manual with talkback
Fixes:
133731969
Change-Id: I0effe046fd6edddd109335a6dd7fa6b732587d64
Keun-young Park [Fri, 31 May 2019 18:52:15 +0000 (18:52 +0000)]
Merge "Add useSystemProvidedLauncherForSecondary config" into qt-dev
Lucas Dupin [Fri, 31 May 2019 18:42:26 +0000 (11:42 -0700)]
Fix issue where scrim color event would be skipped
Test: adb shell service call uimode 4 i32 1
Test: adb shell service call uimode 4 i32 2
Test: atest SysuiColorExtractorTests
Fixes:
134019682
Change-Id: I8617683a2f0d9b04e6f799d20b8ebe9d218a7033
Matt Casey [Fri, 31 May 2019 18:49:42 +0000 (18:49 +0000)]
Merge "Make CornerHandleView use device radius." into qt-dev
Philip P. Moltmann [Fri, 31 May 2019 15:48:14 +0000 (08:48 -0700)]
Reset SYSTEM_FIXED flags for hard restricted perms
So that incorrectly SYSTEM_FIXED / denied permissions will be able to
get regrated via the default permission grant policy
This can be removed after all devices have been fixed
Test: Got system into the state with SYSTEM_FIXED / denied permission
and then silulated an OTA with this change
Bug:
134069814
Bug:
134161027
Change-Id: I7bc986f0d3e69dd60a017f16867182163fd6eecb
Jean-Michel Trivi [Fri, 31 May 2019 18:28:15 +0000 (18:28 +0000)]
Merge "Audio service: no double message handling for A2DP device connection" into qt-dev
Baligh Uddin [Fri, 31 May 2019 18:24:02 +0000 (11:24 -0700)]
Remove these subdirectories per b/
133225687
Bug:
133225687
Test: Local compile/test.
Change-Id: Ia0372082e059398b2759a4d6624a60f7b28116b4
Jack Yu [Thu, 23 May 2019 23:37:35 +0000 (16:37 -0700)]
Supported data enabled override for different scenarios
Added override rules support for always allowing mms and
internet data during voice call.
Test: Manual + unit tests
Bug:
132113695
Change-Id: I2266d7f428901ccbba6bf538a7c7696e6566b96c
Kweku Adams [Fri, 31 May 2019 18:03:16 +0000 (18:03 +0000)]
Merge "Adding checks for bad periodic job scheduling." into qt-dev
Jesse Evans [Fri, 31 May 2019 01:46:00 +0000 (18:46 -0700)]
Fix documentation bug with METADATA_KEY_LOCATION
MPEG4Writer::writeGeoDataBox() has always written latitude
before longitude since it was introduced. And the ISO-6709
is also to have +-{latitude}+-{longitude}/ so we should have
the correct information here.
This is likely to be important for Q since lat/long are no
longer accessible via MediaStore.
Bug:
134100244
Test: documentation change only
Change-Id: If157e3b0a639da9e012c0dd23fcfacfa0a59c28e
Kweku Adams [Thu, 30 May 2019 21:45:39 +0000 (14:45 -0700)]
Adding checks for bad periodic job scheduling.
1. There are cases where a periodic job is scheduled in a past time
period. Without any other constraints, the job could be run much too
frequently and spam the system. Adding these checks makes sure the jobs
are scheduled with sane values.
2. Adding an upper limit on the job period to avoid overflow cases.
3. Changing int to long to avoid overflow.
Bug:
133654009
Test: atest com.android.server.job.JobSchedulerServiceTest
Test: atest com.android.server.job.controllers.QuotaControllerTest
Test: atest com.android.server.job.controllers.TimeControllerTest
Test: atest CtsJobSchedulerTestCases
Change-Id: I97616efb6c37b7201eb926d16c0d9be450bf2ba4
Nazanin Bakhshi [Fri, 31 May 2019 17:55:18 +0000 (17:55 +0000)]
Merge "Revert "Store subscriber ID / IMSI into telephony database"" into qt-dev