of LocalServices
b/69981755 introduces AppWidgetManagerInternal and added this instance
as key in Local Services. setup() phase of Second testcase onwards
throwing IllegalStateException as the AppWidgetManagerInternal interface
already added in the global registry of LocalServices in first time setup()
phase.
Bug: 147165870
Test: atest FrameworksServicesTests:com.android.server.appwidget.AppWidgetServiceImplTest
Change-Id: I9e74b1a06e1c9a4b0ee0cad982cecaac3059f7c9
Signed-off-by: Naga Venkata Durga Ashok Mutyala <quic_nmutya@quicinc.com>
Implement the ThreadPrioritySetter interface and register it in
runtime.
Bug: 139521784
Test: CtsLibcoreTestCases, device boot to home, thread priority set
as expected.
Change-Id: Iee33a26c0b25386dd10a51a14284cab71e71edb2
This API cleans up the merge and free up space after the
device has boot successfully into the new build for a
Virtual A/B update.
Bug: 138808328
Test: pass
Change-Id: Id4543906b06e6a8487f91955af85024d8a50a464
Teams need to directly link to Annotations and having
a @hide as a const prevents that @SystemApi methods from
doing this.
Bug: 146084549
Test: FrameworkServiceTests
Merged-In: I2d6ad7621560ef73b10d6eb861c44700b27a2ea6
Change-Id: I2d6ad7621560ef73b10d6eb861c44700b27a2ea6
from protected broadcast list.
The broadcast was removed in I8fffe2996f233f2422173e9823810523ce80f2e5
Bug: 140908357
Test: make
Change-Id: I12d18e307ca253c81b1e858b3d27474a0d01aac6
When kernel is configured with CONFIG_VMAP_STACK=y kernel stacks are mapped
into process space and therefore already accounted as part of the value
returned by ReadVmallocInfo and reported under MEMINFO_VM_ALLOC_USED
category. Introduce isVmapStack function to check if kernel is configured
with that option and if so do not exclude kernel stack size in the
calculation of memory used by kernel.
Bug: 146088882
Test: dumpsys meminfo with CONFIG_VMAP_STACK enabled and disabled
Change-Id: I9230bbf0ab05524cf52ded35171fd9ec3da16fa0
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
ConnectivityDiagnostics API will be used to provide callbacks to
permissioned applications for notifications on network connectivity
events.
Bug: 143187964
Test: compiles
Change-Id: Ib3c0b93f534a9c540e577891aa8aa0a2ad6de71f
Remove flooey@.
Add libcore and conscrypt owners, since they seem vaguely appropriate
as owners.
Bug: 147092934
Test: Treehugger
Change-Id: I2decceafeb688f5eb0741f8a23c0afd7731f23b7
After aosp/1188881, DynamicSystemManager.remove() is blocked for
about 30 seconds. To give users feedbacks faster when they click on
the [Cancel] button, This CL removes the progress notification
earlier.
Bug: 145891864
Test: Clicking on the [Cancel] button
Change-Id: I4e43775b2de6eaa50d4a1cc073a5057f22f6d8d5
Instead of using "ro.product.apps.unbundled", use
"ro.product.vndk.version" to determine if product apks are unbundled.
"ro.product.vndk.version" will be defined by
PRODUCT_PRODUCT_VNDK_VERSION. If it is defined, all product apks must
be unbundled.
Bug: 144534640
Bug: 127738095
Bug: 128557860
Test: boot and check logs if product apps are loaded successfully
Change-Id: I6d0f7c20e131dfe12203c63a14e6254a8223893b
This is to fix an issue when calling getUser for a context that
is different than the context of the current foreground user.
getUser for a ContextWrapper would call the base
class Context#getUser which returns the user of the current foreground
process rather than returning the user of the calling context.
Currently, this is a bug that does not meet the ContextWrapper class Javadoc.
It looks like the ContextWrapper call was missed in Ib772ec4438e57a2ad4950821b9432f9842998451.
Fix: 144024489
Test: called the API from a test App with a different context than the
current application context.
Change-Id: I58ec9fda24bf135ba8c648a905ef0c81d36ea098
Merged-In: I2d24f5141e8cbc2546c8dc5894a1aeab376b7632
(cherry-pick from ag/9673528)
- Clean up usages of hidden AppOpsManager APIs in SmsApplication
- Add unit tests for SmsApplication
- Expose RoleManager#getDefaultSmsPackage for use in SmsApplication.
Bug: 146834818
Test: atest SmsApplicationTest
Change-Id: I4ab49d7f6274389e7de7cd7223cab3c433936044
The java_libs property is used to expose implementation libraries not
stubs libraries.
Test: m checkbuild
Bug: 146341462
Exempt-From-Owner-Approval: minor change and sole owner is ooo
Change-Id: I2714b65d4b81a9669831153280a29f93dbbf7a26
Includes Context.NETWORK_POLICY_SERVICE into system API
so that system apps(including mainline modules) could
obtain the service.
Bug: 138306002
Test: FrameworksNetTests
FrameworksTelephonyTests
Change-Id: I3f751b14e55969952c69b33c97ef86d859cef8b5
Copy the util method from Telephony.Mms so we're not using the hidden
API.
Bug: 146834818
Test: atest GsmSmsTest#testIsEmailAddress
Change-Id: I003bf504d25b65ce4fc544d918007034471d7040
Merged-In: I003bf504d25b65ce4fc544d918007034471d7040
Not only is it more concise, but it's also just a tad more correct:
since it really should have been 'sizeof(stats)' not 'sizeof(Stats)'.
Test: builds, atest
Bug: 146787904
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I6cf0295878c7b34cedfe3ae44ff7410ef419f8b9