OSDN Git Service
Lenka Trochtova [Mon, 16 Oct 2017 16:41:39 +0000 (18:41 +0200)]
Make DevicePolicyManagerService more customizable (per-device).
Add a config to override the DPMS implementation class to
be instantiated from the Lifecycle.
Add a hasFeature method to the Injector class.
BUG:
63753860
Test: manual with TestDPC
Change-Id: I71ef518c49b2233744defdfb7c31019cb228d678
Chenjie Yu [Tue, 21 Nov 2017 18:21:41 +0000 (10:21 -0800)]
add atoms and pulling methods for wifi controller activity and modem
controller activity
Test: manual test on device
Change-Id: Ib4213b4bf8badaf22b5f655e0261f45a55ab6bb7
TreeHugger Robot [Thu, 30 Nov 2017 06:35:29 +0000 (06:35 +0000)]
Merge "Add a phony target containing benchmarks for PGO"
TreeHugger Robot [Thu, 30 Nov 2017 05:59:39 +0000 (05:59 +0000)]
Merge "Modify statsd dogfood app to use toString() of enum"
Tej Singh [Thu, 30 Nov 2017 03:25:32 +0000 (19:25 -0800)]
Modify statsd dogfood app to use toString() of enum
Using this reduces code size and allows us to not have to
make a change whenever atoms.proto changes.
Test: manual, tested app on device
Change-Id: Ieb325a7a7bab7430273340bb9d05974fabbadc0d
TreeHugger Robot [Thu, 30 Nov 2017 03:21:06 +0000 (03:21 +0000)]
Merge "Fix cross-user content resolver tests."
Chih-hung Hsieh [Thu, 30 Nov 2017 02:58:20 +0000 (02:58 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw" am:
171fce8377 am:
cba4979a6a
am:
f5005c6356
Change-Id: Icb467de821ecd700daae687341dc9116c065cdf5
TreeHugger Robot [Thu, 30 Nov 2017 02:51:46 +0000 (02:51 +0000)]
Merge "AAPT2: Fix overzealous AndroidManifest fully qualified class names"
Chih-hung Hsieh [Thu, 30 Nov 2017 02:27:13 +0000 (02:27 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw" am:
171fce8377
am:
cba4979a6a
Change-Id: Ifea0bcb3e48a83ba21c24026d95819f4f947d039
TreeHugger Robot [Thu, 30 Nov 2017 02:19:22 +0000 (02:19 +0000)]
Merge "Add metric for battery page in debug mode."
Chih-hung Hsieh [Thu, 30 Nov 2017 02:19:13 +0000 (02:19 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw"
am:
171fce8377
Change-Id: I698ee4b4d6c884469253238795d23bdb21a54542
TreeHugger Robot [Thu, 30 Nov 2017 02:16:23 +0000 (02:16 +0000)]
Merge "Use system dialog corner radius"
Wale Ogunwale [Thu, 30 Nov 2017 02:04:01 +0000 (02:04 +0000)]
Merge "Don't start recents multiple times when entering split-screen"
Chih-hung Hsieh [Thu, 30 Nov 2017 01:55:47 +0000 (01:55 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw"
TreeHugger Robot [Thu, 30 Nov 2017 01:28:59 +0000 (01:28 +0000)]
Merge "ImageReader: Make discardFreeBuffers public"
Fyodor Kupolov [Thu, 30 Nov 2017 01:18:20 +0000 (01:18 +0000)]
Merge "Remove shutdown of StorageManager"
TreeHugger Robot [Thu, 30 Nov 2017 01:16:54 +0000 (01:16 +0000)]
Merge "Adds guardrail for memory usage for statsd uid map."
TreeHugger Robot [Thu, 30 Nov 2017 01:13:23 +0000 (01:13 +0000)]
Merge "Don't fail the tests if per-freq cpu times are not available."
TreeHugger Robot [Thu, 30 Nov 2017 01:07:29 +0000 (01:07 +0000)]
Merge "TextClassifier cleanup #1"
Dmitry Dementyev [Thu, 30 Nov 2017 01:05:42 +0000 (01:05 +0000)]
Merge "Make libkeystore_aidl shared and export to PDK."
TreeHugger Robot [Thu, 30 Nov 2017 00:57:07 +0000 (00:57 +0000)]
Merge "Update nav bar controller to allow for a home intent to be fired without having a package name."
Adam Lesinski [Thu, 30 Nov 2017 00:27:44 +0000 (16:27 -0800)]
AAPT2: Fix overzealous AndroidManifest fully qualified class names
ManifestFixer would go and fully qualify all elements with the attribute
'android:name', which is not correct, especially for cases like
<uses-split android:name="foo" />
Test: make aapt2_tests
Change-Id: I4bea2550d0025179d2d48dca8c64e0cbf4451e99
Pengquan Meng [Thu, 30 Nov 2017 00:26:13 +0000 (00:26 +0000)]
Merge "fixed CdmaSmsAddress parser" am:
b00f00e74b am:
c8ec8a5e56
am:
3ca2c2dab8
Change-Id: Ie28175cc6946f4e53069895c0ea9f28634b9a96f
Sudheer Shanka [Thu, 30 Nov 2017 00:12:14 +0000 (00:12 +0000)]
Merge "Temporarily disable the netpolicy unit tests."
TreeHugger Robot [Thu, 30 Nov 2017 00:11:00 +0000 (00:11 +0000)]
Merge changes Ie479be5b,I299245fc
* changes:
Fix if clauses
Update error text
Pengquan Meng [Thu, 30 Nov 2017 00:10:02 +0000 (00:10 +0000)]
Merge "fixed CdmaSmsAddress parser" am:
b00f00e74b
am:
c8ec8a5e56
Change-Id: Id3830aaea1037b61ecc385715708427c84030206
Pengquan Meng [Wed, 29 Nov 2017 23:52:41 +0000 (23:52 +0000)]
Merge "fixed CdmaSmsAddress parser"
am:
b00f00e74b
Change-Id: I041c8f3937882b7fd78adf2c2f2cf87fc225b936
TreeHugger Robot [Wed, 29 Nov 2017 23:51:38 +0000 (23:51 +0000)]
Merge "Fix horizontal position of tooltip in a Dialog"
Pengquan Meng [Wed, 29 Nov 2017 23:38:29 +0000 (23:38 +0000)]
Merge "fixed CdmaSmsAddress parser"
TreeHugger Robot [Wed, 29 Nov 2017 23:35:12 +0000 (23:35 +0000)]
Merge "Measure the text before doing line break"
Sudheer Shanka [Wed, 29 Nov 2017 23:20:45 +0000 (15:20 -0800)]
Fix cross-user content resolver tests.
Wait for the user to get unlocked before trying to start an
encryption-unaware app in that user.
Fixes:
69927817
Test: adb shell am instrument -e class android.content.ManagedUserContentResolverTest -w
com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I36f38d20c7f4584a68bc3b1b99941ce3e3b3815c
Jiuyu Sun [Wed, 29 Nov 2017 23:12:08 +0000 (23:12 +0000)]
Merge "Confirmation code second try."
Lucas Dupin [Wed, 29 Nov 2017 23:04:53 +0000 (23:04 +0000)]
Merge "Make face unlock icon use correct theme attr"
Jeff Sharkey [Wed, 29 Nov 2017 23:01:50 +0000 (23:01 +0000)]
Merge "Add build targets to build @SystemApi diffs."
David Chen [Mon, 27 Nov 2017 19:52:26 +0000 (11:52 -0800)]
Adds guardrail for memory usage for statsd uid map.
Checks if current memory usage of uid map is above a configured limit
and if so, we start deleting snapshots. If there are no more
snapshots, we begin deleting two of the deltas. Also records stats
in the guardrail StatsdStats. Also fixes an edge case where a config
is added after the snapshots are added. We request a snapshot of all
installed uid's at that moment. Finally, adds the uid map memory size
when determining if we should send a broadcast to trigger collection.
Test: Added unit-tests and check they pass on marlin.
Change-Id: Id5d86378bd1efe12a06b409164c777c0c6f4e3ab
Brad Stenning [Wed, 29 Nov 2017 22:37:51 +0000 (14:37 -0800)]
Update nav bar controller to allow for a home intent to be fired without
having a package name.
Test: After set up select the Lenspicker as the home app then click the
home button (note: needs other commits with topic "AAE Home"
Change-Id: Ief9871bcc81902036d7af9630d6f1d27e8c83366
(cherry picked from commit Icddda312c10dfd603fb098fec13dae55d807444e)
# Conflicts:
# packages/SystemUI/src/com/android/systemui/statusbar/car/CarNavigationBarController.java
Chih-Hung Hsieh [Wed, 29 Nov 2017 22:43:12 +0000 (14:43 -0800)]
Use -Werror in frameworks/base/media/mca/filterfw
Bug:
66996870
Test: build with WITH_TIDY=1
Change-Id: I12137a0b40357954af63bac3771332773b03da9a
TreeHugger Robot [Wed, 29 Nov 2017 22:41:19 +0000 (22:41 +0000)]
Merge "WebView: linkify ClientCertRequest method names"
Dmitry Dementyev [Tue, 28 Nov 2017 20:11:44 +0000 (12:11 -0800)]
Make libkeystore_aidl shared and export to PDK.
Bug:
69539820
Test: manual
Change-Id: Iff47e9247fbc2217a2c70a35bbc6c72075af63bb
TreeHugger Robot [Wed, 29 Nov 2017 22:19:07 +0000 (22:19 +0000)]
Merge "Fix text encoding in some macrobench tests"
Chien-Yu Chen [Tue, 28 Nov 2017 00:45:14 +0000 (16:45 -0800)]
ImageReader: Make discardFreeBuffers public
Test: CTS
Bug:
64847201
Change-Id: I61008111552b5ca4641a509e5bcf5cf821582d5e
Todd Kennedy [Wed, 29 Nov 2017 21:58:53 +0000 (13:58 -0800)]
Fix if clauses
During a refactor, we introduced updated the method used to
verify signatures. The "&& additionalTest" clauses were added
to the wrong if statement [off-by-one]. So, we were performing
a compat signature check when we shouldn't and not throwing
an exception when we should.
Change-Id: Ie479be5b254b9b13451ab07a07d20a68c7b828ad
Fixes:
69053002
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests#testSharedUidDifferentCerts
Andre Eisenbach [Wed, 29 Nov 2017 21:51:20 +0000 (21:51 +0000)]
Merge "Bluetooth: Pre-pend empty line for dumpsys section headers" am:
8a95711ef1 am:
f51d382d9c
am:
2cd2bc357f
Change-Id: I02d4f21a1933bfe876b8fe60eb2b49e5771fe772
TreeHugger Robot [Wed, 29 Nov 2017 21:45:01 +0000 (21:45 +0000)]
Merge "Revert "Thread-safe metric producers.""
Jeff Sharkey [Wed, 29 Nov 2017 20:14:27 +0000 (13:14 -0700)]
Add build targets to build @SystemApi diffs.
Test: make -j32 offline-system-sdk-referenceonly-diff
Bug:
69115817
Change-Id: Ib25d8e60351cb2b4ce5001435baf92d7f738e5f2
Chavi Weingarten [Wed, 29 Nov 2017 21:42:37 +0000 (21:42 +0000)]
Merge "Revert "Updated screenshot code to reflect native changes.""
TreeHugger Robot [Wed, 29 Nov 2017 21:41:11 +0000 (21:41 +0000)]
Merge "Verify that b/
68859852 won't happen again"
Chavi Weingarten [Wed, 29 Nov 2017 21:26:24 +0000 (21:26 +0000)]
Revert "Updated screenshot code to reflect native changes."
This reverts commit
689e091c7faa30f005b9adc0b7b3d2066c62be84.
Reason for revert: SystemUI and some other places need to be updated as well. Will resubmit with the other necessary changes
Change-Id: I8d1955b289d91a89c4d3f117c0ba0c3119ff51fc
Bug:
69898957
Andre Eisenbach [Wed, 29 Nov 2017 21:36:44 +0000 (21:36 +0000)]
Merge "Bluetooth: Pre-pend empty line for dumpsys section headers" am:
8a95711ef1
am:
f51d382d9c
Change-Id: I698fd46b7784a9093ccfc23e6c1de020f2ac1d3b
Wale Ogunwale [Wed, 29 Nov 2017 21:30:26 +0000 (13:30 -0800)]
Don't start recents multiple times when entering split-screen
ActivityStack.setWindowingMode() takes care of starting the recents
activity when split-screen is activated so we don't need to do this
all over the place anymore.
Change-Id: I62153c4125744e9da533b6293e91c0658868bd1b
Fixes:
68952186
Test: ActivityManagerSplitScreenTests#testLaunchToSideAndBringToFront
TreeHugger Robot [Wed, 29 Nov 2017 21:25:59 +0000 (21:25 +0000)]
Merge "Fix crash in slices"
Andre Eisenbach [Wed, 29 Nov 2017 21:24:50 +0000 (21:24 +0000)]
Merge "Bluetooth: Pre-pend empty line for dumpsys section headers"
am:
8a95711ef1
Change-Id: I0dbe07aac6e6a8ea1b6858548bd26fffd7e21dd3
Todd Kennedy [Wed, 29 Nov 2017 21:17:12 +0000 (13:17 -0800)]
Update error text
Text was updated to be slightly more readable, but, wound up breaking
the tests. Reverting the word change.
Change-Id: I299245fc05f15ff6f7979c4c0365fe885b3c2e15
Fixes:
69056838
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PkgInstallSignatureVerificationTest#testCorrectCertUsedFromPkcs7SignedDataCertsSet
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PkgInstallSignatureVerificationTest#testV1SchemeSignatureCertNotReencoded
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PkgInstallSignatureVerificationTest#testV2SchemeSignatureCertNotReencoded
Treehugger Robot [Wed, 29 Nov 2017 21:09:40 +0000 (21:09 +0000)]
Merge "Bluetooth: Pre-pend empty line for dumpsys section headers"
Winson Chung [Wed, 29 Nov 2017 21:05:26 +0000 (21:05 +0000)]
Merge "Fix issue with PiP callbacks not being handled" am:
bdd8adb006 am:
4e11a71210
am:
3b38be2962
Change-Id: Iecad54744e7491279f886305a03050be98d5c8a4
Arthur Ishiguro [Wed, 29 Nov 2017 21:00:54 +0000 (21:00 +0000)]
Merge changes Ibf8cd200,I4ea2f293,I17b545da,Ia139fd6d,I3a7e69f8
* changes:
Handles load and unload lifecycle callbacks
Handles hub reset at ContextHubClientManager
Converts old API message clients to the new API format
Implements client close and death notification
Creates framework for new API messaging
TreeHugger Robot [Wed, 29 Nov 2017 20:56:37 +0000 (20:56 +0000)]
Merge "Don't generate irrelevant a11y events - framework"
Winson Chung [Wed, 29 Nov 2017 20:50:00 +0000 (20:50 +0000)]
Merge "Fix issue with PiP callbacks not being handled" am:
bdd8adb006
am:
4e11a71210
Change-Id: I0ad21e140aa10566f58acfa01fb7e4172edca0d3
Android Build Merger (Role) [Wed, 29 Nov 2017 20:44:35 +0000 (20:44 +0000)]
Merge "Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case" am:
edfb333a4d am:
cca3c9bb01 am:
374bde37b9"
Hemant Gupta [Wed, 29 Nov 2017 20:42:42 +0000 (20:42 +0000)]
Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case" am:
edfb333a4d am:
cca3c9bb01
am:
374bde37b9
Change-Id: Ic0e5e0751c84b0f1a5ea3e4752d9eefb1e6d075a
TreeHugger Robot [Wed, 29 Nov 2017 20:40:24 +0000 (20:40 +0000)]
Merge "libandroidfw: Do not clear last resource id in ResolveReference"
Winson Chung [Wed, 29 Nov 2017 20:34:46 +0000 (20:34 +0000)]
Merge "Fix issue with PiP callbacks not being handled"
am:
bdd8adb006
Change-Id: I03c0ef06309b1b7559a973e2823598031de3b182
Hemant Gupta [Wed, 29 Nov 2017 20:29:53 +0000 (20:29 +0000)]
Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case" am:
edfb333a4d
am:
cca3c9bb01
Change-Id: Ia9edce62a31b5344b5627bf0d141d72d40d6e37c
Sudheer Shanka [Wed, 29 Nov 2017 20:22:42 +0000 (12:22 -0800)]
Don't fail the tests if per-freq cpu times are not available.
Test: N/A
Change-Id: I7c6c6aef7ea9ab431fb8b2c7f04b49299be73e9b
TreeHugger Robot [Wed, 29 Nov 2017 20:21:40 +0000 (20:21 +0000)]
Merge "Introduce Global.LOCATION_GLOBAL_KILL_SWITCH"
Nate Fischer [Wed, 29 Nov 2017 20:18:54 +0000 (12:18 -0800)]
WebView: linkify ClientCertRequest method names
No change to behavior, only docs changes. No change to wording.
This linkifies ClientCertRequest method names in the docs for
WebViewClient#onReceivedClientCertRequest.
Test: make docs (looks good, no errors)
Change-Id: I1de855e8cdf91b3aace3a188aafaa9ac9f90ed2a
Winson Chung [Wed, 29 Nov 2017 20:18:45 +0000 (20:18 +0000)]
Merge "Fix issue with PiP callbacks not being handled"
Hemant Gupta [Wed, 29 Nov 2017 20:17:31 +0000 (20:17 +0000)]
Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case"
am:
edfb333a4d
Change-Id: I28de2826209a16b763d64a1b31381f748067789c
Seigo Nonaka [Wed, 22 Nov 2017 20:07:16 +0000 (12:07 -0800)]
Measure the text before doing line break
Bug:
65024629
Test: N/A
Change-Id: Ifa7be17b87687f95f045de1409fb554991269ebc
Treehugger Robot [Wed, 29 Nov 2017 20:03:12 +0000 (20:03 +0000)]
Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case"
Yao Chen [Wed, 29 Nov 2017 20:02:07 +0000 (20:02 +0000)]
Revert "Thread-safe metric producers."
This reverts commit
8de6939c494da838f6dbbda0631f66425dbbd25b.
Change-Id: Ieae841bfc5339b569f0fca909a6066de72806617
TreeHugger Robot [Wed, 29 Nov 2017 19:57:47 +0000 (19:57 +0000)]
Merge "Fix ConcurrentModificationException in DashboardCategory."
Abodunrinwa Toki [Thu, 23 Nov 2017 12:22:45 +0000 (12:22 +0000)]
TextClassifier cleanup #1
- Introduces TextClassifier methods that do not take options
- Adds warning to TextClassifier implementations not to implement
or call certain default methods. Ideally, only one of the
overloaded interface methods (the one that takes Options) needs
to be implemented
- Changes TextLinks.Options to a mutable type
- Updates tests
TODO: Introduce a TextClassification.Builder.setDefaultAction(...) and
change addAction(...) to addExtraAction(...).
TODO: Cts test to validate input params.
Bug:
68846316
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I9a12935388e16a9b57567a71c97afaee63405183
Yuqian Li [Wed, 29 Nov 2017 18:38:40 +0000 (13:38 -0500)]
Verify that b/
68859852 won't happen again
Bug:
68859852
Test: unit tests with and without the fix on sailfish-eng
Change-Id: I9e2cdd622b7447ea3092fd66790431d94c40e13f
Andreas Gampe [Wed, 29 Nov 2017 19:50:54 +0000 (19:50 +0000)]
Merge "Frameworks: Clean up SharedPreferencesImpl" am:
572f46a3ef am:
70da38960c
am:
9a612c734e
Change-Id: Iaa9ac8d03ac0f235bbff7bf4b17ef7de6b90c24a
Andreas Gampe [Wed, 29 Nov 2017 19:38:11 +0000 (19:38 +0000)]
Merge "Frameworks: Clean up SharedPreferencesImpl" am:
572f46a3ef
am:
70da38960c
Change-Id: Ia4c24c8cd6fbeb58a90d56319558fc3c78474c2b
Charles He [Wed, 29 Nov 2017 19:29:50 +0000 (19:29 +0000)]
Merge "Enable Recents activity in LockTask mode."
Andreas Gampe [Wed, 29 Nov 2017 19:25:13 +0000 (19:25 +0000)]
Merge "Frameworks: Clean up SharedPreferencesImpl"
am:
572f46a3ef
Change-Id: I7b922f795283cefabf661e999e5a9897889fa287
Treehugger Robot [Wed, 29 Nov 2017 19:11:46 +0000 (19:11 +0000)]
Merge "Frameworks: Clean up SharedPreferencesImpl"
Andre Eisenbach [Mon, 10 Apr 2017 20:49:13 +0000 (13:49 -0700)]
Bluetooth: Pre-pend empty line for dumpsys section headers
Test: manual
Change-Id: I2daa5c985e5504606edd9ff558bd5b92af7a7240
TreeHugger Robot [Wed, 29 Nov 2017 18:59:42 +0000 (18:59 +0000)]
Merge "Define colorBackground for Theme.DeviceDefault.Settings."
Sudheer Shanka [Wed, 29 Nov 2017 18:53:12 +0000 (10:53 -0800)]
Temporarily disable the netpolicy unit tests.
Bug:
69916639
Test: N/A
Change-Id: Ia3435ac3ced7e48cccec211a9f9ae4ef2e62de46
Sudheer Shanka [Wed, 29 Nov 2017 18:35:39 +0000 (18:35 +0000)]
Merge "Track some event history and include it in netpolicy dump."
Arthur Ishiguro [Mon, 20 Nov 2017 23:07:14 +0000 (15:07 -0800)]
Handles load and unload lifecycle callbacks
Bug:
67734082
Test: Create test app to load/unload a nanoapp after client
registration, verify listener callbacks are invoked
Change-Id: Ibf8cd200307ace0b3dcc9431166f61fc2929cff4
Arthur Ishiguro [Fri, 17 Nov 2017 23:49:07 +0000 (15:49 -0800)]
Handles hub reset at ContextHubClientManager
Bug:
67734082
Test: make and flash device, do adb shell pkill chre and verify
onMessageReceipt for reset is triggered by service (by reading logs)
Change-Id: I4ea2f2930763dd8182e4e062cdb9312c3e23855e
Arthur Ishiguro [Fri, 17 Nov 2017 22:55:32 +0000 (14:55 -0800)]
Converts old API message clients to the new API format
Bug:
67734082
Test: make from root and flash, verify CHQTS pass on walleye-userdebug
Change-Id: I17b545da358258b97b2f94060feaa7a13c9aee67
Arthur Ishiguro [Thu, 16 Nov 2017 19:54:42 +0000 (11:54 -0800)]
Implements client close and death notification
Bug:
67734082
Test: make from root
Change-Id: Ia139fd6d4bb04c569a9ee3672e21e2700daa40a9
Arthur Ishiguro [Tue, 14 Nov 2017 22:59:08 +0000 (14:59 -0800)]
Creates framework for new API messaging
- Creates IContextHubClientCallback as a proxy to invoke
messaging/life-cycle callbacks for the client.
- Creates IContextHubClient as a proxy to send messages at the client
side.
- Creates a ContextHubClientManager at the service to manage
clients and messaging/lifecycle event callbacks.
- Implements generation of clients at ContextHubManager and sending
messages through ContextHubClient
Bug:
67734082
Test: make from root
Change-Id: I3a7e69f89cd70ea59160a651dcdb729e18027e9f
Adam Lesinski [Wed, 29 Nov 2017 17:59:37 +0000 (09:59 -0800)]
libandroidfw: Do not clear last resource id in ResolveReference
If the value passed to AssetManager::ResolveReference is not a
reference, the caller may be expecting for the last reference to
not be cleared, as a more appropriate value should most likely be
retained.
This was causing an issue when a caller was manually resolving
references and expecting the last resource ID resolved to be propagated
across calls to ResolveReference.
Test: make libandroidfw_tests
Change-Id: I5b7f586e2cd541059023eaa9ba23e324a21a9a1e
Hemant Gupta [Fri, 28 Aug 2015 09:43:47 +0000 (15:13 +0530)]
OBEX: Avoid pre-sending CONTINUE for SRM enabled case
Remote Device: LG-G2 as OPP client
Use Case:
1) Pair DUT with Remote.
2) Now push the file from Remote.
3) Ignore the incoming request from Remote
Failure:
RX_Notification lasts only for 10 seconds.
Fix:
OBEX lib handles a PUT Request case with NO BODY header on server
session with CONTINUE response until body is found in request
packet from remote. However, this needs to be avoided if SRM is
enabled from remote to get proceed transfer authorization
from Application layer.
Test: Send connection request from remote device and verified that
connection is sustainable for 30 seconds until timeout.
Bug:
37886388
Change-Id: I1b5bfd65f9023d77850a34bcb08cfbb435e9a474
Stan Iliev [Wed, 29 Nov 2017 18:15:45 +0000 (13:15 -0500)]
Fix text encoding in some macrobench tests
Fix crash in macrobench tests, caused by incorrect text encoding.
Test: Ran macrobench tests
Change-Id: I3522004f70c7037299fb92157ac8633ebb170131
Lucas Dupin [Wed, 29 Nov 2017 16:21:04 +0000 (11:21 -0500)]
Use system dialog corner radius
Bug:
64122537
Test: am start -n com.android.companiondevicemanager/.DeviceChooserActivity
Change-Id: I4a2c9b0659ba8e2f51b9a53b23ca75868e849a10
Mike Digman [Wed, 29 Nov 2017 18:10:06 +0000 (18:10 +0000)]
Merge "Add route for rotation suggestions from StatusBar to CommandQueue"
TreeHugger Robot [Wed, 29 Nov 2017 17:53:02 +0000 (17:53 +0000)]
Merge "Adding GNSS Model & Version String"
Makoto Onuki [Wed, 29 Nov 2017 00:31:47 +0000 (16:31 -0800)]
Introduce Global.LOCATION_GLOBAL_KILL_SWITCH
- When it's set to "1", LOCATION_PROVIDERS_ALLOWED will return "".
- When it's updated, the provider will send the changed notification
for LOCATION_PROVIDERS_ALLOWED for all running users.
Bug:
68769804
Test: Manual test with the settings command
Test: atest $ANDROID_BUILD_TOP/frameworks/base/core/tests/coretests/src/android/provider/SettingsBackupTest.java
Change-Id: Ie14ee696788b4152f7ae442da06b0bfa8034db52
Vladislav Kaznacheev [Wed, 29 Nov 2017 17:30:11 +0000 (09:30 -0800)]
Fix horizontal position of tooltip in a Dialog
When calculating the horizontal offset, use the top level view's width
instead of getWindowVisibleDisplayFrame (which is misleading for Dialog
windows).
Bug:
69911773
Test: manual
Change-Id: I040917d5beb123cc137da5a0c926a45a12e66234
TreeHugger Robot [Wed, 29 Nov 2017 17:06:50 +0000 (17:06 +0000)]
Merge "Always draw render node with a non-empty projected display list"
Charles He [Wed, 1 Nov 2017 10:05:51 +0000 (10:05 +0000)]
Enable Recents activity in LockTask mode.
In P, we introduce DevicePolicyManager.setLockTaskFeatures() API, which
lets the DPC enable the SystemUI Recents activity in LockTask mode. To
do this, we
1) Allow recents activity in LockTaskController (otherwise it'll be
blocked from starting as it's not whitelisted)
2) Clear the RecentTasks list, so that only whitelisted tasks remain in
the list (and therefore the recents UI)
Note that 2) is done even when Recents isn't enabled through the
setLockTaskFeatures() API.
Bug:
68238765
Test: runtest systemui
Test: bit FrameworksServicesTests:com.android.server.am.LockTaskControllerTest
Test: CTS verifier > CTS verifier > Managed provisioning > Device owner tests
> LockTask UI
Change-Id: I63c524c4d9a68b87a63cecf1642ecebd94aa2bb0
Neil Fuller [Wed, 29 Nov 2017 16:42:41 +0000 (16:42 +0000)]
Merge "Add a settings entry to enable UTC to be selected"
TreeHugger Robot [Wed, 29 Nov 2017 16:14:50 +0000 (16:14 +0000)]
Merge "Add ability to customize button corner radius."