Commit Graph

361676 Commits

Author SHA1 Message Date
Lucas Dupin
ae861e8ee0 Show scrims when bouncer is on top of QS
Test: visual
Change-Id: I09c37c8478e1c409854af837cabf7bb12c5de79b
Fixes: 74511816
2018-03-13 00:14:34 -07:00
Pirama Arumuga Nainar
6964e7548f Merge "Revert "Disable LTO temporarily for hwui"" into pi-dev 2018-03-12 20:16:01 +00:00
Mohamed Abdalkader
7333793eaa Merge "Unhide ImsCallProfileConstructor." into pi-dev 2018-03-12 19:54:40 +00:00
TreeHugger Robot
228f8f877a Merge "AudioService: Hearing Aid output management" into pi-dev 2018-03-12 19:46:33 +00:00
TreeHugger Robot
44662a157e Merge "Add Application.getProcessName()" into pi-dev 2018-03-12 19:43:22 +00:00
Chong Zhang
f78a08c2d9 Merge "heif: add definition for HEVC Main Still Picture profile" into pi-dev 2018-03-12 19:40:00 +00:00
Bryce Lee
2b9620cc71 Merge "Update documentation for Activity#onCreate." into pi-dev 2018-03-12 19:18:36 +00:00
TreeHugger Robot
9e56800b6e Merge "Moved urlBarResourceId from autofill service manifest to whitelist settings." into pi-dev 2018-03-12 18:53:10 +00:00
TreeHugger Robot
e40dcabbc8 Merge "Move escrow APIs into LockSettingsInternal" into pi-dev 2018-03-12 18:51:28 +00:00
Kevin Chyn
7b97503caa Merge "Polish FingerprintDialog" into pi-dev 2018-03-12 18:35:05 +00:00
TreeHugger Robot
81cacb274c Merge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev 2018-03-12 18:27:02 +00:00
TreeHugger Robot
9722ec74e0 Merge "Remove kPullerCooldownMap from code" into pi-dev 2018-03-12 18:25:00 +00:00
TreeHugger Robot
82bc5baeb5 Merge "Adding generation of ACTION_TOGGLE_RECENTS to shared lib" into pi-dev 2018-03-12 18:13:16 +00:00
Abodunrinwa Toki
e6d974a567 Allow TextClassifierServices to get a hold of a local TextClassifer.
Test: builds
Bug: 74466564
Bug: 72747726
Merged-In: Idb108f2b3d95393a051f9f19b0c04fc4e3ed2b33
Change-Id: Idb108f2b3d95393a051f9f19b0c04fc4e3ed2b33
2018-03-12 18:04:24 +00:00
Chris Tate
15e91e6f3a Merge "Defer deleting a http cache" into pi-dev 2018-03-12 18:00:05 +00:00
Hidehiko Tsuchiya
d160479a24 Defer deleting a http cache
Symptom:
StatementService was crashed due to the exception;
"java.lang.IllegalStateException: cache is closed"

Root cause:
The http cache is deleted at DirectStatementService#onDestroy
in main thread. If a worker thread is still alive and it tries to
access the cache, it fails with IllegalStateException.

Solution:
The request of deleting a cache was moved from the main thread to
worker. Now, the cache can be deleted safely.

Cherrypick from AOSP master.

Bug: 73911877
Test: manual
Change-Id: I61f4e62b00e35f4a272ef983758e61ef3bf2d180
Merged-In: I61f4e62b00e35f4a272ef983758e61ef3bf2d180
2018-03-12 17:59:27 +00:00
TreeHugger Robot
a71712dfa8 Merge "Avoid changing display power state on draw wake lock" into pi-dev 2018-03-12 17:58:55 +00:00
TreeHugger Robot
89a2b6c560 Merge "Implement CodecProfileLevel.{equals|hashCode}" into pi-dev 2018-03-12 17:45:57 +00:00
TreeHugger Robot
fe00a37b8f Merge "Logging in StatsCompanionService" into pi-dev 2018-03-12 17:37:11 +00:00
Felipe Leme
1c7eb0c8eb Moved urlBarResourceId from autofill service manifest to whitelist settings.
The manifest attribute is still public as it might have been used by autofill
services deployed against P DP1; it will be removed after the next developer
previs is branched out. We also need to assumie a default value for the buttons
if not specified by settings, but that will be done in a separate change so it
can be easily reverted.

Also implemented support for multiple buttons, and added unit tests.

Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest \
CtsAutoFillServiceTestCases:VirtualContainerActivityTest \
FrameworksServicesTests:AutofillManagerServiceTest

Bug: 74445943
Bug: 72811561
Fixes: 73786629

Change-Id: I066ecf40fde2c5318dd8633a659fca8b7af8aecd
2018-03-12 10:11:20 -07:00
Bryce Lee
476edc8148 Update documentation for Activity#onCreate.
The current description incorrectly states #onDestroy will be called
immediately when invoking #finish during #onCreate.

Change-Id: I816a54457d7aca0b40feac9a5656d94f7e712c76
Fixes: 69144863
Test: comment update.
2018-03-12 10:06:23 -07:00
Rohan Shah
71120e1b20 Merge "Nit cleanup: Update TileLayout.onLayout" into pi-dev 2018-03-12 16:53:56 +00:00
TreeHugger Robot
df59556a9e Merge "[QS] Fix alarm text in QS header" into pi-dev 2018-03-12 16:53:13 +00:00
TreeHugger Robot
0cee663bf6 Merge "[QS] Update hotspot tile secondary text (data saver)" into pi-dev 2018-03-12 16:46:18 +00:00
Phil Weaver
8bbc30955a Merge "Don't let non-touchable windows retain a11y focus" into pi-dev 2018-03-12 16:42:10 +00:00
Jakub Pawlowski
f9570f3fe5 AudioService: Hearing Aid output management
This patch makes Hearing Aid output active/inactive when the connection
state, reported from Bluetooth stack is changed.

Bug: 64038649
Test: mm
Change-Id: Iaeee39febab3c340a77e02afe3e0a573fb9736f9
2018-03-12 16:32:29 +00:00
Artem Iglikov
aad361480b Merge "Whitelist UsbManager and UsbPortStatus apis" into pi-dev 2018-03-12 16:28:46 +00:00
TreeHugger Robot
c82bcf4d3c Merge "Fix resource directory references" into pi-dev 2018-03-12 16:23:29 +00:00
Abodunrinwa Toki
9554dd94ec Merge "Merge textclassifier/logging/ into textclassifier/" into pi-dev 2018-03-12 15:16:53 +00:00
Tyler Gunn
dd72cb529f Merge "Support enhanced call blocking function" into pi-dev 2018-03-12 15:16:04 +00:00
TreeHugger Robot
9d3d6b4076 Merge "Camera: SessionConfiguration should use Executors" into pi-dev 2018-03-12 14:55:34 +00:00
Alan Viverette
8f919514d5 Fix resource directory references
Fixes: 74514647
Test: make
Change-Id: I47d65e56f7cdd3faa80c14d18e2e7767ca293ee4
2018-03-12 14:39:11 +00:00
TreeHugger Robot
4bc0f39b4c Merge "Add measurements for TransportClient connections" into pi-dev 2018-03-12 14:32:59 +00:00
TreeHugger Robot
d50aa52596 Merge "[Magnifier-28] Set corner radius" into pi-dev 2018-03-12 14:12:16 +00:00
David Brazdil
c819abbf20 Merge "Add hidden API used by CTS to greylist" into pi-dev 2018-03-12 13:41:13 +00:00
Artem Iglikov
a2689a9a11 Whitelist UsbManager and UsbPortStatus apis
Bug: 74424953
Test: N/A
Change-Id: I8e96e3c81067a65430c58ab3f7fa2013a52d2be5
2018-03-12 13:29:26 +00:00
Bernardo Rufino
60719a4e74 Add measurements for TransportClient connections
Retrievable via 'adb shell dumpsys backup transportstats'.
Sample output:

Average connection time: 36.00 ms
Max connection time: 181 ms
Min connection time: 7 ms
Number of connections: 16
Per transport:
    com.google.android.gms/.backup.BackupTransportService
        Average connection time: 27.71 ms
        Max connection time: 139 ms
        Min connection time: 13 ms
        Number of connections: 14
    com.google.android.gms/.backup.component.D2dTransportService
        Average connection time: 181.00 ms
        Max connection time: 181 ms
        Min connection time: 181 ms
        Number of connections: 1
    android/com.android.internal.backup.LocalTransportService
        Average connection time: 7.00 ms
        Max connection time: 7 ms
        Min connection time: 7 ms
        Number of connections: 1

Bug: 72485465
Test: Will follow in another CL if reviewers OK w/ approach.
Change-Id: I133ed423d0b8471d69e3c3631aadee7d42d0ec0e
(cherry picked from commit e5a976404c)
2018-03-12 12:19:56 +00:00
Rubin Xu
fcd49f993e Move escrow APIs into LockSettingsInternal
Remove the IPC interfaces so these APIs are only available to other
services running inside system server process only.

Bug: 62264551
Test: runtest frameworks-services -p com.android.server.locksettings
Change-Id: Ic7ac5df5fb977bc68a2c4daafaa3cdaf3ba66fcd
2018-03-12 11:57:34 +00:00
Mihai Popa
fb4b6b8fd2 [Magnifier-28] Set corner radius
This CL updates both the magnifier and the floating toolbar to use the
dialogCornerRadius attribute for the corner radius of their windows. In
both we use its value defined in the default device theme, rather than
the value defined in the application's custom theme.

Bug: 70848492
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Ifcf4cff1f38fd18b7dbb4c1802390e3beb92cd3c
(cherry picked from commit 3dcbc2112d)
Merged-In: Ifcf4cff1f38fd18b7dbb4c1802390e3beb92cd3c
2018-03-12 11:49:23 +00:00
Mihai Popa
3872238081 [Magnifier-33] Add animation on line jump
This CL adds a simple motion animation when the magnifier jumps between
lines.

Bug: 74381647
Test: manual testing
Test: atest FrameworksCoreTests:android.widget.TextViewActivityTest
Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I27caba47b18e694f93739866d6fd69569cb89184
(cherry picked from commit 8175edc755)
Merged-In: I27caba47b18e694f93739866d6fd69569cb89184
2018-03-12 11:48:10 +00:00
Mihai Popa
8a06a9f7dd Merge "[Magnifier-32] Do not magnify outside selection" into pi-dev 2018-03-12 11:46:06 +00:00
David Brazdil
0f41a7cf82 Add hidden API used by CTS to greylist
Hidden API uses detected during a run of CTS.

Bug: 64382372
Test: make
Test: run CTS, no 'dark greylist' uses
Change-Id: I7e1d4ddc731d35e427e2781f0a867db68c5f45ec
2018-03-12 10:15:46 +00:00
TreeHugger Robot
4b306e5e23 Merge "Revert "Revert "Remove a compat hack SurfaceView#setWindowType()""" into pi-dev 2018-03-12 09:45:42 +00:00
TreeHugger Robot
59444f6abf Merge "Revert "Plumb IME subtype change from IMMS to IMS."" into pi-dev 2018-03-12 08:49:20 +00:00
TreeHugger Robot
fb2304e720 Merge "Add the ability to refresh to the captive portal app." into pi-dev 2018-03-12 08:42:05 +00:00
Chalard Jean
94bc48f7bb Add the ability to refresh to the captive portal app.
Bug: 69840796
Test: manual
      created a small app that brings up the captive portal app,
      checked that pulling down does show the refresh spinner,
      refresh the page, and hide the spinner when refreshed.
      Checked that it works multiple times in a row.

Change-Id: Ieefdaffa9325b0c5f1b02ab6052c29a381f3a4d4
2018-03-12 15:05:43 +09:00
TreeHugger Robot
f85de9616f Merge "Allow apps in /odm/app and /odm/priv-app" into pi-dev 2018-03-12 05:07:32 +00:00
TreeHugger Robot
560b26a9d2 Merge "Bouncer animation" into pi-dev 2018-03-12 02:04:21 +00:00
TreeHugger Robot
c8b967a5de Merge changes from topic "yukawa-b66498367" into pi-dev
* changes:
  Revert "Switch and store keyboard layouts based on IME subtype."
  Revert "Accept null subtype in InputMethodSubtypeHandle."
2018-03-12 01:58:06 +00:00
Jiyong Park
090c6b1c94 Allow apps in /odm/app and /odm/priv-app
/odm is a vendor partition other than /vendor. Both partitions are for
HW-specific modules such as HALs. The difference is that /odm is owned
by ODM (usually device manufacturer which designs the board), whereas
/vendor is owned by SoC manufacturer. In other words, /odm partition is
for board-specific customization to the /vendor partition.

Since apps can exist in /vendor/app and /vendor/priv-app, the same has
to be supported for /odm partition.

Bug: 71366495
Test: m -j
Teet: cd frameworks/base/tests/OdmApps; atest .
Change-Id: I1ec8b22b080efdefd67a45ce9c7aeaa2aef350e0
2018-03-12 10:40:33 +09:00