OSDN Git Service
Jaewan Kim [Thu, 22 Feb 2018 09:55:21 +0000 (09:55 +0000)]
Merge "MediaSessionService: Document necessity of onSessionDestroyed()"
TreeHugger Robot [Thu, 22 Feb 2018 09:37:57 +0000 (09:37 +0000)]
Merge "Camera: improve Surface equality check"
TreeHugger Robot [Thu, 22 Feb 2018 06:40:03 +0000 (06:40 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 05:36:45 +0000 (05:36 +0000)]
Merge "Add annotation to atoms that represent a state change in atoms.proto"
TreeHugger Robot [Thu, 22 Feb 2018 04:30:27 +0000 (04:30 +0000)]
Merge "Rename HardwareLayer -> TextureLayer"
TreeHugger Robot [Thu, 22 Feb 2018 04:08:02 +0000 (04:08 +0000)]
Merge "WebView: fix docs for setSafeBrowsingWhitelist"
TreeHugger Robot [Thu, 22 Feb 2018 04:01:25 +0000 (04:01 +0000)]
Merge "Updates the name of the native library wrapper class, adds options and removes hints."
Mike Digman [Thu, 22 Feb 2018 03:55:10 +0000 (03:55 +0000)]
Merge "Update rotate suggestion button icon+motion"
TreeHugger Robot [Thu, 22 Feb 2018 03:13:04 +0000 (03:13 +0000)]
Merge "Statsd anomaly output log fix"
John Reck [Thu, 22 Feb 2018 02:28:40 +0000 (02:28 +0000)]
Merge "Handle window surface insets"
TreeHugger Robot [Thu, 22 Feb 2018 02:17:34 +0000 (02:17 +0000)]
Merge "Fix the bug of timestamp encoding in event metric report."
TreeHugger Robot [Thu, 22 Feb 2018 02:14:07 +0000 (02:14 +0000)]
Merge "Add 90th and 95th percentile to ManualBenchmarkState"
Bill Yi [Thu, 22 Feb 2018 01:35:18 +0000 (17:35 -0800)]
Import translations. DO NOT MERGE
Change-Id: I40b6e489f9b5e97da095ae0d4258de9df1565736
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 22 Feb 2018 01:26:09 +0000 (01:26 +0000)]
Merge "Binary Cpu Time Proc File Reader"
TreeHugger Robot [Thu, 22 Feb 2018 01:11:00 +0000 (01:11 +0000)]
Merge "Throttler for incidentd based on size putting into dropbox."
Sundeep Ghuman [Thu, 22 Feb 2018 00:55:07 +0000 (00:55 +0000)]
Merge "Fix tests broken in ag/
3574286"
Yao Chen [Mon, 19 Feb 2018 22:39:19 +0000 (14:39 -0800)]
Add annotation to atoms that represent a state change in atoms.proto
+ A state change atom can have one exclusive state field, and any
number of primary key fields.
When there is primary key in the atom, it means the state belongs to the primary key.
For example,
message UidProcessStateChanged {
optional int32 uid = 1 [(stateFieldOption).option = PRIMARY];
optional android.app.ProcessStateEnum state = 2 [(stateFieldOption).option = EXCLUSIVE];
}
When there is no primary key fields in the atom, the state is global.
For example,
message ScreenStateChanged {
optional android.view.DisplayStateEnum state = 1 [(stateFieldOption).option = EXCLUSIVE];
}
+ The annotation is consumed by stats_log_api_gen to generate a static map from the state
atoms to its primary fields, and exclusive fields
+ stats_log.proto is splitted into 2 proto files, because statsd needs proto lite, and c++
lite proto library cannot properly ignore the field options which requires full proto.
This CL doesn't change any logic in the statsd yet. A separate CL will use the field option
information to correctly track the state.
Test: added unit tests in stats_log_api_gen_test. and statsd_test pases.
Change-Id: I9e8a979fe81ba60efd4d854bb7087ce4b2b147ec
Sundeep Ghuman [Wed, 21 Feb 2018 22:17:57 +0000 (14:17 -0800)]
Fix tests broken in ag/
3574286
Changes made during review process broke a test, and this was not caught
via presubmits. Fixing now.
Bug:
68030053
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: I7ce84c7cd1653966beb8980250e64a590def7fc9
Android Build Merger (Role) [Thu, 22 Feb 2018 00:44:42 +0000 (00:44 +0000)]
Merge "Merge "Check for location access on TelephonyRegistry" am:
31230bb193 am:
f581580fdb am:
9b31dd86da"
Hall Liu [Thu, 22 Feb 2018 00:43:12 +0000 (00:43 +0000)]
Merge "Check for location access on TelephonyRegistry" am:
31230bb193 am:
f581580fdb
am:
9b31dd86da
Change-Id: Icd2feab82a9350fa2b6539617863ad91a44e5208
TreeHugger Robot [Thu, 22 Feb 2018 00:40:52 +0000 (00:40 +0000)]
Merge "Add Hearing Aid output device"
Makoto Onuki [Thu, 22 Feb 2018 00:40:32 +0000 (00:40 +0000)]
Merge "Fix comment on config_defaultTextClassifierPackage"
Android Build Merger (Role) [Thu, 22 Feb 2018 00:35:04 +0000 (00:35 +0000)]
Merge "Merge "Explicitly restart the killed wallpaper service" am:
0780b18a9f am:
9298af376a am:
c5d4747494"
Chris Tate [Thu, 22 Feb 2018 00:34:45 +0000 (00:34 +0000)]
Merge "Explicitly restart the killed wallpaper service" am:
0780b18a9f am:
9298af376a
am:
c5d4747494
Change-Id: I6f9d38268320095ba69bfa490fcdf4dadd173fe8
Hall Liu [Thu, 22 Feb 2018 00:34:03 +0000 (00:34 +0000)]
Merge "Check for location access on TelephonyRegistry" am:
31230bb193
am:
f581580fdb
Change-Id: Ic13eacf7dafc96359bd607cb4e2a5c024f9bb607
TreeHugger Robot [Thu, 22 Feb 2018 00:33:42 +0000 (00:33 +0000)]
Merge "Handling concurrent location & SV status update"
Yin-Chia Yeh [Wed, 21 Feb 2018 20:38:19 +0000 (12:38 -0800)]
Camera: improve Surface equality check
Bug:
72134091 73711267
Change-Id: I0d7b42f8621c1fb19ad9645d8b407eb90b05654d
Chris Tate [Thu, 22 Feb 2018 00:16:40 +0000 (00:16 +0000)]
Merge "Explicitly restart the killed wallpaper service" am:
0780b18a9f
am:
9298af376a
Change-Id: If3cd3217c2d9f42772e0f276c1bc3c1380ac149f
Hall Liu [Thu, 22 Feb 2018 00:11:04 +0000 (00:11 +0000)]
Merge "Check for location access on TelephonyRegistry"
am:
31230bb193
Change-Id: I6827b337d9bcc2c634d873e03895c5997cca374c
Chris Tate [Thu, 22 Feb 2018 00:06:25 +0000 (00:06 +0000)]
Merge "Explicitly restart the killed wallpaper service"
am:
0780b18a9f
Change-Id: I7759fc380ef9555cb58f9ab593248e69cd798c70
Jakub Pawlowski [Wed, 21 Feb 2018 19:53:14 +0000 (11:53 -0800)]
Add Hearing Aid output device
This output is used to send audio to Hearring Aid device.
Bug:
69623109
Test: mm
Change-Id: I6ffdb0a404efb645592624612c7ebc187fb933a6
John Reck [Wed, 21 Feb 2018 20:55:41 +0000 (12:55 -0800)]
Rename HardwareLayer -> TextureLayer
Update name to reflect meaning/usage
Change-Id: Iddb3621cbca147f96faa83380867baa49c382aab
Fixes:
20461288
Test: builds & boots
Kevin Neas [Wed, 21 Feb 2018 23:41:34 +0000 (23:41 +0000)]
Merge "Updating AppLaunchWear to correctly parse the launch message."
Kevin Neas [Wed, 21 Feb 2018 23:37:21 +0000 (15:37 -0800)]
Updating AppLaunchWear to correctly parse the launch message.
When we don't kill Home, we get an Warning message:
"Warning: Activity not started, its current task has ben brought to
the front"
This causes the current parser to think the app didn't launch, because
it's looking in the wrong line. Adding +1 to each line, in the cases
where we launch Home
Test: locally
Change-Id: Ie232a57921ed7cf82a6f17b607fbb47591bcdbed
TreeHugger Robot [Wed, 21 Feb 2018 23:37:28 +0000 (23:37 +0000)]
Merge "Describe how the accessory input stream drops data"
Lukas Zilka [Wed, 7 Feb 2018 19:30:08 +0000 (20:30 +0100)]
Updates the name of the native library wrapper class, adds options and removes hints.
Test: Built, tested on device, CTS passes.
bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Change-Id: I7c70427d28bec8218935ed45a39819b2ece8112a
Mike Ma [Tue, 13 Feb 2018 22:22:47 +0000 (14:22 -0800)]
Binary Cpu Time Proc File Reader
Kernel now exposes cpu time proc files in binary format to save cpu
cycles. New proc files are:
Per uid freq time: /proc/uid_cpupower/time_in_state
Per uid active time: /proc/uid_cpupower/concurrent_active_time
Per uid cluster time: /proc/uid_cpupower/concurrent_policy_time
(See PowerProfile.java on how these data are used)
KernelUidCpuActiveTimeReader, KernelUidCpuClusterTimeReader and
KernelUidCpuFreqTimeReader are modified to use these new data.
Meanwhile, statsd needs these data too. So the actual reading
fuctionality is delegated to singletons in KernelCpuProcReader to
accomodate concurrent access of these proc files by more than one
party. When multiple read requests hit the singleton within the
throttle interval, the singleton will return stale data.
Optimization
KernelCpuProcReader reuses the same ByteBuffer to save results.
KernelUid***Reader all reuse the same long[] array to send results
back to BatteryStatsImpl. Estimated saving of ~200 KB GC effort
per read request.
Add a flag to control throttle interval:
kernel_uid_readers_throttle_time
Bug:
72763654
Bug:
71906435
Bug:
71905885
Bug:
70517018
Fixes:
73166477
Fixes:
72172569
Test: BatteryStatsCpuTimesTest
Test: KernelUidCpuActiveTimeReaderTest
Test: KernelUidCpuClusterTimeReaderTest
Test: KernelUidCpuFreqTimeReaderTest
Test: KernelCpuProcReaderTest
Change-Id: I1012667ce3b9eb35e37882a058bd4bceccabbbe9
Xiangyu/Malcolm Chen [Wed, 21 Feb 2018 23:31:31 +0000 (23:31 +0000)]
Merge "Fix low probability deadlock" am:
bb5cbc539f am:
e05aa02d59
am:
11d3d6b7f7
Change-Id: I65a7d2e32b02386905a384d69f68bab8cde1bf95
Nate Fischer [Wed, 21 Feb 2018 23:27:01 +0000 (15:27 -0800)]
WebView: fix docs for setSafeBrowsingWhitelist
No change to logic, documentation change only.
This changes "URL" to "host" everywhere in this API documentation.
This API never accepted a list of URLs, it only ever accepted a list of
hosts (e.g. "www.google.com" is ok, "http://www.google.com/" is not).
The original documentation was misleading.
Test: make docs (manually verify)
Change-Id: I3b57a2a160ff00ba8f92b30f6e3b4399e55f2ea0
Xiangyu/Malcolm Chen [Wed, 21 Feb 2018 23:15:30 +0000 (23:15 +0000)]
Merge "Fix low probability deadlock" am:
bb5cbc539f
am:
e05aa02d59
Change-Id: I3560bd28b67fee381f6c2d9e8bc8864efe63090d
Xiangyu/Malcolm Chen [Wed, 21 Feb 2018 23:01:42 +0000 (23:01 +0000)]
Merge "Fix low probability deadlock"
am:
bb5cbc539f
Change-Id: Ife7dd96618b75fd492aaf0397870653d63cf0d5e
TreeHugger Robot [Wed, 21 Feb 2018 22:54:44 +0000 (22:54 +0000)]
Merge "Remove flags in fs-verity header"
Hall Liu [Wed, 21 Feb 2018 22:42:08 +0000 (22:42 +0000)]
Merge "Check for location access on TelephonyRegistry"
Makoto Onuki [Wed, 21 Feb 2018 22:31:51 +0000 (14:31 -0800)]
Fix comment on config_defaultTextClassifierPackage
Bug:
73083596
Test: build
Change-Id: Ic1801f51511d3b0ca127b0d095672f2eaf3dcaef
Bookatz [Wed, 21 Feb 2018 22:30:51 +0000 (14:30 -0800)]
Statsd anomaly output log fix
Alert.id() is signed, so the output line needs to be lld instead of llu.
Test: none
Change-Id: I7e3eeddac60931234285548b99a9c9cc78582716
Yangster [Wed, 21 Feb 2018 22:08:17 +0000 (14:08 -0800)]
Fix the bug of timestamp encoding in event metric report.
Test: statsd cts tests
Change-Id: Id1d330f5d48d15ba026ae7c7e8cf4e1f6b460fba
Fyodor Kupolov [Wed, 21 Feb 2018 22:03:37 +0000 (22:03 +0000)]
Merge "Verify last array's length in readFromParcel"
TreeHugger Robot [Wed, 21 Feb 2018 21:54:33 +0000 (21:54 +0000)]
Merge "Fix opacity of expanded shade during transitions"
Chris Tate [Wed, 21 Feb 2018 21:49:31 +0000 (21:49 +0000)]
Merge "Explicitly restart the killed wallpaper service"
TreeHugger Robot [Wed, 21 Feb 2018 21:42:35 +0000 (21:42 +0000)]
Merge "Add HighAtomic to pagetypeinfo, and don't fail if a header can't be found in proto definition."
Wyatt Riley [Wed, 21 Feb 2018 21:39:43 +0000 (21:39 +0000)]
Merge "Handling additional enum for carrier half cycle"
Eugene Susla [Wed, 21 Feb 2018 21:32:42 +0000 (21:32 +0000)]
Merge "Use PooledLambda in autofill code"
TreeHugger Robot [Wed, 21 Feb 2018 21:26:36 +0000 (21:26 +0000)]
Merge "Don't end transitions on a detached window, prevent crash in WindowId"
Xiangyu/Malcolm Chen [Wed, 21 Feb 2018 21:16:44 +0000 (21:16 +0000)]
Merge "Fix low probability deadlock"
Howard Ro [Wed, 21 Feb 2018 21:12:41 +0000 (21:12 +0000)]
Merge "Remove relevant configs when a uid (app) is uninstalled"
TreeHugger Robot [Wed, 21 Feb 2018 20:59:21 +0000 (20:59 +0000)]
Merge "Use structural equality for A11yNodeInfo#mChildNodeIds"
Tarandeep Singh [Wed, 21 Feb 2018 20:59:09 +0000 (20:59 +0000)]
Merge "Unbind InputMethod when app crashes"
TreeHugger Robot [Wed, 21 Feb 2018 20:40:47 +0000 (20:40 +0000)]
Merge "Update ActivityManagerPerfTests README with atest"
Kevin Neas [Wed, 21 Feb 2018 20:36:51 +0000 (20:36 +0000)]
Merge "Updating AppLaunchWear with more logging and logic."
Kevin Neas [Wed, 21 Feb 2018 20:31:40 +0000 (12:31 -0800)]
Updating AppLaunchWear with more logging and logic.
Agenda keeps failing. Need to more logging to know why
Contacts keeps getting killed. Again, need more logging
Test: local
Change-Id: I6930892d8a2eaa7ad410284fba9ed1c4980820f7
TreeHugger Robot [Wed, 21 Feb 2018 20:32:31 +0000 (20:32 +0000)]
Merge "DisplayCutout: Cache rotations of DisplayCutout"
TreeHugger Robot [Wed, 21 Feb 2018 20:32:27 +0000 (20:32 +0000)]
Merge "Updating batterystats report version."
TreeHugger Robot [Wed, 21 Feb 2018 20:28:14 +0000 (20:28 +0000)]
Merge "Widen Conscrypt greylist."
TreeHugger Robot [Wed, 21 Feb 2018 20:19:54 +0000 (20:19 +0000)]
Merge changes I30c76f2a,I83d3f0d2
* changes:
Fixed the launch animation for groups
Removed the notification action background
TreeHugger Robot [Wed, 21 Feb 2018 20:16:21 +0000 (20:16 +0000)]
Merge "Simplify synchronization and delete dead code."
TreeHugger Robot [Wed, 21 Feb 2018 20:16:00 +0000 (20:16 +0000)]
Merge changes from topic "forceUpdate"
* changes:
Convert forceUpdate to 'onStart' lifecycle event.
Change WifiListenerWrapper to WifiListenExecutor.
Delete the WorkHandler class.
Cleanup updateAccessPoints for readability.
TreeHugger Robot [Wed, 21 Feb 2018 20:15:20 +0000 (20:15 +0000)]
Merge "Move WebView plat_support from frameworks/webview."
TreeHugger Robot [Wed, 21 Feb 2018 20:12:05 +0000 (20:12 +0000)]
Merge "Hide bouncer before launching camera"
TreeHugger Robot [Wed, 21 Feb 2018 19:59:48 +0000 (19:59 +0000)]
Merge "[QS] Add header tooltip for long press"
TreeHugger Robot [Wed, 21 Feb 2018 19:55:23 +0000 (19:55 +0000)]
Merge "Package whitelist for hiddenapi checks."
Jaewan Kim [Wed, 21 Feb 2018 19:53:11 +0000 (19:53 +0000)]
Merge changes from topics "playerinterface_onError", "mediasession2_notifychildren", "mediasession2_subscribe", "MediaSession2_rating_style_for_each_item"
* changes:
MediaSession2: Add a way to notify errors between session and player
MediaSession2: Implement MediaLibrarySession#notifyChildrenChanged()
MediaSession2: Implement subscribe/unsubscribe
MediaSession2: Remove rating style from session
Eugene Susla [Mon, 12 Feb 2018 22:33:15 +0000 (14:33 -0800)]
Use PooledLambda in autofill code
This replaces the usage of handler message types with PooledLambda
Bug:
73648631
Test: atest CtsAutoFillTestCases
Change-Id: I3be0870116489c0c831353fe4ab9abed3cac3a93
Lucas Dupin [Wed, 7 Feb 2018 18:49:55 +0000 (10:49 -0800)]
Fix opacity of expanded shade during transitions
Change-Id: I480e558113cd9f31b7548002265e9b4b78b0ddad
Fixes:
70351996
Fixes:
71443237
Fixes:
73311721
Fixes:
72757727
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: unlock with fp. pattern
Test: pull down shade adjust brightness on bouncer and launcher
Test: unlock with fingerprint from pulsing notification
Tarandeep Singh [Fri, 16 Feb 2018 22:31:17 +0000 (14:31 -0800)]
Unbind InputMethod when app crashes
If a running app (with bound InputMethod) crashes, the currently running InputMethod is not
unbound. As a result, onBindInput is not called.
In order to fix this, IMMS.removeClient() should also unbind the current client and clear
the flag IMMS.mBoundToMethod.
With the fix, I haven't seen any test failures mentioned in bug.
Bug:
72399950
Fixes:
73274813
Test: atest InputMethodServiceLifecycleTest && atest FocusHandlingTest
Change-Id: I0c09381b43a8b96480976edafbc0b0ee40ae5de0
TreeHugger Robot [Wed, 21 Feb 2018 19:23:49 +0000 (19:23 +0000)]
Merge "Add StringDef annotation for SYSTEM_SETTINGS_WHITELIST"
Selim Cinek [Wed, 21 Feb 2018 19:06:59 +0000 (19:06 +0000)]
Merge "Added a targetAPi check to the user name requirement"
John Reck [Wed, 21 Feb 2018 19:02:20 +0000 (11:02 -0800)]
Handle window surface insets
Bug:
69413152
Test: PixelCopy CTS tests
Change-Id: Ie26c38e462fbc6c19669d33efaec5251f40f75bd
TreeHugger Robot [Wed, 21 Feb 2018 18:43:55 +0000 (18:43 +0000)]
Merge "Optionally supress status bar notifications in dnd"
TreeHugger Robot [Wed, 21 Feb 2018 18:13:48 +0000 (18:13 +0000)]
Merge "update intent to be toggle instead of show for hvac button"
Rohan Shah [Tue, 20 Feb 2018 19:27:22 +0000 (11:27 -0800)]
[QS] Add header tooltip for long press
Added some hooks in animator to pass along expanded/animating/collapsed
state in a more clear manner. Added tooltip view with the teaser text to
animate in at the top of the view (and fade out either when we start
animating or automatically after 5 seconds).
Added prefs for tracking how often tooltip is shown/hiding it based on
that number.
Updated dimensions for correct spacing (based on redlines).
Test: Visually
Bug:
72528203
Change-Id: I70e4654ed95057fac6d8dbb890d575c2a5d9f215
TreeHugger Robot [Wed, 21 Feb 2018 18:05:38 +0000 (18:05 +0000)]
Merge "ApplicationInfo: Copy compileSdkVersion* fields"
Mike Digman [Wed, 14 Feb 2018 18:49:19 +0000 (10:49 -0800)]
Update rotate suggestion button icon+motion
Motion is dynamically set to match pending screen rotation through
styling. AVD bugs make consistently looping motion hard, looped instead
within AVD. Refactor some logic into NavBarFragment for simplicity.
Test: custom Gingerbread app with menu and IME, a11y manual toggling
Change-Id: I5a975785203aeaf46c36962be05cab6abdc628a1
yuemingw [Wed, 21 Feb 2018 16:20:14 +0000 (16:20 +0000)]
Add StringDef annotation for SYSTEM_SETTINGS_WHITELIST
Bug:
70336454
Test: manual
Change-Id: Ifebce382ec9a4a08831e433a1c7974d3a43e306d
Makoto Onuki [Wed, 21 Feb 2018 17:22:28 +0000 (17:22 +0000)]
Merge "Shortcut permissions for default text classifier"
Torne (Richard Coles) [Wed, 21 Feb 2018 17:17:47 +0000 (12:17 -0500)]
Move WebView plat_support from frameworks/webview.
Move this code to be in the same repository as the other parts of
WebView's current implementation.
Bug:
62445369
Test: m
Change-Id: I567eac7f3484fa78a948fb84545e578fe18c236d
Jaewan Kim [Mon, 19 Feb 2018 03:19:13 +0000 (12:19 +0900)]
MediaSession2: Add a way to notify errors between session and player
This is proposed during the offline meeting
Test: Run all MediaComponents tests once
Change-Id: I3ebd6284792a934bf1411a447e65970ad53a1f42
Jaewan Kim [Mon, 19 Feb 2018 08:49:35 +0000 (17:49 +0900)]
MediaSession2: Implement MediaLibrarySession#notifyChildrenChanged()
Test: Run all MediaComponents tests once
Bug:
72787989
Change-Id: I5bdcb8460109831fb5349d1437b775f8f7b7ddf0
Jaewan Kim [Mon, 19 Feb 2018 06:20:29 +0000 (15:20 +0900)]
MediaSession2: Implement subscribe/unsubscribe
Bug:
72786292
Test: Run all MediaComponents tests
Change-Id: I0871f883d638292fb75b2bd8c9bd4d680e4a1d0b
Hyundo Moon [Wed, 21 Feb 2018 06:29:26 +0000 (15:29 +0900)]
MediaSession2: Remove rating style from session
Bug:
73615699
Test: Passed MediaController2Test
Change-Id: Icc35bf982e0943ba7586003bf30dd6dfa90d747e
Kevin Neas [Wed, 21 Feb 2018 16:59:20 +0000 (16:59 +0000)]
Merge "Updating AppLaunchWear to add more logging."
TreeHugger Robot [Wed, 21 Feb 2018 16:32:37 +0000 (16:32 +0000)]
Merge "MediaSession2: Remove SessionPlayer2"
Andrii Kulian [Wed, 21 Feb 2018 16:19:45 +0000 (16:19 +0000)]
Merge "Don't resume until keyguard is gone"
TreeHugger Robot [Wed, 21 Feb 2018 15:56:08 +0000 (15:56 +0000)]
Merge "Build android.test.base/legacy against SDK"
Jorim Jaggi [Wed, 21 Feb 2018 15:28:13 +0000 (15:28 +0000)]
Merge "Fix ANR"
Adrian Roos [Mon, 19 Feb 2018 17:07:49 +0000 (18:07 +0100)]
DisplayCutout: Cache rotations of DisplayCutout
Caches the result of the DisplayCutout computation for all rotations.
With the fix to
72444324, the rotated DisplayCutout is recomputed a
lot more frequently for all rotations.
Bug:
72444324
Test: atest RotationCacheTest
Change-Id: Id413cf35fc2a6e77f738f0e3b42971e0387fd7bb
Jorim Jaggi [Wed, 21 Feb 2018 15:12:33 +0000 (15:12 +0000)]
Merge "Fix app start logging"
TreeHugger Robot [Wed, 21 Feb 2018 14:29:26 +0000 (14:29 +0000)]
Merge "Fix crash in AppErrors and clean up code"
TreeHugger Robot [Wed, 21 Feb 2018 13:27:16 +0000 (13:27 +0000)]
Merge "MediaBrowser2: Rearrange API arguments in relevant order"
Mathew Inwood [Tue, 20 Feb 2018 16:04:25 +0000 (16:04 +0000)]
Package whitelist for hiddenapi checks.
Some packages in the system image are not built against the SDK, so
enforcing hiddenapi checks for these will break them. Add a whitelist
for such packages.
For now, just add the contacts provider to the whitelist. The list will be
further populated later.
Test: Added test app package name to whitelist to verify.
Bug:
73244707
Change-Id: I94746b7f12dd9371d5068bb235eb853f63ee4d97
Jorim Jaggi [Mon, 19 Feb 2018 16:48:44 +0000 (17:48 +0100)]
Fix app start logging
Our old trampoline logic doesn't work anymore, as some app starts
are distributed between multiple tasks, which now means multiple
stacks as well.
Instead, track app starts by windowing mode.
Test: Open/close apps, adb logcat -b events
Test: AppStartTests
Change-Id: If106f12ec98fd69ff7d0c4dabff28f88d2096a0b
Fixes:
72953633