Commit Graph

103129 Commits

Author SHA1 Message Date
Taran Singh
1bcb0c6b35 Merge "Fix IME hide state" into rvc-dev 2020-03-24 03:59:14 +00:00
Taran Singh
292da01e06 Merge "Fix floating IME visibility" into rvc-dev 2020-03-24 03:59:05 +00:00
TreeHugger Robot
a42c95cd64 Merge "Refine performance for calling into ContentCapture" into rvc-dev 2020-03-24 03:31:20 +00:00
Wale Ogunwale
e5cfca4454 Merge "Introduce WindowOrganizer" into rvc-dev 2020-03-24 02:01:29 +00:00
Santiago Etchebehere
9c750b3084 Merge "Send a command to the wallpaper when re-applying it" into rvc-dev 2020-03-24 01:46:29 +00:00
Taran Singh
aef529a7cc Fix IME hide state
Insets API notifies IME when it's hidden. however, IMMS never
really received these state changes. Using requestHideSelf() makes sure
IMMS is in-sync.

Fix: 151980214
Test: manually using the steps in bug

Change-Id: I7f6098a61a5942795ffd33a60329e4dd5fb5d6cb
2020-03-24 00:43:42 +00:00
TreeHugger Robot
393c9121ce Merge "Hide CellularBatteryStats#getTxTimeMillis." into rvc-dev 2020-03-24 00:09:05 +00:00
Vishnu Nair
84d1c3c618 Merge "Revert "Revert "RootViewImpl: Fix measure size hint for WRAP_CONTENT windows""" into rvc-dev 2020-03-23 23:25:21 +00:00
Taran Singh
0485041305 Fix floating IME visibility
Floating IME now applies final visibility

Test: Manually using steps in bug
Fix: 151953095
Change-Id: Id611e4bac22e9663d04e260794ea0f621d7b7e29
2020-03-23 15:58:39 -07:00
Eino-Ville Talvala
174fd34cba Merge "Camera: Improve docs for getOutputMinFrameDuration" into rvc-dev 2020-03-23 22:55:22 +00:00
Lucas Dupin
59dc371fed Merge "Set dark theme flag when initializing with Color" into rvc-dev 2020-03-23 22:49:37 +00:00
Santiago Etchebehere
85ef2fddce Send a command to the wallpaper when re-applying it
We don't set a wallpaper component again if it's the one
already set, so we're now sending it a command notifying
of this in case the wallpaper needs to reload or apply
settings.

Bug: 147677688
Test: atest WallpaperManagerServiceTests
Change-Id: If65671287ba3270933b75771a8c1c65c5ff0216a
2020-03-23 15:37:39 -07:00
Amit Mahajan
9bfde0e1fd Hide CellularBatteryStats#getTxTimeMillis.
Will be re-exposed as SystemApi in S.

Test: TH
Bug: 152247297
Change-Id: Ifb87676fa5afd2720dd09f36f3ff67c1b215b676
2020-03-23 15:15:17 -07:00
TreeHugger Robot
87500a84a4 Merge "Make Log.isLogagble @FastNative" into rvc-dev 2020-03-23 20:25:39 +00:00
Dan Stoza
571a08feec Merge "Add <p> tags for PowerManager#getThermalHeadroom" into rvc-dev 2020-03-23 20:04:41 +00:00
Eino-Ville Talvala
585305da32 Camera: Improve docs for getOutputMinFrameDuration
The current text was misleading, since minimum frame duration of a
stream affects the aggregate minimum frame duration of a session
whether a stream is in use for a given request stream or not.

Test: Docs build
Bug: 147080626
Change-Id: Ic884cd0bb3ea184383944cb78e9713d6044b1959
2020-03-23 12:41:17 -07:00
Svetoslav Ganov
09b9570862 Merge "Add APIs to move suggestions below/above window" into rvc-dev 2020-03-23 19:10:03 +00:00
Andrii Kulian
87a59b2dfb Merge "Revert "Don't override activity display adjustments with app config"" into rvc-dev 2020-03-23 18:24:10 +00:00
Dan Stoza
2ee536290e Add <p> tags for PowerManager#getThermalHeadroom
Adds <p> tags to the Javadoc for PowerManager#getThermalHeadroom

Bug: 150855511
Test: m docs
Change-Id: Icf7b4eef8539ace14f466745e5bc6b6b79cc23c5
2020-03-23 10:40:30 -07:00
Makoto Onuki
8e81742dc0 Make Log.isLogagble @FastNative
This CL doens't change println_native() because:
- To avoid potential risks (jank?) because it's kind of late in the RVC
cycle.
- The JNI overhead is unlikely to be a major problem in logging. If apps
are making *that* many log calls, that itself would be a bigger
problem.

Test: treehugger / boot
Bug: 152217649
Change-Id: I86aeb62b217e5331e6bbd02a0ba592fd050a41b2
2020-03-23 17:19:05 +00:00
Wale Ogunwale
568f9f41c6 Introduce WindowOrganizer
WM currently only allows the organization of tasks, however we will soon
be allowing the organization of DisplayAreas. To help with the code
structure, we are introducing WindowOrganizer interface which will
contain common APIs for all types of windows organizers (e.g.
applyTransaction) and also be the interfaece for getting the controller
for other organizers.

Test: they pass!
Bug: 147406652
Bug: 152113464
Bug: 152117221

Change-Id: Id2797b288ce92430206c25345d60e7b0e3be98c8
2020-03-23 08:59:18 -07:00
Wale Ogunwale
f09fdecd55 Merge "Move some window related files to android.window package" into rvc-dev 2020-03-23 13:48:30 +00:00
TreeHugger Robot
5bd455ac5f Merge "Enable the feature flag for contextual home v2" into rvc-dev 2020-03-23 11:27:30 +00:00
TYM Tsai
b8690fba14 Refine performance for calling into ContentCapture
Bug: 149561198
Test: manual
Change-Id: I554dc2e6e940ba77d6842714e0efac372c27fe95
2020-03-23 17:46:19 +08:00
Jason Chiu
8234820115 Enable the feature flag for contextual home v2
Bug: 149274976
Test: rebuild
Change-Id: Id3af8c6cae731222236a510a10cbeb9937004862
2020-03-23 17:20:56 +08:00
Aaron Huang
cd44942a14 Remove Context.NETWORK_POLICY_SERVICE from @SystemApi
Hide Context.NETWORK_POLICY_SERVICE as it has no usage.

Bug: 151266974
Test: make checkapi, build
Change-Id: I0586a5ef22f76fa1407219b96cb246f162f02947
2020-03-23 15:15:40 +08:00
Remi NGUYEN VAN
1f0355a1cd Merge "Fix javadoc for Context.TETHERING_SERVICE" into rvc-dev 2020-03-23 01:20:13 +00:00
bsears
558f025f4d Revert "Don't override activity display adjustments with app config"
Revert "Verify reported display sizes in multi-window"

Revert submission 10636794-app_config_updates_adjustments-rvc-dev

Reason for revert: See b/151903752#comment29.  This CL was identified (via bisection) as the CL that is breaking Android Auto.
Reverted Changes:
Ib3ee007bc:Don't override activity display adjustments with a...
I5ba4dd354:Verify reported display sizes in multi-window

Bug: 151903752

Change-Id: I845ed4871637d6d8a5fac1a6a5236378829b837e
2020-03-22 17:59:40 +00:00
Wale Ogunwale
5794658be0 Move some window related files to android.window package
Window management files on the client side have normally been dumped in
either android.view or android.app package. This CL starts to
centralized them in android.window package so there is better
separation.

Test: they pass
Bug: 147406652
Bug: 152113464
Bug: 152117221
Change-Id: I4d64bd256e9b3581af0ccf9396f7dd2454132719
2020-03-22 09:47:43 -07:00
Sudheer Shanka
add060f917 Merge "Add BlobStoreManager.getRemainingLeaseQuotaBytes." into rvc-dev 2020-03-22 07:21:17 +00:00
TreeHugger Robot
e0ee0e4d4b Merge "resolve merge conflicts of 7e0769b219 to rvc-dev" into rvc-dev 2020-03-22 00:36:07 +00:00
Lucas Dupin
2e7170bb21 Set dark theme flag when initializing with Color
Users want to be able to use this flag and have been relying on
WallpaperColors#fromBitmap given that flags were not parsed by
the main constructor.

Fixes: 151717291
Test: atest WallpaperColorsTest
Change-Id: I0470a867c54756df9a758b24835a50bc67191050
2020-03-22 00:12:26 +00:00
TreeHugger Robot
9a58d5747a Merge "Un-expose APIs added for telephony mainline." into rvc-dev 2020-03-21 21:17:33 +00:00
Hui Yu
aa3d42b129 Merge "Update AppOps & UsageStats when app widget tapped." into rvc-dev 2020-03-21 19:54:59 +00:00
Hui Yu
3dc45fbc57 Update AppOps & UsageStats when app widget tapped.
When the app widget on the launcher is tapped on:
1. Update AppOps. AppOps treats the underlying app as foreground so the app can get while-in-use
permission.
2. Report a USER_INTERACTION event to UsageStats so UsageStats can
update mLastTimeUsed and mLastTimeVisible of this package.

Bug: 149043079
Test: manual test, tapped on a widget.
Change-Id: Ic8c91190881cf5dcf89f0f72cfd410b0c2e86bf6
2020-03-21 08:36:54 -07:00
Michael Groover
ffd92af9a5 Merge "Refactor device ID access SystemAPI to PermissionManager" into rvc-dev 2020-03-21 15:30:53 +00:00
Stanislav Zholnin
58e8d270a7 Merge "Remove separate OpIds for logging and enforce op ids instead." into rvc-dev 2020-03-21 10:28:23 +00:00
Stanislav Zholnin
d5378e96a5 Remove separate OpIds for logging and enforce op ids instead.
Bug: 143519689
Test: atest UidAtomTests
Change-Id: Ia1897c9c2ffa11547ec09f899a45cfed9b7b0d5d
Merged-Id: Ia1897c9c2ffa11547ec09f899a45cfed9b7b0d5d
2020-03-21 10:27:08 +00:00
Rahul Sabnis
bd91b5360f Merge "Add BLUETOOTH_PRIVILEGED permission as a requirement for all new Bluetooth SystemApis and for hidden connect/disconnect APIs." into rvc-dev 2020-03-21 06:47:30 +00:00
Siarhei Vishniakou
f26b795c04 resolve merge conflicts of 7e0769b219 to rvc-dev
Bug: 148311342
Change-Id: I99d6296b8947ba85573a11fc5d07583326dd15da
2020-03-21 06:08:47 +00:00
Evan Severson
4846c5e3a9 Merge "Add one-time flag to test api" into rvc-dev 2020-03-21 05:44:34 +00:00
TreeHugger Robot
4e4fa985c1 Merge "[Telephony Mainline] Hide TelephonyServiceManager and TelephonyFrameworkInitializer" into rvc-dev 2020-03-21 05:05:27 +00:00
TreeHugger Robot
2ecb17aa03 Merge "Camera: Move bokeh mode to extendedSceneMode tag" into rvc-dev 2020-03-21 04:25:09 +00:00
Rahul Sabnis
2c71d16ced Add BLUETOOTH_PRIVILEGED permission as a requirement for all new Bluetooth SystemApis and for hidden connect/disconnect APIs.
Hide some APIs that were previously marked as @UnsupportedAppUsage and re-add annotation as changing the permissions for these SystemApis would break the unsupported app contract that was previously there. Therefore, we're choosing to hide them until we have a good story on how to deal with them next release.

Bug: 148689314
Test: Manual
Change-Id: I33ee2c7ccd3827db3d23d6447cf82d9ffc36836a
2020-03-21 04:10:15 +00:00
TreeHugger Robot
a3c47e791e Merge "Fixed an issue where the largeIcon wouldn't be shown for non-shortcuts" into rvc-dev 2020-03-21 03:06:25 +00:00
TreeHugger Robot
8f8d351bb8 Merge "BluetoothHearingAid#getHiSyncId now consistently uses the term HiSyncId (removed all references to CustomerId) and added link to explain what the HiSyncId represents" into rvc-dev 2020-03-21 03:00:32 +00:00
TreeHugger Robot
fd8d9650ac Merge "Add importance ring around conversation badge" into rvc-dev 2020-03-21 00:46:13 +00:00
Nicholas Ambur
aceabbf758 Merge changes from topic "enrollment-app-permission" into rvc-dev
* changes:
  fix enrollment application permission check
  add KEYPHRASE_ENROLLMENT_APPLICATION permission
2020-03-21 00:39:35 +00:00
Peter Wang
23cf98eaa8 [Telephony Mainline] Hide TelephonyServiceManager and TelephonyFrameworkInitializer
Bug: 151455139
Fix: 151455139
Test: Build
Change-Id: I067c821239585d3d4e8dcf39798b1d0014ba077b
2020-03-20 17:34:49 -07:00
TreeHugger Robot
afb5aa530b Merge "Fixed doc" into rvc-dev 2020-03-21 00:28:15 +00:00