OSDN Git Service
Winson Chung [Thu, 16 Mar 2017 02:43:00 +0000 (19:43 -0700)]
Ensuring that we remove the input consumer after moving expanded PiP
- We re-enable the input consumer once the user starts dragging the
expanded PiP to allow the touch handler to take over, but once we
reset the timer (after showing the menu again), we need to disable
the input consumer so that the menu can get touches again.
Bug:
36266913
Test: Expand PiP, move, click action
Change-Id: I30ebccd165fd764a9a8de8313659c24ecd12aec0
TreeHugger Robot [Thu, 16 Mar 2017 02:22:24 +0000 (02:22 +0000)]
Merge "Update strings"
TreeHugger Robot [Thu, 16 Mar 2017 01:54:07 +0000 (01:54 +0000)]
Merge "Renaming the second active event to avoid confusion."
TreeHugger Robot [Thu, 16 Mar 2017 01:33:41 +0000 (01:33 +0000)]
Merge "Allow users to manually request Autofill."
Sooraj Sasindran [Thu, 16 Mar 2017 01:27:41 +0000 (01:27 +0000)]
Merge "Support Signal strength offset"
TreeHugger Robot [Thu, 16 Mar 2017 01:10:19 +0000 (01:10 +0000)]
Merge "Move expensive TextClock operations to onAttach"
Ray Essick [Thu, 16 Mar 2017 01:02:16 +0000 (01:02 +0000)]
Merge "Integrate API Council feedback into Media Metrics APIs"
Mathias Agopian [Thu, 16 Mar 2017 00:51:29 +0000 (00:51 +0000)]
Merge "Get rid of LinearTransform"
Fan Zhang [Thu, 16 Mar 2017 00:38:57 +0000 (17:38 -0700)]
Update strings
Change-Id: I38fcd900cdadea40f96fa2f78587943662a6771f
Fix:
36291553
Test: builds
Android Build Merger (Role) [Thu, 16 Mar 2017 00:38:56 +0000 (00:38 +0000)]
Merge "Merge "integrate portal webview to the default app" am:
e3ece71f2e am:
dd7ff3586c am:
916aef7eb8 -s ours"
Chen Xu [Thu, 16 Mar 2017 00:38:16 +0000 (00:38 +0000)]
Merge "integrate portal webview to the default app" am:
e3ece71f2e am:
dd7ff3586c
am:
916aef7eb8 -s ours
Change-Id: Ibb9c094dcb41bea9749f0a119464ee0a23aab224
Hugo Benichi [Thu, 16 Mar 2017 00:37:43 +0000 (00:37 +0000)]
Merge "Connectivity metrics: simplify ConnectivityMetricsEvent"
Kweku Adams [Thu, 9 Mar 2017 00:48:01 +0000 (16:48 -0800)]
Renaming the second active event to avoid confusion.
BUG:
23532995
Test: make -j 32 ...
Change-Id: I8d44e98520f40f46727cb57ba77932eee2b1b0ea
Casey Burkhardt [Thu, 16 Mar 2017 00:26:48 +0000 (00:26 +0000)]
Merge "Display magnification via the nav bar Accessibility Button"
Conrad Chen [Thu, 16 Mar 2017 00:16:06 +0000 (00:16 +0000)]
Merge "Deprecate settingsActivity field in TvInputService"
TreeHugger Robot [Thu, 16 Mar 2017 00:10:31 +0000 (00:10 +0000)]
Merge "AudioRecord: more information in text of IllegalArgumentException"
Chen Xu [Thu, 16 Mar 2017 00:06:58 +0000 (00:06 +0000)]
Merge "integrate portal webview to the default app" am:
e3ece71f2e
am:
dd7ff3586c
Change-Id: I929abe090a0e9632e75004a026af3e93c2898cb8
Chen Xu [Thu, 16 Mar 2017 00:02:28 +0000 (00:02 +0000)]
Merge "integrate portal webview to the default app"
am:
e3ece71f2e
Change-Id: I3c46e8bd47d087701b3c643e59bc9e373dab00bb
TreeHugger Robot [Wed, 15 Mar 2017 23:59:23 +0000 (23:59 +0000)]
Merge "Adapt unpaged cursors to paged requests."
Chen Xu [Wed, 15 Mar 2017 23:52:52 +0000 (23:52 +0000)]
Merge "integrate portal webview to the default app"
Okan Kolak [Wed, 15 Mar 2017 23:34:26 +0000 (23:34 +0000)]
Merge "Voice Messaging Intent API."
TreeHugger Robot [Wed, 15 Mar 2017 23:25:57 +0000 (23:25 +0000)]
Merge "Add logging constants for settings security lockscreen preferences."
TreeHugger Robot [Wed, 15 Mar 2017 23:24:52 +0000 (23:24 +0000)]
Merge "integrate portal webview to the default app"
Sooraj Sasindran [Thu, 9 Mar 2017 07:43:17 +0000 (23:43 -0800)]
Support Signal strength offset
Support feature to offset LTE rsrp
for higher freaquency lte bands.
Test: Verified on device that signal bars increased
Bug=
30628343
Merged-In: Id0b54901a1e8832fb48ba509e6a380c43f4c9497
Change-Id: Id0b54901a1e8832fb48ba509e6a380c43f4c9497
Jeff Davidson [Wed, 15 Mar 2017 22:43:18 +0000 (22:43 +0000)]
Merge "Rename getDataEnabled() to isDataEnabled()."
Steve McKay [Thu, 2 Mar 2017 19:24:20 +0000 (11:24 -0800)]
Adapt unpaged cursors to paged requests.
Allow all client targeting Android O to assume paging
support for any provider.
Adds a new PageViewCursor that adapts an unpaged cursor
to a paged request.
Updates ContentProviderNative to perform wrapping on
unpaged results.
Bug:
30927484
Change-Id: I4e225dc16761793c85ef8a195bf049113c79cd20
Test: Added for new class. Run info @ frameworks/base/core/tests/coretests/README
Calin Juravle [Wed, 15 Mar 2017 22:26:56 +0000 (22:26 +0000)]
Merge "LoadedApk: Notify cross-package use only when code is requested."
TreeHugger Robot [Wed, 15 Mar 2017 22:13:23 +0000 (22:13 +0000)]
Merge "More whitelisting"
Mady Mellor [Wed, 15 Mar 2017 21:59:01 +0000 (21:59 +0000)]
Merge "Enables drag to dismiss for PiP and adds a dark scrim when dismissing"
fionaxu [Fri, 10 Mar 2017 18:16:09 +0000 (10:16 -0800)]
integrate portal webview to the default app
Based on the UX review feedback, we plan to implement portal webview
function inside the carrier default app instead of reusing the existing
portal app. This will give us more flexibility and control, also will
improve UX flow by getting rid of the some unwanted dialogues.
Test: Manual
Bug:
36002256
Change-Id: I2627d5a43039ce433006c058bb4f2c1a39113e59
TreeHugger Robot [Wed, 15 Mar 2017 21:40:29 +0000 (21:40 +0000)]
Merge "FloatingToolbar: Change divider color."
fionaxu [Fri, 10 Mar 2017 18:16:09 +0000 (10:16 -0800)]
integrate portal webview to the default app
Based on the UX review feedback, we plan to implement portal webview
function inside the carrier default app instead of reusing the existing
portal app. This will give us more flexibility and control, also will
improve UX flow by getting rid of the some unwanted dialogues.
new added CaptivePortalLoginActivity is a copy paste from
com.android.captiveportallogin/CaptivePortalLoginActivity combined
with logic from deleted LaunchCaptivePortalActivity.
All webview UI was inherited from com.android.captiveportal
Test: Manual
Bug:
36002256
Merged-in: I2627d5a43039ce433006c058bb4f2c1a39113e59
Change-Id: If422fa12c5f24d9b9e2c9380b3edf94df74bb85f
Mathias Agopian [Wed, 15 Mar 2017 21:17:22 +0000 (14:17 -0700)]
Get rid of LinearTransform
A copy of LinearTransform is moved here.
This reverts commit
b80f086f69a4bc2e51d1f94ae58d7ba6b20514c4.
Test: compile/run
Bug: treble cleanup
Change-Id: I435cac1f57ded10d434e4354985ad1a1bd3841f3
Casey Burkhardt [Mon, 13 Feb 2017 20:43:16 +0000 (12:43 -0800)]
Display magnification via the nav bar Accessibility Button
Adds support for invoking display magnification by first selecting
the Accessibility Button, then touching an area of the screen to
magnify.
Bug:
30960346
Test: Manual
Change-Id: Ifd8a355562f204182e34bd37f71a3637d85cf0e1
TreeHugger Robot [Wed, 15 Mar 2017 20:55:40 +0000 (20:55 +0000)]
Merge "Make IGraphicBufferProducer a hybrid interface."
Roshan Pius [Wed, 15 Mar 2017 20:51:59 +0000 (20:51 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice." am:
8b549c9539 am:
530d75965d
am:
081d93d13c
Change-Id: I88fd3cc3f16907a1d14bbf80ae7b35bb92ff21cd
TreeHugger Robot [Wed, 15 Mar 2017 20:49:23 +0000 (20:49 +0000)]
Merge "Clipping before keyguard dismiss animation occurs"
Roshan Pius [Wed, 15 Mar 2017 20:47:48 +0000 (20:47 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice." am:
8b549c9539
am:
530d75965d
Change-Id: Ia7cc8ad2099515876d37201039d42d97abedc1e4
Roshan Pius [Wed, 15 Mar 2017 20:43:52 +0000 (20:43 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice."
am:
8b549c9539
Change-Id: I9ccfbfcf17590284aedd4449022b107c37e5aef2
Roshan Pius [Wed, 15 Mar 2017 20:34:33 +0000 (20:34 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice."
Andreas Gampe [Wed, 15 Mar 2017 20:25:02 +0000 (20:25 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging" am:
844be62eef am:
0c662c0ac0
am:
77ede7ab80
Change-Id: Ie2133c4e8e5abfd6979ba5c03c8d347985a5dcb4
Andreas Gampe [Wed, 15 Mar 2017 20:15:58 +0000 (20:15 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging" am:
844be62eef
am:
0c662c0ac0
Change-Id: Idaa8ce7b31fb7921877462d0cf98d6d9fd4e1ae8
Andreas Gampe [Wed, 15 Mar 2017 20:06:36 +0000 (20:06 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging"
am:
844be62eef
Change-Id: I35f0affaef73033c37798eba41dfc1b992187176
Treehugger Robot [Wed, 15 Mar 2017 19:54:09 +0000 (19:54 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging"
TreeHugger Robot [Wed, 15 Mar 2017 19:53:12 +0000 (19:53 +0000)]
Merge "Pass advances to Minikin for calculating getTextRunCursor"
TreeHugger Robot [Wed, 15 Mar 2017 19:32:40 +0000 (19:32 +0000)]
Merge "Don't apply the sRGB OETF twice on RGBAF16 bitmaps"
TreeHugger Robot [Wed, 15 Mar 2017 19:30:51 +0000 (19:30 +0000)]
Merge "Prevent minimized state changing from other transitions."
Makoto Onuki [Wed, 15 Mar 2017 19:24:21 +0000 (12:24 -0700)]
More whitelisting
Bug
34973771
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Change-Id: I77c7001b31a963dfabe8036647a2e51ede6a759f
TreeHugger Robot [Wed, 15 Mar 2017 19:23:04 +0000 (19:23 +0000)]
Merge "Modify createBitmap w/ crop and matrix to not rely on Canvas.setBitmap"
Abodunrinwa Toki [Wed, 15 Mar 2017 19:11:12 +0000 (19:11 +0000)]
FloatingToolbar: Change divider color.
Test: Visually inspected.
Bug:
36038316
Change-Id: I4bf3b2abdfe15ff02b3969d1824752640e733128
TreeHugger Robot [Wed, 15 Mar 2017 19:03:06 +0000 (19:03 +0000)]
Merge "Fix selected entity type."
Doris Ling [Wed, 15 Mar 2017 18:52:50 +0000 (11:52 -0700)]
Add logging constants for settings security lockscreen preferences.
Bug:
36163515
Test: builds
Change-Id: I245c69073576975ec1531c83ac90090f3386909f
TreeHugger Robot [Wed, 15 Mar 2017 18:51:56 +0000 (18:51 +0000)]
Merge "Clean up public FontConfig APIs"
Ray Essick [Thu, 9 Mar 2017 18:17:51 +0000 (10:17 -0800)]
Integrate API Council feedback into Media Metrics APIs
Integrates the API Council's feedback into the Media Metrics
related APIs.
-- return types for the getMetrics() calls
-- definition of keys in the set of data that comes back
Bug:
35811992
Test: booted, CTS subset, checked dumpsys media.metrics output
Change-Id: Ib750f9631bd3453be3132760273ccfff0a891f88
TreeHugger Robot [Wed, 15 Mar 2017 18:40:32 +0000 (18:40 +0000)]
Merge "Update path in MediaStore when moving/renaming a file/folder."
TreeHugger Robot [Wed, 15 Mar 2017 18:32:48 +0000 (18:32 +0000)]
Merge "Fixing bad refactoring of orientation calculation."
Evan Rosky [Wed, 15 Mar 2017 18:17:44 +0000 (18:17 +0000)]
Merge "Changing initial and default focus behavior"
Chad Brubaker [Wed, 15 Mar 2017 18:11:55 +0000 (18:11 +0000)]
Merge "Expose settings provider to Instant Apps"
Romain Guy [Wed, 15 Mar 2017 17:59:19 +0000 (10:59 -0700)]
Don't apply the sRGB OETF twice on RGBAF16 bitmaps
Bug:
36250591
Test: BitmapRGBAF16Test
Change-Id: I39ca9e4bb666ab85066b5d45934f5f10210f6999
Mady Mellor [Fri, 10 Mar 2017 23:14:10 +0000 (15:14 -0800)]
Enables drag to dismiss for PiP and adds a dark scrim when dismissing
- Adds a scrim that fades in as the PiP is dragged past the bottom movement
bounds.
- Tweaks the values for minimizing the PiP and dismissing the PiP
- Fixes an issue where the PiP could be minimized in the bottom corners
of the screen
Test: Manual - drag PiP to bottom of screen to dismiss or swipe down on
PiP when it's at the bottom of the screen
Bug:
35358768
Bug:
35358628
Change-Id: Ib4ad5ed7094fef76ea979b46ea7e03d746625d00
Matthew Ng [Tue, 14 Mar 2017 19:23:09 +0000 (12:23 -0700)]
Clipping before keyguard dismiss animation occurs
When the keyguard is going away or from wallpaper, the clipping will be
applied before the animation starts to avoid showing the docked app over
the area that should be clipped by the divider in splitscreen.
Change-Id: I2ca8f77a2b5d514f65a2032d4279dcb4996814e1
Fixes:
34095975
Test: manual
Jean-Michel Trivi [Wed, 15 Mar 2017 17:34:00 +0000 (10:34 -0700)]
AudioRecord: more information in text of IllegalArgumentException
Add more debug information inside the IAEs thrown during
audio parameter check.
Test: try invalid params for recording, read exception text
Bug:
34119793
Change-Id: Ic4f36fd6ef99c18107e3204ef5e25cc1bc9e704d
Andreas Gampe [Wed, 15 Mar 2017 17:09:57 +0000 (10:09 -0700)]
PackageManagerService: Fix ABI adjustment logging
Fix logging of "Adjusting ABI" to be tolerant to null
packages.
Bug:
36172429
Test: m
Test: manual
Change-Id: Ic6b9a8e09e58dce6be97e464fe3986c709f820de
TreeHugger Robot [Wed, 15 Mar 2017 17:34:16 +0000 (17:34 +0000)]
Merge "Pass FontCollection to doLayout's argument instead of ctor"
Shubang Lu [Wed, 15 Mar 2017 17:29:08 +0000 (17:29 +0000)]
Merge "TIF: add cable detection for TV inputs"
Abodunrinwa Toki [Tue, 14 Mar 2017 21:56:31 +0000 (21:56 +0000)]
Fix selected entity type.
This should be the highest scoring one, not the first one.
Test: cts-tradefed run cts-dev -m CtsViewTestCases -t
android.view.textclassifier.cts.TextClassificationManagerTest
Change-Id: Ib790d8aa4aeccdd7a7972eaa6c04ed4fc69ad00e
Seigo Nonaka [Tue, 7 Mar 2017 23:34:53 +0000 (15:34 -0800)]
Clean up public FontConfig APIs
This CL contains following clean up:
- Hide unnecessary constructors.
- Change List<XX> to XX[] since actually all fields are immutable.
- Change font's variant type from String to int.
- Decouple resource related members to FontResourcesParser.
- Add NonNull/Nullable to all fields.
Test: ran android.content.res.FontResourcesParserTest
Change-Id: If456266ffff86d41342572a19662cc8f3cd13181
Garfield Tan [Fri, 10 Mar 2017 23:38:15 +0000 (15:38 -0800)]
Update path in MediaStore when moving/renaming a file/folder.
Also fix a bug that doesn't trigger directory specific update for
removal.
Test: Manual tests.
Bug:
31001477
Change-Id: Ibae8a7aa5c72c82dc5e3cb4951fbc91ea6456964
(cherry picked from commit
c574ec40640d83dfbbb0f022103c6dfa774bca40)
TreeHugger Robot [Wed, 15 Mar 2017 17:07:35 +0000 (17:07 +0000)]
Merge "Fix duplicate status bars once and for all"
TreeHugger Robot [Wed, 15 Mar 2017 17:04:18 +0000 (17:04 +0000)]
Merge "Add API to mark apps that have an update available"
Winson Chung [Mon, 13 Mar 2017 23:14:45 +0000 (16:14 -0700)]
Prevent minimized state changing from other transitions.
- When calling adjustFocusedActivityStackLocked(), prevent the home stack
from being brought forward if the task is not over the home stack. This
was causing issues with the docked stack triggering minimized mode when
a task was removed in the assistant stack.
- When checking the visibility of the docked stack, only base it on the
visibility of the assistant stack when it is above the docked stack.
This was causing issues with the docked stack reporting as visible even
when behind the assistant stack due to the subsequent code being run.
Bug:
35363819
Test: android.server.cts.ActivityManagerAssistantStackTests
Change-Id: I48cc901cb6b6166697a4130cc4639ee8f9581f02
Winson Chung [Wed, 15 Mar 2017 00:47:42 +0000 (17:47 -0700)]
Fixing bad refactoring of orientation calculation.
- The orientation needs to be calculated from the screen width/height,
which are set below the current calculation of the orientation (whoops).
This bug was introduced in ag/
1905010 and causes extra configuration
changes due to the configuration orientation being set correctly before
it is corrected on the next change (at the end of the transition).
Bug:
36099204
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Ieca1f73fe61fc1dcea106535c019b52d126b8743
Winson Chung [Wed, 15 Mar 2017 16:58:19 +0000 (16:58 +0000)]
Merge "Fixing crash when enforcing top stack."
Felipe Leme [Mon, 13 Mar 2017 21:06:25 +0000 (14:06 -0700)]
Allow users to manually request Autofill.
- Added a requestAutofill(view,flags) method, that when passed with
FLAG_MANUAL_AUTOFILL triggers a manual request.
- Added same method for virtual views
- Overloaded existing AutofillService request methods to take a flag.
- Added an AUTOFILL context menu option on TextViews.
- Added a canRequestAutofill() that is used to enable the context menu.
BUG:
35708229
Test: manual verification
Test: existing CtsAutoFillServiceTestCases pass
Test: android.autofillservice.cts.LoginActivityTest#testManualAutofill pass
Change-Id: I1a64d40da3373774451d178b1cabf20f11120e9d
Dmitry Dementyev [Wed, 15 Mar 2017 16:26:22 +0000 (16:26 +0000)]
Merge "Allows AccountManager to start exported activities."
Philip P. Moltmann [Wed, 15 Mar 2017 16:10:00 +0000 (16:10 +0000)]
Merge "Do not filter non text values."
TreeHugger Robot [Wed, 15 Mar 2017 15:46:59 +0000 (15:46 +0000)]
Merge "Remove qs_footer_dialog_network_logging_icon_alpha"
Derek Sollenberger [Wed, 15 Mar 2017 15:28:50 +0000 (11:28 -0400)]
Modify createBitmap w/ crop and matrix to not rely on Canvas.setBitmap
Test: CtsGraphicsTestCases BitmapTest
Bug:
36218535
Change-Id: I972f3ed6d037f6cae7a36fd2e612df9ab40a8b2d
Jason Monk [Wed, 15 Mar 2017 15:03:06 +0000 (11:03 -0400)]
Fix duplicate status bars once and for all
Save the state when the fragment is getting re-created so we come
back up in the same state we left in.
Fixes:
36082443
Test: Change density using "adb shell wm density"
Change-Id: I531de728b1f4bf59d4def7ebc5562b3a1ee6694b
Todd Kennedy [Wed, 8 Mar 2017 22:19:49 +0000 (14:19 -0800)]
Add API to mark apps that have an update available
Ostensibly for instant apps, we allow play to mark an app as having
an update available. This will trigger instant app resolution even
if the instant app is already installed on device.
Bug:
35143464
Test: Manual; launch URI of installed instant app, see it runs w/o resolution. set bit. launch URI of installed instant app, see it runs resolution
Change-Id: I511df2b2a3eab39377167c770255ccbe02d5dad2
Robin Lee [Wed, 15 Mar 2017 14:05:40 +0000 (14:05 +0000)]
Remove qs_footer_dialog_network_logging_icon_alpha
This washes out the network logging icon in the network monitoring
dialog, making it look strange compared to the dark VPN key.
Fix:
35620542
Test: inspection of dialog
Change-Id: I72bc6337b88b16235dab7b48d11efee4410ede5e
Diego Perez [Wed, 15 Mar 2017 12:43:20 +0000 (12:43 +0000)]
Merge "Workaround for broken BitmapShader in AdaptiveIconDrawable"
TreeHugger Robot [Wed, 15 Mar 2017 12:37:41 +0000 (12:37 +0000)]
Merge "TextClassificationManager: Update model file reference."
Joachim Sauer [Wed, 15 Mar 2017 12:07:40 +0000 (12:07 +0000)]
Merge "Change Czech Republic to Czechia" am:
027a67062e am:
14bcec27a0
am:
9b30497243
Change-Id: I78d646c5052e29662f523dc4ae6ce3ecb5d4768d
Joachim Sauer [Wed, 15 Mar 2017 12:02:27 +0000 (12:02 +0000)]
Merge "Change Czech Republic to Czechia" am:
027a67062e
am:
14bcec27a0
Change-Id: Ia8b2bcf8d01aaad715f2bd4051fc7dc011735569
Joachim Sauer [Wed, 15 Mar 2017 11:57:28 +0000 (11:57 +0000)]
Merge "Change Czech Republic to Czechia"
am:
027a67062e
Change-Id: I51fc6fde5647b1fd8ecc677da7f6ec7a248a3b38
Treehugger Robot [Wed, 15 Mar 2017 11:45:43 +0000 (11:45 +0000)]
Merge "Change Czech Republic to Czechia"
Narayan Kamath [Wed, 15 Mar 2017 11:37:32 +0000 (11:37 +0000)]
LoadedApk: Notify cross-package use only when code is requested.
Cross-package use is quite common when only resources are being
considered. A common example is that any application that declares
itself <searchable /> will see cross package resource only use from
the system_server.
Test: manual instrumentation.
Change-Id: Ic7ad166c71a23c6026f4e12bb52309a50210aaaf
TreeHugger Robot [Wed, 15 Mar 2017 07:16:40 +0000 (07:16 +0000)]
Merge "Enable cache clearing v2 logic, fix bugs."
Hugo Benichi [Wed, 15 Mar 2017 06:07:42 +0000 (15:07 +0900)]
Connectivity metrics: simplify ConnectivityMetricsEvent
Now that ConnectivityMetricsEvent is only used for core networking
metrics and is not @SystemApi anymore, remove unused fields and prepare
for additional new fields.
Test: updated unit tests, $ runtest frameworks-net passes
Bug:
34901696
Change-Id: I15abad19981d491f16f2a3afe401f1e833079907
Jeff Sharkey [Wed, 15 Mar 2017 05:37:35 +0000 (23:37 -0600)]
Enable cache clearing v2 logic, fix bugs.
Now that we have CTS tests to verify the cache clearing v2 logic,
we're ready to enable it!
Switch storage APIs over to "usable space" to match implementation
down in installd. Add a missing clearCallingIdentity(), and offer
better logging for missing appop permission.
Load quotas from disk right away at device boot instead of waiting.
Bug:
35685848,
35684969
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Change-Id: I8167e0322b4662ca6c975da5c50715e2d71332a7
TreeHugger Robot [Wed, 15 Mar 2017 04:30:27 +0000 (04:30 +0000)]
Merge "Apply static RRO"
TreeHugger Robot [Wed, 15 Mar 2017 04:24:25 +0000 (04:24 +0000)]
Merge "IP connectivity metrics: add new APF counters."
Hugo Benichi [Wed, 22 Feb 2017 04:02:27 +0000 (13:02 +0900)]
IP connectivity metrics: add new APF counters.
This patch adds a few missing counters to APF events:
- an actual lifetime duration to ApfProgramEvent.
- counters for total number of updates to ApfStatistics.
ApfProgramEvents are now recorded at program removal in order to
populate the actual lifetime of the program. ApfProgramEvents whose
actual lifetime was less than 1 second are filtered out.
Finally, instance fields of ApfProgramEvent and ApfStats classes are
made mutable to allow for simple record-like creation. This was not
possible when these classes were tagged @SystemApi.
Test: - manually verified output of $ dumpsys connmetrics list
- unit tests updated.
Bug:
34901696
Change-Id: I02694ebb9421ce1c2aa757fa6aa209d19a654dcd
Erik Kline [Wed, 15 Mar 2017 02:47:52 +0000 (02:47 +0000)]
Merge "Add comment with packet tracker debugging tip" am:
40aa5ee583 am:
17dd8723b7
am:
663269bae2
Change-Id: Iacf172a6b6e1b62bc84af8b5fcdd1745acfe987f
Erik Kline [Wed, 15 Mar 2017 02:43:19 +0000 (02:43 +0000)]
Merge "Add comment with packet tracker debugging tip" am:
40aa5ee583
am:
17dd8723b7
Change-Id: I1d937d99d58ae031d6bf86f3407669bf47d5c037
TreeHugger Robot [Wed, 15 Mar 2017 02:42:38 +0000 (02:42 +0000)]
Merge "Workaround for b/
36228253"
Erik Kline [Wed, 15 Mar 2017 02:38:51 +0000 (02:38 +0000)]
Merge "Add comment with packet tracker debugging tip"
am:
40aa5ee583
Change-Id: I0f5f139f81af23ddc33e37ddf489a477e37c394f
TreeHugger Robot [Wed, 15 Mar 2017 02:33:53 +0000 (02:33 +0000)]
Merge "Block modifying channel IDs of preview programs"
Adam Lesinski [Wed, 15 Mar 2017 02:30:34 +0000 (02:30 +0000)]
Merge "AAPT2: Add -A (assets) support"