Age | Commit message (Collapse) | Author |
|
6333853, 6333199, 6333874, 6333875, 6333876, 6333877, 6333274, 6333275, 6333276, 6333277, 6333814, 6333256, 6333815, 6333278, 6333236, 6333854, 6333816] into pi-b4s4-release
Change-Id: I78ba1c02bf67c0d9c345fe564a267a5a35c7ba44
|
|
When the user would set the brightness to the same value, the
temporary brightness would remain applied, effectively disabling
auto-brightness and confusing the system state.
Test: Drag the slider to an extremity (e.g. maximum), let it go, and
then re-drag the slider to the same place (e.g. place your finger
on the middle of the slider and move it to the maximum again).
run adb shell dumpsys display | grep mAppliedTemporaryBrightness
to check whether temporary brightness is applied; should be false.
Change-Id: I819ef2dc04e0cbabc4a210bd0703e0eeab157b93
Merged-In: Id3a1bff533b1bee9ca760e742dab379eeeb4b14e
Fixes: 122554527
(cherry picked from commit 7c93cefc8190b80cf040e6d0bcfda8c68c299f06)
|
|
The issues happens when CDMA is roaming to GSM, some US operator's mcc/mnc would change to 204/04
whose country belongs to NL not US. It doesn't always change but error occurs once changed.
MMSService would check if locale matches with phoneNumber.
The error results in HTTP header bringing incorrect MDN to server.
In Q, AOSP fixes it by using CarrierConfig to enforce 'US' as iso-country for all error scenarios.
Since the change is great, migrating all the patches to P for the time being is risky.
So, we use the same CarrierConfig as Q and narrow the range to MMS only.
That's why we use "DO NOT MERGE".
Bug: 120448454
Bug: 122332763
Test: Build pass
Change-Id: I74a7be348f37c06c015c50f96fbcf7db4fb15246
(cherry picked from commit f636191beaa35966ec0287b876502a77c160fb7b)
|
|
If we detect that the RTC is uninitialized at boot time, we advance
to the nearest safe estimated time that we can determine. We can't
necessarily touch read/write filesystems at this point, so we have
been using the timestamp of the root filesystem. Unfortunately, on
retail devices that timestamp is often artificial, and quite far in
the past by today's standards (e.g. some time in 2009).
We now consult a variety of milestones to get a better estimate for
the latest possible "the current date cannot be earlier than this"
reference point: the root filesystem timestamp, the Build.TIME
system variable, and the [ro.build.date.utc] system property if
available. The latter two, in particular, are typically within
at most two years of the current real time/date, rather than the
eight or nine years of offset that we see with the root filesystem
timestamp.
This is a cherrypick of a later change back to Android P.
Test: manually boot with system time forced to the 0 epoch
Test: CTS
Bug: 65354678
Bug: 63711349
Bug: 122883482
Merged-In: I36bbe6dfebba79ad83ce536917d6893427a026dd
Change-Id: I36bbe6dfebba79ad83ce536917d6893427a026dd
(cherry picked from commit bfbd98868e56064f1c4813dcdbaedf87ced526ea)
|
|
6206101, 6206102, 6206065] into pi-b4s4-release
Change-Id: I4ff6ecc889906d74e6796e8085a15927e326cb97
|
|
Verify that slot index passed in setAllowedCarrier() and in
getAllowedCarrier() has a valid value or return error code.
Bug: 123097251
Test: compilation
Change-Id: I58e5447f2232d6aa096ddb7a8594d762ca74d22f
(cherry picked from commit 8dca21054f411d6afb5b56f0b5a7a8e47e0b6c2d)
|
|
setWindowStopped
NativeActivities do not receive onNativeWindowDestroyed callback when the activity is stopped. If
the app still uses the window object after the window is destroyed, the app can crash.
Test: run native-plasma from Android NDK. Launch activity & press home. Verify from the logs app
receives onNativeWindowDestroyed callback when its stopped.
Test: go/wm-smoke
Bug: b/111948775, b/120100553
Change-Id: I1de76feb7f4974b77b42b56e592ff6444713c699
(cherry picked from commit e626d58c1b0d09c10d7b5992f5860f7158589ddd)
(cherry picked from commit 47d2d1e46a5bdcc3c233b90636c4fb8a85b8abcc)
|
|
Change-Id: Id755d4b97904acfa38353d9c35aab17a7c47ac81
|
|
6161237, 6161238, 6161759, 6161608, 6161356, 6161760, 6161654, 6161422, 6161423, 6161424, 6161425, 6161426, 6161427, 6161819, 6161357, 6161358, 6161428, 6161429, 6161430, 6159952, 6159858] into pi-b4s4-release"
This reverts commit 76b7e675938cb2214db44a24cca392a4c31b5709.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I7fd7db5a2b6912db28904b038c69290acf451730
(cherry picked from commit 0e63068d9082389a3302107f851a30637a8575e6)
|
|
6161238, 6161759, 6161608, 6161356, 6161760, 6161654, 6161422, 6161423, 6161424, 6161425, 6161426, 6161427, 6161819, 6161357, 6161358, 6161428, 6161429, 6161430, 6159952, 6159858] into pi-b4s4-release
Change-Id: I81b20d954d16be6a5ad083cc5a394b82a80b6f5e
|
|
Verify that slot index passed in setAllowedCarrier has a valid value or
return error code -1.
Bug: 123097251
Test: compilation
Change-Id: I58e5447f2232d6aa096ddb7a8594d762ca74d22f
(cherry picked from commit 78ede53e9727aa6a186277b5e06a46e0d020421f)
|
|
6119070, 6111429, 6114218] into pi-b4s4-release
Change-Id: I1067ea59a48d4a4b49b39df21cb6e7c1fecf8133
|
|
Device theme cannot changed because there is no wallpaper colors when
first boot with default image wallpaper. We can still calculate it
if there is no cropFile with the wallpaper component is ImageWallpaper.
Fix: 122660786
Test: manual test.
Test: atest WallpaperColorsTest WallpaperManagerTest WallpaperServiceTest
Change-Id: I26cc1d751dadd28185c650eff6e6ef60d5986aaa
(cherry picked from commit 31d70a1d5a992b4f67cb74b76fc6c38888a28224)
|
|
Previously, the show_opt_in and enabled flags were conflated to
basically mean the same thing. Because we are now distinctly making
show_opt_in refer to showing a toggle to opt into the feature in SUW and
enabled to mean the default enabled status, we need to change the
utility method for querying the default enabled status.
Bug: 122461924
Test: RunSettingsLibRoboTests
Change-Id: I9802d307597d90514e7dc6631998daa1d2fab253
(cherry picked from commit c81f7aea1d7c83a6424f35fe0e15b5bf11194bc1)
|
|
Test: manual test
- dumpsys content still shows accounts
- logcat doesn't show account names after "adb shell requestsync"
Bug: 121987496
Change-Id: I853c9b77cbb331eb5138f0f774365f405f321fd2
Merged-In: Ic4b8448d10936c9368b1aab208ae7d8e78c3a1ae
(cherry picked from commit 5fc6002de5953c65159a8914426345042193e650)
|
|
pi-b4s4-release
Change-Id: I83be0273d60a261b19d1424f50adc5ec8f89cc6b
|
|
|
|
|
|
Mute notifications based on their audio attributes
if HINT_HOST_DISABLE_NOTIFICATION_EFFECTS or
HINT_HOST_DISABLE_CALL_EFFECTS is enabled.
Test: atest
Change-Id: I6404eecdce17f390154b3bafee7aa4d18a8ca5b2
Merged-In: db7081e30a6c2d369caeb5b1d26cc00aff788db3
Fixes: 120505040
(cherry picked from commit db7081e30a6c2d369caeb5b1d26cc00aff788db3)
|
|
pi-b4s4-release
Change-Id: I7fca2d14920504594cafe092845617f3e53eb3d2
|
|
* changes:
Make sure mCurrentUsbFunctionsRequested flag be updated currectly
Check for preexisting flag before enabling the gadget
|
|
|
|
Don't tell listeners about changes to enqueued notifications;
they'll pick up the changes in the post notification runnable.
Change-Id: I56c4ba79bcf42c30ad9a0da936eb0b774a6f3f08
Merged-In: I56c4ba79bcf42c30ad9a0da936eb0b774a6f3f08
Fixes: 74236718
Test: runtest systemui-notification
|
|
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: I38e9b6203709ba448cccf1ae74f8308c16119f54
|
|
pi-b4s4-release
Change-Id: I4af5c2fbc9aea84fa60db914cbf38227bf1cb479
|
|
|
|
Services am: ed5973b8a8 am: 5ab7f995ba am: d71a5db522 am: 276e18c147 am: d962aabf4c am: 3c2abaa4da am: 04206067b9 -s ours
am: cf8145858c -s ours
am skip reason: change_id Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9 with SHA1 dd8b0a6bc8 is in history
Change-Id: Ia33298579013130b2d3394fd670345e5a25c3f65
|
|
Checker Services" am: 170e24d4e1 am: fb3b187f10 am: 7abf49d3b7 am: 1684713f2e am: cd6eba50ba am: 576e4ac184 am: d596c0e4ef -s ours
am: 34a17e0e25 -s ours
am skip reason: change_id Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9 with SHA1 dd8b0a6bc8 is in history
Change-Id: I7b4326dff6adb744cabbbc0f57e72b23102bb576
|
|
Services am: ed5973b8a8 am: 5ab7f995ba am: d71a5db522 am: 276e18c147 am: d962aabf4c am: 3c2abaa4da
am: 04206067b9 -s ours
am skip reason: change_id Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9 with SHA1 dd8b0a6bc8 is in history
Change-Id: I8be93eede6f7dcffc94905b5a790b1a813f28699
|
|
Checker Services" am: 170e24d4e1 am: fb3b187f10 am: 7abf49d3b7 am: 1684713f2e am: cd6eba50ba am: 576e4ac184
am: d596c0e4ef -s ours
am skip reason: change_id Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9 with SHA1 dd8b0a6bc8 is in history
Change-Id: Ie171e4463c7d5ba062f5c978c47ff5560037acb6
|
|
am: 5ab7f995ba am: d71a5db522 am: 276e18c147 am: d962aabf4c
am: 3c2abaa4da
Change-Id: I2b4a8618280a602b4eb42db9bf822a14324b587f
|
|
170e24d4e1 am: fb3b187f10 am: 7abf49d3b7 am: 1684713f2e am: cd6eba50ba
am: 576e4ac184
Change-Id: I304213f41d8b6f499d022f453392234ae901b36c
|
|
pi-b4s4-release
Change-Id: I58ae385a914e0d670b536f6a853be207f6468da5
|
|
am: 5ab7f995ba am: d71a5db522 am: 276e18c147 am: d962aabf4c
Change-Id: I4fa4b56b1472ed6c25bc431ef9ce8060cb04a1f1
|
|
am: 5ab7f995ba am: d71a5db522 am: 276e18c147
Change-Id: I2a8463e8e885a81229b28e7e99e7432a08a04c93
|
|
am: 5ab7f995ba am: d71a5db522
Change-Id: I9e0504f59437cc8fd72e96630a6fb753a4cbb423
|
|
am: 5ab7f995ba
Change-Id: I51fbf27831b8b981a7b1a6e2af9cf46d8e544c12
|
|
Change-Id: I8da1dd728ff244a1363d9274aa3f41d1c6081ee8
|
|
When we are setting a new spell checker as the default one in
Secure.Settings, TSMS#findAvailSpellCheckerLocked can pick up
any available spell checker service. This violates the principle
that user should be warned whenever we are setting an untrusted
spell checker service as the default service, since the warning
dialog is never shown.
Fixes: 64764051
Bug: 118694079
Test: Manually as follows:
1. Open 'packages/inputmethods/LatinIME/java/AndroidManifest.xml'
and remove 'AndroidSpellCheckerService'
2. lunch aosp_buillhead-userdebug && make -j
3. Flash the image
4. adb shell dumpsys textservices
-> no spell checker is recognized
5. adb shell settings get secure selected_spell_checker
-> null
6. tapas SampleSpellCheckerService
7. make -j
8. adb install -r $OUT/system/app/SampleSpellCheckerService/SampleSpellCheckerService.apk
9. adb shell dumpsys textservices
-> SampleSpellCheckerService is recognized
10. adb shell settings get secure selected_spell_checker
-> null
Change-Id: I16f12293d15258c9148677c7ee09fe6dcf81e81d
Merged-In: Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9
|
|
|
|
am: dd8b0a6bc8
Change-Id: I382af531b37c78862d8628ffc20bffef211b1e0d
|
|
170e24d4e1 am: fb3b187f10 am: 7abf49d3b7 am: 1684713f2e am: cd6eba50ba
Change-Id: I9b15a7332565cc39eee4abb9faccb2d148281bf0
|
|
170e24d4e1 am: fb3b187f10 am: 7abf49d3b7 am: 1684713f2e
Change-Id: Ib4cbddb955c57d2d59fb3b7fe656e21bc56266aa
|
|
170e24d4e1 am: fb3b187f10 am: 7abf49d3b7
Change-Id: I019b36991306a8f7887b7a0b8233b2c9f1c9ed32
|
|
170e24d4e1 am: fb3b187f10
Change-Id: Idfe048ca52ab0eb317e9313f56b884d264c14fd5
|
|
170e24d4e1
Change-Id: I11efc66592aada0a9b54299b6d782e92e247f811
|
|
This reverts commit fa265ed97026e3b8675a2ccbf4035cad6dc1523f.
Reason for revert: The backport for b/118694079 was applied improperly.
The fix involved filtering the class members list of spell checkers into a new list before searching it. The backport filtered the list but failed to update references to the class member into references to the local variable, creating no change in observable behavior. A new version of this commit will be simultaneously uploaded, which both fixes the bad behavior and allows us to have exactly 1 CL per branch that fixes the issue.
Bug: 118694079
Change-Id: Ic38a2ca2ddede7f0929779b0f2292b7823c11e87
Merged-In: Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9
|
|
5992555, 5992556, 5992557, 5992558, 5992559, 5992560, 5993181, 5993182, 5991272, 5993183, 5991273, 5991134, 5993184, 5993185, 5993186, 5993187, 5993188, 5993189, 5993190, 5993191, 5991115] into pi-b4s4-release
Change-Id: I06d978f24e8ed0ff07cbd1f2db01b3cda1b432cb
|
|
The default wallpaper component cannot be found after GSI is flashed.
The home screen background will have no wallpaper and be black.
It will also cause the following CTS tests to fail:
- KeyguardTests#testDialogShowWhenLockedActivity
- KeyguardTests#testTranslucentShowWhenLockedActivity
The patch will check if the package of the default component exists.
If not, it will fall back to null, which is the AOSP default value, and
display the wallpaper in framework resource.
Bug: 119895131
Bug: 111909699
Test: flash GSI aosp_arm64-userdebug on a crosshatch, got AOSP wallpaper
Test: flash full crosshatch-userdebug on a crosshatch, got crosshatch wallpaper
Change-Id: I9d618d05458a03a675324cb2f861decf31c5bf18
Merged-In: I9d618d05458a03a675324cb2f861decf31c5bf18
(cherry picked from commit 1c7ae31e97f0d90b16dcbefff9c436601cba7007)
(cherry picked from commit 32a7e2f35769631243af7b70aeb968a9784279df)
|
|
The backport for nyc-dev through oc-dev in b/118694079 was improperly
applied. Therefore, we need to apply changes to oc-dev but not
oc-mr1-dev. Since the different CL's had the same Change ID we cannot
use MERGED IN with the original Change ID, and RESTRICT AUTOMERGE
can't stop us from jumping to oc-mr1-dev. This commit gives us a
Change ID that we can use for proper behavior.
Test: No code or configuration changes were made in this CL
Bug: 118694079
Change-Id: Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9
|