OSDN Git Service
Qingxi Li [Wed, 7 Mar 2018 18:50:02 +0000 (10:50 -0800)]
Add API to check extended APDU Supported
Add API UiccSlotInfo#getIsExtendedApduSupported
Bug:
68999147
Test: TreeHugger & E2E
Change-Id: Ia400a23c35332356deaa214861f6f5ffe47c8092
Leon Scroggins [Wed, 7 Mar 2018 18:51:16 +0000 (18:51 +0000)]
Merge "Draw AnimatedImageDrawable mirrored if desired" into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 18:11:15 +0000 (18:11 +0000)]
Merge "Avoid service wrapper initialization deadlock." into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 18:02:27 +0000 (18:02 +0000)]
Merge "Fix duplicate text in battery string" into pi-dev
Jason Monk [Wed, 7 Mar 2018 18:01:26 +0000 (18:01 +0000)]
Merge "Remove BIND_SLICE" into pi-dev
Chavi Weingarten [Wed, 7 Mar 2018 17:57:19 +0000 (17:57 +0000)]
Merge "Catch and log exceptions from setup or teardown of WindowTestBase" into pi-dev
Lucas Dupin [Wed, 7 Mar 2018 17:36:26 +0000 (17:36 +0000)]
Merge "Disable color extraction for media" into pi-dev
Richard Ledley [Wed, 7 Mar 2018 17:30:20 +0000 (17:30 +0000)]
Merge "Don't use highlighting in non-selectable text. Also fixes potential discrepancy in indexes for Linkified entities." into pi-dev
Annie Meng [Wed, 7 Mar 2018 17:07:51 +0000 (17:07 +0000)]
Merge "Validate restore of NetworkPolicy settings" into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 16:39:40 +0000 (16:39 +0000)]
Merge "System sounds get its own dnd toggle" into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 16:27:14 +0000 (16:27 +0000)]
Merge "Clarify javadoc for DevicePolicyManager.setTrustAgentConfiguration" into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 15:55:22 +0000 (15:55 +0000)]
Merge "Remove com.android.internal{.util} from generated documentation." into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 15:41:18 +0000 (15:41 +0000)]
Merge "Fix extra padding when there are no static notification dots" into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 15:30:23 +0000 (15:30 +0000)]
Merge "Screenshots: delete, default for edit intent." into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 15:23:15 +0000 (15:23 +0000)]
Merge "Removed @FlakyTest from ScreenDecorWindowTests" into pi-dev
Rubin Xu [Fri, 2 Mar 2018 15:25:28 +0000 (15:25 +0000)]
Clarify javadoc for DevicePolicyManager.setTrustAgentConfiguration
Fixes:
36887130
Test: builds
Change-Id: Ieccd3edc0122c9ae49903a3c5fc9fb0aba6c08a2
Wale Ogunwale [Wed, 7 Mar 2018 13:59:07 +0000 (13:59 +0000)]
Merge "Fix issue with where display is removed while creating it in AM and WM" into pi-dev
Tobias Thierer [Mon, 5 Mar 2018 22:55:32 +0000 (22:55 +0000)]
Remove com.android.internal{.util} from generated documentation.
com.android.internal.* is meant to be hidden from documentation,
but most of it is erroneously not hidden via @hide or -hidePackage
directives; why documentation is currently generated for Predicate
but not other classes from com.android.internal.util, and why some
but not all classes from that package show up in package-level
documentation (package-summary.html), is not currently understood.
There appears to be a behavior difference between OpenJDK 8 and
OpenJDK 9's javadoc that results in additional classes showing up
in package-summary.html. This CL fixes this by adding -hidePackage
directives for com.android.internal{.util}; other sub-packages of
com.android.internal do not currently show up in documentation and
are not touched by this CL.
Test: Patched this CL into the internal-master branch and ran:
USE_R8=true EXPERIMENTAL_USE_OPENJDK9=true make offline-sdk-docs
Checked that this removes all documentation for com.*
(com.android.internal.util was the only com.* package for which
documentation was previously generated).
In other words: Before this CL, [1] existed, but after
this CL, the entire directory subtree [2] does not exist.
Test: Checked that Predicate was already missing from stubs before this
CL. In other words, [3] already did not exist before this CL.
[1] out/target/common/docs/offline-sdk/reference/com/android/internal/util/Predicate.html
[2] out/target/common/docs/offline-sdk/reference/com
[3] out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/classes/com
Bug:
69736344
Bug:
69736236
(cherry picked from commit
97bb6cf371f51549c708cf58a04584968eaf7d5a)
Merged-In: Ic9757f4966f54092aac0191896581fa4222cc634
Change-Id: Ic9757f4966f54092aac0191896581fa4222cc634
Anton Hansson [Wed, 7 Mar 2018 13:48:23 +0000 (13:48 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible." into pi-dev
Yueming Wang [Wed, 7 Mar 2018 13:45:35 +0000 (13:45 +0000)]
Merge "Block adb from changing certain settings value when corresponding user restriction is on." into pi-dev
Wale Ogunwale [Wed, 7 Mar 2018 04:07:39 +0000 (20:07 -0800)]
Removed @FlakyTest from ScreenDecorWindowTests
Issues causing test to be flaky have been fixed.
Change-Id: Ie167c89bf32d24adb20766d2a36773b3f268d9ee
Fixes:
68957554
Test: this
Anton Hansson [Fri, 23 Feb 2018 12:57:51 +0000 (12:57 +0000)]
frameworks/base: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug:
73535841
Exempt-From-Owner-Approval: Global cleanup
Change-Id: I26458e41ecb84de91ac9a356a5d4bafb44f463c1
TreeHugger Robot [Wed, 7 Mar 2018 11:23:29 +0000 (11:23 +0000)]
Merge "MediaSession2: Fix random NPE in MediaBrowser2Test" into pi-dev
yuemingw [Tue, 30 Jan 2018 17:27:54 +0000 (17:27 +0000)]
Block adb from changing certain settings value when corresponding user
restriction is on.
Check calling uid in isSettingRestrictedForUser(which is called by settingsprovider),
and only allow system_uid when certain user restriction is on, so that user won't be
able to change these settings with adb:
Settings.Secure.LOCATION_MODE,
Settings.Secure.PROVIDERS_ALLOWED,
Settings.System.SCREEN_BRIGHTNESS,
Settings.System.SCREEN_BRIGHTNESS_MODE,
Settings.System.SCREEN_OFF_TIMEOUT,
Settings.Global.AUTO_TIME,
Settings.Global.AUTO_TIME_ZONE.
This check also prevents 3rd party apps from modifying system settings value
when corresponding user restriction is on.
In addition, any attempt to change AUTO_TIME will also go through the check
for dpm.getAutoTimeRequired().
Test: manually by running the adb command with restriction set and not set
Bug:
72549013
Bug:
72548203
Bug:
72548533
Bug:
72686466
Bug:
72687105
Bug:
72940551
Bug:
72940562
Change-Id: I1d1fd20d9fa0f76f27905d62873f6a6e9af0224e
Sungsoo Lim [Wed, 7 Mar 2018 07:59:53 +0000 (07:59 +0000)]
Merge changes from topics "mplc", "session2_onDataSourceMissingHelper" into pi-dev
* changes:
Remove MediaPlaylistController, add MediaPlaylistAgent
MediaSession2: Add SessionCallback#onCurrentMediaItemChanged()
MediaSession2: Add onDataSourceMissingHelper
Sungsoo Lim [Wed, 7 Mar 2018 04:09:36 +0000 (13:09 +0900)]
Remove MediaPlaylistController, add MediaPlaylistAgent
MediaPlaylistAgent is the abstract class an application needs to
derive from to pass an object to a MediaSession2 that will override
default playlist handling behaviors. It contains a set of notify*
methods to signal MediaSession2 that playlist-related state has
changed.
Bug:
64098437
Test: make update-api
Change-Id: Icb3c57ddc14eba276f49d4ba85f11adbeb3e0917
Jaewan Kim [Wed, 7 Mar 2018 06:16:55 +0000 (15:16 +0900)]
MediaSession2: Add SessionCallback#onCurrentMediaItemChanged()
Added callback for session to know the currently playing media item has
changed.
Note that the callback is called in response to the
MediaPlayerBase#PlayerEventCallback#onCurrentDataSourceChanged(mpb, dsd
is called. Session will translate dsd to the media item and calls
onCurrentMediaItemChanged().
Following changes are also included
- Removed MediaPlaylistController#getCurrentPlaylistItem(),
because currently playing item is managed by the MediaPlayerBase.
- Renamed ControllerCallback#onCurrentPlaylistItemChanged() to the
ControllerCallback#onCurrentMediaItemChanged(), to make it more
obvious that the event is from MediaPlayerBase, not
MediaPlaylistController.
- Added SessionCallback#onCurrentMediaItemChanged()
Bug:
64098437
Test: Run MediaComponents test
Change-Id: I78b124a7da0f968b097b2576507b9a73e36081ec
Jaewan Kim [Tue, 6 Mar 2018 05:43:10 +0000 (14:43 +0900)]
MediaSession2: Add onDataSourceMissingHelper
This allows a developer to create DataSourceDesc when the item is about
to be played. Typical example of the usages are,
1. For a playlist consists of FileDescriptors, its developer may not
want to open all files when MediaSession2.setPlaylist() is
called.
2. A controller has called setPlaylist(), addPlaylistItem(), or
replacePlaylistItem(). Controller cannot know the
DataSourceDesc, and only the session developer can know about
it.
Bug:
64098437
Test: Run MediaComponents test
Change-Id: I73f27ca0a799b1cddf5046b41f0ca01d08037103
TreeHugger Robot [Wed, 7 Mar 2018 04:53:07 +0000 (04:53 +0000)]
Merge "Connectivity: Fix map access" into pi-dev
Lucas Dupin [Wed, 7 Mar 2018 04:27:50 +0000 (20:27 -0800)]
Disable color extraction for media
Overlaying an album with wallpaper colors isn't optimal.
Using the album extracted color also isn't optimal, the color probably
won't meet accessibility guidelines and will have to be stretched
according to the current lock screen theme - which can be even worse.
Test: atest packages/SystemUI/tests/src/com/android/systemui/colorextraction/SysuiColorExtractorTests.java
Change-Id: I53d08713716bd76ee0975c2b4bba5b933201f999
TreeHugger Robot [Wed, 7 Mar 2018 04:26:18 +0000 (04:26 +0000)]
Merge "MediaPlayer2: embed header in uri" into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 03:52:28 +0000 (03:52 +0000)]
Merge "Fix Telecom dumpsys timestamps" into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 03:44:31 +0000 (03:44 +0000)]
Merge "Remove toString() for CarrierIdentifier." into pi-dev
Andreas Gampe [Tue, 6 Mar 2018 01:23:07 +0000 (17:23 -0800)]
Connectivity: Fix map access
Found by Errorprone.
Bug:
73288226
Test: mmma frameworks/base/services
Merged-In: I1c4b35811c72d389e53e28c3eb1b411009471b92
Merged-In: Ice91ac58257551485231da4664027a281237de4b
Merged-In: I7d2f578b54c69139be8b887a2381ac1b2e0673a3
Change-Id: I63edad58dbc909c1e772bde85a1b9dd98c551fb1
(cherry picked from commit
3ba8106c23cdf518527f75beaabb48bf3182fb4d)
TreeHugger Robot [Wed, 7 Mar 2018 02:32:17 +0000 (02:32 +0000)]
Merge "Add APP_AUTO_RESTRICTION_ENABLED" into pi-dev
Robert Shih [Tue, 6 Mar 2018 07:14:50 +0000 (23:14 -0800)]
MediaPlayer2: embed header in uri
Bug:
63934228
Change-Id: I3eba4a0ee8e8e784f6dcf79c739a756e957025c9
TreeHugger Robot [Wed, 7 Mar 2018 02:09:34 +0000 (02:09 +0000)]
Merge "Changing Slog.wtf to Slog.w" into pi-dev
Wale Ogunwale [Tue, 6 Mar 2018 20:24:19 +0000 (12:24 -0800)]
Fix issue with where display is removed while creating it in AM and WM
It is possible to a display to be removed while we are in the ctor of
ActivityDisplay in AM, but before we can get the Display object in the
ctor of DisplayWindowController in WM. This causes us to throw an
exception becuase the caller is trying to add a display we can't find in
display manager. Unfortunately there isn't a good way to handle this race.
To work around it we will now pass the Display object from AM to WM to use
and depend on the fact that AM will remove the display shortly after.
Change-Id: Ie3f9d86bad67f5a023e3e7dfce5219b98c796864
Fixes:
72893961
Test: go/wm-smoke
Scott Main [Wed, 7 Mar 2018 01:54:15 +0000 (01:54 +0000)]
Merge "Fix javadoc typo causing broken links" into oc-mr1-dev
am:
ac2cdc0dba
Change-Id: Ib8d63b1bfcc20e398314501a51bd2fad76a8d10e
Makoto Onuki [Thu, 25 Jan 2018 17:50:24 +0000 (09:50 -0800)]
Avoid service wrapper initialization deadlock.
- Don't initialize a service wrapper with the cache lock held.
- Instead, use AtomicInteger to avoid instantiating the same service
multiple times.
Test: build, boot, presubmit
Bug:
71882178
Change-Id: Iea4207b855043addac4d24381778babf8eedd84d
Scott Main [Wed, 7 Mar 2018 01:39:45 +0000 (01:39 +0000)]
Merge "Fix javadoc typo causing broken links" into oc-mr1-dev
Scott Main [Tue, 6 Mar 2018 22:57:07 +0000 (14:57 -0800)]
Fix javadoc typo causing broken links
Change-Id: I988e06100562c574bbda1bb530359da289062d65
bug:
74262753
TreeHugger Robot [Wed, 7 Mar 2018 01:38:53 +0000 (01:38 +0000)]
Merge "Add feature flag for audio output switcher." into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 01:09:44 +0000 (01:09 +0000)]
Merge "Update background ANR setting text" into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 00:41:35 +0000 (00:41 +0000)]
Merge "Atom: ResourceConfigurationChanged" into pi-dev
Holly Jiuyu Sun [Tue, 6 Mar 2018 00:07:37 +0000 (16:07 -0800)]
Remove toString() for CarrierIdentifier.
We may get NPE if mCarrierIdentifier is null. + should convert it to
string by itself.
Test: test on phone
Merged-In: Ibd352d6d2a9b0cb33a494d108eb0d3a7c1dbc61b
Change-Id: Ibd352d6d2a9b0cb33a494d108eb0d3a7c1dbc61b
chaviw [Wed, 7 Mar 2018 00:24:17 +0000 (16:24 -0800)]
Catch and log exceptions from setup or teardown of WindowTestBase
A lot of the test failures are due to issues in setup and/or teardown of
the tests. The test framework doesn't log errors that are thrown from
the @Before or @After block. This change allows the errors to get logged
so we can determine what the root issue for the test failures are.
Bug:
74078662
Test: Thrown exceptions in setup/teardown are logged.
Change-Id: I8eb0d112f9d34dad01f761d5ccd75ba0936ac026
Salvador Martinez [Tue, 6 Mar 2018 21:40:22 +0000 (13:40 -0800)]
Fix duplicate text in battery string
The word 'about' was duplicated in the string. This CL fixes the
string and makes the tests for that particular string more robust.
Test: robotests
Bug:
74220105
Change-Id: Ifeff3e08a64c5f23b7a64dfc0d35ca912ce7f65a
Chavi Weingarten [Wed, 7 Mar 2018 00:34:07 +0000 (00:34 +0000)]
Merge "Fix wallpaper screenshot" into pi-dev
Hall Liu [Tue, 6 Mar 2018 22:20:37 +0000 (14:20 -0800)]
Fix Telecom dumpsys timestamps
Change the dumpsys timestamps to use java.time for processing and always
log events with local timezone that was in effect at the time the event
happened.
Bug:
74250969
Test: manual, run dumpsys
Change-Id: Ie53cff4400be1528b3224bd556536a689ef22c8c
TreeHugger Robot [Wed, 7 Mar 2018 00:20:34 +0000 (00:20 +0000)]
Merge "Fix GnssMeasurement JNI for 1.1" into pi-dev
Alison Cichowlas [Wed, 7 Mar 2018 00:08:18 +0000 (19:08 -0500)]
Screenshots: delete, default for edit intent.
Revive delete action in screenshot notification; add config option
to specify default component to handle edit.
Test: Manual with Markup app & empty option.
Change-Id: If0fd90bf8eeb5667c51f3d959d3f77b28c5a33ce
TreeHugger Robot [Wed, 7 Mar 2018 00:19:55 +0000 (00:19 +0000)]
Merge "IME API: rename IMS methods." into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 00:11:33 +0000 (00:11 +0000)]
Merge "Update strings that refer to the OS" into pi-dev
Jaewan Kim [Wed, 7 Mar 2018 00:02:09 +0000 (00:02 +0000)]
Merge changes from topic "session2-pi-listcallback" into pi-dev
* changes:
MediaSession2: Pass player info for the callbacks from MediaPlayerBase
MediaSession2: Add MediaPlaylistController.PlaylistEventCallback
Rob Carr [Tue, 6 Mar 2018 23:45:37 +0000 (23:45 +0000)]
Merge "Assign leash layer when starting animations." into pi-dev
Suprabh Shukla [Tue, 6 Mar 2018 23:40:53 +0000 (15:40 -0800)]
Changing Slog.wtf to Slog.w
Removing a wtf that was added temporarily.
Test: Builds, boots.
Fixes:
70677313
Change-Id: I129920b4a4c96abcd7f40c8077f6597208ed84cc
TreeHugger Robot [Tue, 6 Mar 2018 23:38:36 +0000 (23:38 +0000)]
Merge "Move com.android.managedprovisioning package constant to config.xml" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 23:33:28 +0000 (23:33 +0000)]
Merge "Hide overlay notification" into pi-dev
Doris Ling [Tue, 6 Mar 2018 23:17:10 +0000 (15:17 -0800)]
Add feature flag for audio output switcher.
Bug:
74130772
Test: rebuild
Change-Id: I06224975550ab4017d1546b182af083a36c0eacc
Ashutosh Joshi [Tue, 6 Mar 2018 23:13:45 +0000 (23:13 +0000)]
Merge "Update OWNERS" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 23:06:18 +0000 (23:06 +0000)]
Merge "MediaSession2: Ask server whether a controller is trusted" into pi-dev
Mike Digman [Tue, 6 Mar 2018 23:04:54 +0000 (23:04 +0000)]
Merge "Reset user rotate pref on navbar create" into pi-dev
Dianne Hackborn [Tue, 6 Mar 2018 23:04:16 +0000 (23:04 +0000)]
Merge "Fix issue #
72116995: Add permission guarding Service#startForeground" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 23:00:25 +0000 (23:00 +0000)]
Merge "Exclude from Recents Assistant in half-screen mode" into pi-dev
Chen Xu [Tue, 6 Mar 2018 22:57:32 +0000 (22:57 +0000)]
Merge "API review: rename CarrierIdentification to Carrier id" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:50:28 +0000 (22:50 +0000)]
Merge "Add more tests for MemoryStatUtil" into pi-dev
Michael West [Tue, 6 Mar 2018 22:41:40 +0000 (22:41 +0000)]
Merge "Add set-time and set-timezone shell cmds to alarm service" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:37:43 +0000 (22:37 +0000)]
Merge "Stop invoking secdiscard when deleting password data" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:37:09 +0000 (22:37 +0000)]
Merge "Using UserManagerInternal for access control instead of UserManager" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:33:24 +0000 (22:33 +0000)]
Merge "Update default charging sound to new sound" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:28:53 +0000 (22:28 +0000)]
Merge "Adds instant app visibility to instumentation" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:27:20 +0000 (22:27 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:26:22 +0000 (22:26 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:21:48 +0000 (22:21 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:20:13 +0000 (22:20 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:19:54 +0000 (22:19 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:19:50 +0000 (22:19 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:16:50 +0000 (22:16 +0000)]
Merge "WallpaperColors hint computation" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:06:58 +0000 (22:06 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:05:06 +0000 (22:05 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Chavi Weingarten [Tue, 6 Mar 2018 22:04:35 +0000 (22:04 +0000)]
Merge "Only set appToken.setCanTurnScreenOn to false if screen was turned on." into pi-dev
Lucas Dupin [Tue, 6 Mar 2018 21:55:48 +0000 (21:55 +0000)]
Merge "Increase char limit of keyguard messages" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 21:54:25 +0000 (21:54 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 21:51:43 +0000 (21:51 +0000)]
Merge "Add an app-ops check when registering for location" into pi-dev
Julia Reynolds [Tue, 6 Mar 2018 21:44:53 +0000 (21:44 +0000)]
Merge "metrics constants for app ops." into pi-dev
jackqdyulei [Tue, 27 Feb 2018 19:18:00 +0000 (11:18 -0800)]
Add APP_AUTO_RESTRICTION_ENABLED
This config is used in aosp to auto restrict anomaly app.
Also add it to backup, dump and proto.
Bug:
73002171
Test: Build
Change-Id: I3d198e8856e2431f9ab7350a6dd897f1a6010002
Merged-In: I3d198e8856e2431f9ab7350a6dd897f1a6010002
(cherry picked from commit
1d9c0aa9401e35066aca95a5d062018c151d502f)
Andrew Sapperstein [Sun, 4 Mar 2018 20:51:42 +0000 (12:51 -0800)]
Update strings that refer to the OS
Adds variants for device/default/tablet and customizes
for each one. Also changes upgrade to update.
Bug:
72941316
Test: ag/
3688370
Change-Id: I7550afd139537ee288eabac1f7312b4a70dca411
Vadim Tryshev [Tue, 6 Mar 2018 02:33:48 +0000 (18:33 -0800)]
Exclude from Recents Assistant in half-screen mode
The expectation is that full-screen assistant will not have
FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS attribute, and will be shown in
Recents, whether it's a first or a non-first task. The half-screen
assistant will have this flag set, and will never be shown in Recents.
Bug:
70789568
Test: Check that Assistant with FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS isn't
shown in Recents.
Change-Id: I5bd2f5f638cc4e0100e435d94eee22e7c022aab6
TreeHugger Robot [Tue, 6 Mar 2018 20:31:01 +0000 (20:31 +0000)]
Merge "Use uint64_t instead of long long as API type for consistent reason." into pi-dev
chaviw [Mon, 5 Mar 2018 23:28:35 +0000 (15:28 -0800)]
Fix wallpaper screenshot
Wallpaper screenshot was broken since it would just screenshot the
entire screen. Updated wallpaper screenshot code to use the new
captureLayers API so the wallpaper layer can be specified for the
screenshot.
Change-Id: I594870583ddc2fb29c7eeafe003f20e4ee392a3a
Fixes:
69562019
Test: testWallpaperScreenshot
Julia Reynolds [Tue, 6 Mar 2018 19:27:00 +0000 (14:27 -0500)]
Hide overlay notification
If app's own foreground service notification is tagged.
Test: atest SystemUITests
Bug:
64085448
Change-Id: If10b8dda529c72ee063c9c18c932ceb6d4f92bb4
TreeHugger Robot [Tue, 6 Mar 2018 20:14:26 +0000 (20:14 +0000)]
Merge "Revert "pm: SharedUserId: Assign seinfo using actual targetSdkVersion"" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 20:13:48 +0000 (20:13 +0000)]
Merge "Fix notification padding and slice collision" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 20:12:24 +0000 (20:12 +0000)]
Merge "Add more APIs into hidden API light greylist" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 20:08:34 +0000 (20:08 +0000)]
Merge "DO NOT MERGE Don't send config change when display is removed" into pi-dev
Wyatt Riley [Sat, 3 Mar 2018 04:16:58 +0000 (20:16 -0800)]
Fix GnssMeasurement JNI for 1.1
Passing the GnssMeasurement JavaObject as reference
Harmonizing variable name styles for 1.0 vs. 1.1
Change-Id: Ia28c159cbda91f89e7387bcf3c404c41375e6be8
Fixes:
74021441
Test: Runs on device, and works with GnssLogger
(cherry picked from commit
7155f8a9f61a68c3a33a72893d01f64f0d890bd8)
Bill Yi [Tue, 6 Mar 2018 19:49:27 +0000 (11:49 -0800)]
Import translations. DO NOT MERGE
Change-Id: I88fe34f22e5c9d5acb30a0647979ab0fa7a44a50
Auto-generated-cl: translation import
Lucas Dupin [Tue, 6 Mar 2018 17:50:49 +0000 (09:50 -0800)]
Increase char limit of keyguard messages
Change-Id: I560dfeecabf79e70c8e04cffd15d8af68e425769
Fixes:
74206241
Test: force long string, look at lock screen
Mike Digman [Tue, 6 Mar 2018 19:01:41 +0000 (11:01 -0800)]
Reset user rotate pref on navbar create
System appears in portrait after restart, however rotation
watcher callbacks don't fire leaving user rotate pref stale
from last boot. Reset in onCreate and replace override logic
with policy's natural rotation.
Test: manual
Change-Id: Ia1f1e5f637708e5c678edbb5cbf9f4125e451103