When a child drawable is updated, the invalidated mask
needs to reflect on the animation paint
Fixes: 187290156
Test: visual
Change-Id: I30065027f73f646c887933648d8e296ec651c299
This ensures only one JNI strong reference for the death recipient when
the same binder is used for multiple linkToDeath calls.
Test: atest CtsAlarmManagerTestCases
atest FrameworksCoreTests:BinderDeathDispatcherTest
atest FrameworksMockingServicesTests:com.android.server.alarm
Fixes: 162961981
Bug: 182971683
Change-Id: Ieea2d8f4e495a4c4687378db9d0b8c6949a0406a
Also, set gap between QSFooterView (or QSSecurityFooter) and media to
8dp.
Fixes: 187316973
Test: manual
Change-Id: Ie0ab67ac298951f749025d6699d302c27b0e6a80
Also, remove `android:textColor` from the theme and add it to respective
TextAppearance.
Fixes: 187069480
Test: manual
Change-Id: Ib6554753bf896c1611c0d302ff2b8a081151be7d
Add new methods on LocationAccessQuery.Builder to make it harder to
screw up when using. Changes include:
* Mandatory specification of min sdk levels for enforcing both fine and
coarse permission
* Mandatory "are-you-sure" check when both fine and coarse are above the
base level (i.e. when there are api levels that are left unprotected)
Also adapt TelephonyRegistry's permission checks to follow these new
requirements on the builder.
Fixes: 157170257
Test: CTS, unit tests, manual
Merged-In: Ica8779dff4c671352b917a3ccc02cdd0e1c5856d
Change-Id: Ica8779dff4c671352b917a3ccc02cdd0e1c5856d
(cherry picked from commit d7c2351676)
This allows us to collect Java Heap Profiler data directly without
needing to set the flag similar to PerfettoHprof.
Test: Passing Tests
Local Testing
Bug: 160214819
Change-Id: Id4888107c7b12f076de8237fd42bab49319566b5
This allows for actually locking the buffer iteration with mBufferLock to avoid accidental concurrent access.
Test: atest NotificationManagerServiceTest; manually inspected dumpsys
Bug: 186860793
Change-Id: I6a97a74833f57ec45c118fcfc63f628703ec2557
Make sure that quota is counted properly for RESTRICTED jobs when the
device is charging but not idle.
Also add some GuardedBy annotations and update some method names. It's
not exhaustive, but a start.
Bug: 141645789
Bug: 187189316
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Test: atest CtsJobSchedulerTestCases
Change-Id: I75fae5e3ae71435367db7dd9fa2c14f5d1029a67
If an app stops using mic/camera for less than three seconds, and then
starts again, only show the dot.
Fixes: 187051104
Test: Went into camera, and switch modes several times
Change-Id: I496046e5d18417e62f1c898340ac6ad06364514a
Otherwise the translucent Activity sticks around until another back
press.
Bug: 187221431
Test: manual, adb shell am start \
-a android.intent.action.INSTALL_PACKAGE \
-d "file:///the-apk-that-wasnt.apk" \
-n com.google.android.packageinstaller/com.android.packageinstaller.PackageInstallerActivity
Change-Id: I80ecf62247c62d76a832676ed52c68f9aefcb54e
second, and hide the time if it's too large for the space available.
Demo: b/185897063#comment2
Test: atest (including new OngoingCallChronometerTest) and manual
Bug: 183229367
Fixes: 185897184, 185897063
Change-Id: I7fb129734cd1dc29f45e41e6e1775d44f1680d10
The boot image profile and preloaded class files will be split
for two parts. One for art and one for framework.
These intial empty files are necessary for server side to
compare the difference.
Bug: 186455808
Test: m
Change-Id: I51a1ab6fa203a8e85e2cebeff3f64c9bfc59b58a
Updates the Japanese Photo L media size name with JPN_ prefix
Test: L is present in API with updated name
Signed-off-by: Kurtis Schlepp <mopriadevteam@gmail.com>
Change-Id: Ib4e52b23571b166f6c000676fb81b4ac7c1f9a7a
- Create a new package private method for
applyNewResourceDirs that takes the lock internally in
the resources manager class
- Move all locking to use the internal lock object
Bug: 186411938
Test: on device and local build
Change-Id: Idb49c76ceca51ed656fd47b82fad0afca1b2740b
It is unnecessary to load icon without scale and load again
with scale. Just load the scaled one directly.
The construction time of SplashScreenView:
Dialer : 36ms -> 24ms
Messages: 21ms -> 13ms
Contacts: 27ms -> 16ms
Bug: 187104264
Test: OpenAppMicrobenchmark
Change-Id: I0b71d3038f85a0839af862e5822e10fccbe1395d
Added to notification APIs and browser exemption in ROLE_BROWSER in
topic CL.
Bug: 167676448
Test: Builds
Change-Id: Ibb4bee91fc2b8fcd8bbe194812cc8c3fa22c41ec
This adds the logging to RemoteInputView.java, where ACTION_REMOTE_INPUT_* were logged for Tron, in the same places as the existing Tron logging that this will eventually replace.
Test: atest RemoteInputViewTest; statsd_testdrive verified that events were logged with new IDs
Bug: 159697717
Change-Id: Ice4c274bfb114f90006a02dd895d92bbb701ecae
So a11y services don't mistakenly announce
"Double tap to activate" on a target that won't do anything.
Fixes: 187078434
Test: manual
Change-Id: I5b93eadcd190d8077bdb87ee57f9b9c5e6f8d6b3