Commit Graph

468813 Commits

Author SHA1 Message Date
Makoto Onuki
9577cd78ff Merge "Squash same ApplicationInfo's in Parcel" into rvc-dev 2020-02-25 15:17:14 +00:00
TreeHugger Robot
aba5f0ca29 Merge "Build framework-tethering against module_current" into rvc-dev 2020-02-25 15:09:16 +00:00
Steve Elliott
7b27da1d8f Merge "Increase avatar and sender name sizes in MessagingStyle" into rvc-dev 2020-02-25 14:59:13 +00:00
Beverly
f937f297c2 Set background drawable on status_bar_container
Put the background drawable on status_bar_container instead of
status_bar because we always want the status bar background to
fill the entire container.

status_bar receives new margins when corner display cutouts are enabled
which may prevent status_bar from taking up the entire
status_bar_container space.

Test: atest SystemUITests
Fixes: 148355955
Change-Id: Ic7e0c0a79908d2a58d4595d239062435253edfda
2020-02-25 09:57:37 -05:00
Steve Elliott
ae97b108aa Merge "Fix important person notification ranking test" into rvc-dev 2020-02-25 14:57:06 +00:00
Fabian Kozynski
6a8d9415f2 Migrate QS_EDIT metrics to WW
This migrates the previous Tron events into Westworld. Now we only log
the spec/package for each tile, not the position.

The position in most cases is not interesting as it can be obtained from
other places (in the future, lift this info from QSTileHost for
example).

Fixes: 147508828
Test: manual using statsd_testdrive
Change-Id: I7b27a31b303d6ebe894041433fbf9d81e57a9f3c
2020-02-25 09:30:28 -05:00
Fabian Kozynski
26e248664d Merge "Use KeyguardStateController in GlobalActionsDialog" into rvc-dev 2020-02-25 14:07:51 +00:00
Makoto Onuki
6d81a5f569 Merge "Revert "Add WTF when a system server wrapper can't be found"" into rvc-dev 2020-02-25 12:53:58 +00:00
Zhuoyao Zhang
3495b81006 Revert "Add WTF when a system server wrapper can't be found"
This reverts commit 2cddb8a891.

Reason for revert: break app compat test b/149923038

Bug: 149923038
Change-Id: Ibace06f704595d40a4439c0bdfea55d11294ba77
2020-02-25 12:53:29 +00:00
Galia Peycheva
641e2e6361 Create DreamManager System Server TestApi
Bug: 141771803
Bug: 133216167

Test: atest DreamManagerServiceTests
Test: make checkbuild

Merged-In: I937061138bc8ccaf4475674f00331c3fe1c5a495
Change-Id: I937061138bc8ccaf4475674f00331c3fe1c5a495
(cherry picked from commit 4467c53c11)
2020-02-25 12:32:02 +00:00
TreeHugger Robot
e06e29bb09 Merge "reduce the visibility of framework-minus-apex" into rvc-dev 2020-02-25 11:33:44 +00:00
Galia Peycheva
a72d7e53e6 Merge changes Id71b4cbc,I8dff0a12,Ife3d1390 into rvc-dev
* changes:
  Add startDreamActivity request verification
  Make DreamService use an Activity
  Clean up dreamland
2020-02-25 10:11:21 +00:00
Automerger Merge Worker
561564dfd4 Build framework-tethering against module_current
Bug: 146757305
Test: build

Change-Id: Id6051296a02060179666b67fc6ea9092273c1780
Merged-In: Id6051296a02060179666b67fc6ea9092273c1780
Merged-In: Iad504f0e709daadfb4d86205c07f0faf429f5a8f
(cherry picked from commit bb09ceaf09)
2020-02-25 09:47:25 +00:00
George Chang
61b8ac42c3 Merge "Add API docs for permission SECURE_ELEMENT_PRIVILEGED" into rvc-dev 2020-02-25 09:42:23 +00:00
Peter_Liang
193da54391 Fine-tune the public APIs of allow rich content in Accessibility Settings for security.
1. Add some checkers and java doc:
  - loadHtmlDescription
    It filters the <img> tag which do not meet the custom specification and the <a> tag.
  - loadAnimatedImage
    It checks the resource whether to exceed the screen size.

Bug: 149516547
Test: atest AccessibilityShortcutInfoTest & manual test
Change-Id: I8ecad186fc9e4bb6799ded296805cdc5353c5010
Merged-In: I8ecad186fc9e4bb6799ded296805cdc5353c5010
(cherry picked from commit c6e3836915)
2020-02-25 09:05:12 +00:00
evitayan
d713db92a5 Do not statically link ike-stubs
Stub jars should not be in statically linked except for inside
other stub jars.

Bug: 145995723
Test: build, flash and reboot
Test: FrameworksIkeTests, FrameworksNetTests
Change-Id: I503616de0143cc39dd189ae689de3e8d77c345da
Merged-In: I503616de0143cc39dd189ae689de3e8d77c345da
(cherry picked from commit 5fc0bbaae7)
2020-02-25 00:40:05 -08:00
Galia Peycheva
52e8922e8a Add startDreamActivity request verification
The ActivityTaskManagerTestService has a special method to start a
DreamActivity. This CL adds a verification check before the activity is
started to check that the caller is the currently active dream
component.

Bug: 133216167

Test: atest DreamManagerServiceTest

Merged-In: Id71b4cbc57c6569f58b6d906cc8361c104a507dc
Change-Id: Id71b4cbc57c6569f58b6d906cc8361c104a507dc
(cherry picked from commit 20dc51820a)
2020-02-25 07:57:09 +00:00
Galia Peycheva
6861e91b84 Make DreamService use an Activity
Currently, the DreamService uses a floating Window to display the
content of the dream on the screen. This introduces difficulties in the
interactions with the Assistant application, which is an activity.
By design, if the Assistant is invoked while the device is dreaming, the
Assistant should be shown on top. However, since floating windows are
always drawn on top of all activities, the Assistant can't be shown on
top of the Dream.

Here, we migrate the implementation of the DreamService to use an
Activity (DreamActivity). Since the screensaver application is not part
of the framework, we can't declare the activity in their AndroidManifest.xml.
Therefore, we start the dream activity with a dedicated method in
ActivityTaskManagerService.

Bug: 133216167
Test: 1. m && ./vendor/google/tools/flashall
      2. Go to Settings > Device Preferences > Screensaver > Start now
      3. Verify dream appears
      4. Click any key to wake up the dream
      5. Verify that dream disappears

Merged-In: I8dff0a124cd1b41fb925a73528305431b49ee06d
Change-Id: I8dff0a124cd1b41fb925a73528305431b49ee06d
(cherry picked from commit 148478a85e)
2020-02-25 07:56:28 +00:00
Gavin Corkery
fb7bda9734 Merge "Change checkpointing retry count to 2" into rvc-dev 2020-02-25 07:56:01 +00:00
Winson Chiu
d012f7bee6 Merge "Use correct PackageSetting for dexopt calculation" into rvc-dev 2020-02-25 07:55:52 +00:00
Martijn Coenen
c8a208f571 Merge "Don't crash system_server if fixupAppDir() fails." into rvc-dev 2020-02-25 07:53:57 +00:00
Shawn Lin
faff9bd887 Merge "Fixed not updating waterfall insets in DisplayCutout.inset()" into rvc-dev 2020-02-25 06:15:37 +00:00
Joshua Duong
b76d7aa6bc Merge "Remove key from adb_keys if user forgets the key." into rvc-dev 2020-02-25 06:10:49 +00:00
TreeHugger Robot
20ea7f5258 Merge "Introduce SoftInputShowHideHistory" into rvc-dev 2020-02-25 05:35:25 +00:00
Amy Zhang
7ff127e897 Merge changes from topic "trm-impl-rvc" into rvc-dev
* changes:
  Fix issues in register/unregister client API implementation
  Add a TRM use case priority hints info object
  Add requestFrontend implementation in TunerResourceManager
  Implement TRM setFrontendInfoList logic with unit tests
2020-02-25 05:02:44 +00:00
TreeHugger Robot
67c02e6cb0 Merge "Retry TTS speaking for a11y shortcut warning dialog" into rvc-dev 2020-02-25 04:43:08 +00:00
TreeHugger Robot
d44e0e38e3 Merge "Fix exempt vs unexempt scheduled sync standby bucket logic" into rvc-dev 2020-02-25 04:29:32 +00:00
TreeHugger Robot
395262cbb4 Merge "Trim "android.permission." from permission name to reduce reporting footprint." into rvc-dev 2020-02-25 04:21:02 +00:00
TreeHugger Robot
426b08e2f4 Merge "wifi: Revise java doc to add more explanation" into rvc-dev 2020-02-25 03:48:14 +00:00
TreeHugger Robot
a493b5c516 Merge "Clarifying meaning of items param in javadoc per feedback" into rvc-dev 2020-02-25 03:24:39 +00:00
Daniel Chapin
de8fadecbb Revert "Avoid creating new instance on top when started for resu..."
Revert "Add tests for start singleTop/singleInstance activity fo..."

Revert submission 10112771-single-for-result

Reason for revert: b/149877125
Reverted Changes:
I923a0d9aa:Avoid creating new instance on top when started fo...
I7d47580f8:Add tests for start singleTop/singleInstance activ...

Change-Id: Ice262d1b8cada3b6c6fe0a5e8000bb59e0536596
(cherry picked from commit e0012bda2a)

It appears that the original reverts missed the master cutover to rvc-dev
for rvc-release builds.  b/150138994 tracks this issue

Bug: 149877125
Bug: 150138994
2020-02-25 03:18:51 +00:00
TreeHugger Robot
0cbb2687ed Merge "Move PiP animation to SysUI package" into rvc-dev 2020-02-25 03:10:24 +00:00
lesl
565176c56d wifi: Add document magic 0 value for KEY_HOTSPOT_MAX_CLIENT_COUNT
Bug: 149871866
Test: make docs frameworks/base/telephony
Change-Id: Ib390438aecc5ef263d3b91bfdc852b44d641bc96
2020-02-25 10:51:26 +08:00
Jack Yu
1797db4a21 Add API docs for permission SECURE_ELEMENT_PRIVILEGED
Test: build pass
Bug: 149998089
Change-Id: I1740cf1e04a648a2fdb23a499f1d1fb39c8622a0
2020-02-25 10:45:20 +08:00
Joanne Chung
599d349712 Merge "Fix wrong parameter fieldIndex caused IndexOutOfBoundsException" into rvc-dev 2020-02-25 02:20:57 +00:00
TreeHugger Robot
ba58fd615f Merge "Add Option To Prevent Wake On Back Key Press" into rvc-dev 2020-02-25 02:10:32 +00:00
Winson
03f72240fe Use correct PackageSetting for dexopt calculation
The PackageSetting object is sometimes copied during
scan/install and will not match the reconciledPkg's pkgSetting.

This meant the usesLibrary parsing assigned the values to one
PackageSetting object, but dexopt read from the other, copied
object.

Unfortunately this copy logic leaves the two settings out of
sync and thus the isUpdatedSystemApp flag has to be copied
between them.

All of this would be great to resolve in a future refactor.

Bug: 150142306

Test: adb install -r {out_of_blueline_target}/product/app/CalculatorGooglePrebuilt/CalculatorGooglePrebuilt.apk
    installs correctly, with dexopt run with the correct paths

Change-Id: Ifca3bafcea1b8858baf4a22ddd264d5e07a0f1e5
2020-02-24 18:03:31 -08:00
Joshua Duong
1223bcaf0c Remove key from adb_keys if user forgets the key.
It was being removed from adb_temp_keys.xml but not adb_keys.

Bug: 150138676
Bug: 111434128

Test: atest AdbDebuggingManagerTest

Change-Id: I3c31394e4480e787c771e193b179a472d6ee4a62
2020-02-25 02:01:38 +00:00
TreeHugger Robot
bf2b4a3854 Merge "Fix PinnerService SecurityException at boot" into rvc-dev 2020-02-25 01:44:36 +00:00
Garfield Tan
cf11791876 Populate uniq field in uhid.
Sony introduced some logic that combines devices kernel splits into one
Android device based on identical pid, vid and non-empty uniq. Therefore
populate this field with device ID.

We can change that to a separate uniq attribute in register JSON file if
necessary later.

Bug: 38511270
Test: getevent -li shows that uniq is populated.
Change-Id: Ieca0b826c86e9cad7fa3d3c8f98b9cfd54d20c73
2020-02-25 01:40:06 +00:00
Alex Mang
799b7deb72 Clarifying meaning of items param in javadoc per feedback
Bug: 148402958
Change-Id: Ic021f6fc37e7fce8e9b052d7434d0dc1569724ea
Merged-In: Ic021f6fc37e7fce8e9b052d7434d0dc1569724ea
(cherry picked from commit fa1062ac43)
2020-02-25 01:21:08 +00:00
Yi-yo Chiang
56d9d677e8 Merge "Add DSU default userdata partition size" into rvc-dev 2020-02-25 01:17:42 +00:00
Nate Jiang
bd463a2b2d Merge "Override hashcode, equals function for PnoNetwork" into rvc-dev 2020-02-25 00:22:59 +00:00
Jack Yu
46dd4eb94a Merge "Added missed incoming call SMS support" into rvc-dev 2020-02-25 00:19:31 +00:00
Automerger Merge Worker
3ea1f90fe9 [automerger skipped] DO NOT MERGE: Add SystemUI support for front-facing camera protection am: 6075dd7f58 -s ours
am skip reason: subject contains skip directive

Change-Id: I456bec7d077fb18a39f04536ee4f641766e02bc8
2020-02-25 00:06:20 +00:00
Steve Elliott
a738ca4170 Increase avatar and sender name sizes in MessagingStyle
Bug: 146664602
Test: manual
Change-Id: Ibdb11de94bbc2482fca36bd9e9e320867c1d9620
2020-02-24 18:47:30 -05:00
Emilian Peev
6ea6fe99ba Camera: Rename CameraActionEvent duration
Rename "duration" field to correspond with the
actual time unit.

Bug: 139439353
Test: Successful build
Change-Id: I3e9b3ac5778d6fa4b6de35079743bdf6e85b7560
2020-02-24 15:31:34 -08:00
Sunny Goyal
c25c4bb378 Updating documentation for isDefaultApplicationIcon API
Bug: 149758817
Test: N/A
Change-Id: Iaa9b29f55087204f4af849a384cb6c9b01df4465
2020-02-24 15:16:08 -08:00
Suprabh Shukla
87cae2684d Resolving a TODO in AppWidgetService
Test: No code changes. Builds, boots.

Bug: 148035643
Change-Id: I15bc26b6e345aff421abbfd7604d1cbb36a38a0d
2020-02-24 22:57:12 +00:00
Steve Elliott
f9739a89f1 Fix important person notification ranking test
Fixes: 150116822
Test: atest
Change-Id: I0a84abd04f3136cde5f7bf9bf34d79037c6b7283
2020-02-24 22:43:32 +00:00