- Dec 19, 2019
-
-
Nikita Ioffe authored
If device doesn't support userspace reboot then call to PowerManager.reboot("userspace") will throw an UnsupportedOperationException. For the case of upgrading devices, Treble enforces that previous vendor image should work with the new system image. Since userspace reboot requires services to be stopped and restarted cleanly, which upgrading devices might not be able to comply with, we need to have an API to distinguish between devices that support userspace reboot and the ones that do not. Test: atest PowerManagerTest Test: atest CtsUserspaceRebootHostSideTestCases Bug: 138605273 Bug: 135984674 Change-Id: I8303f43ab29499eb2995f0256854c787055d9560
-
- Dec 18, 2019
-
-
Grace Jia authored
-
Grace Jia authored
Test: manual Bug: 135929421 Change-Id: I63043646bb96b8543849c617ce1ccd41a558f24d
-
Jordan Liu authored
-
Treehugger Robot authored
-
Daniel Huang authored
-
David Su authored
-
satayev authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Abhijeet Kaur authored
Previously added "android:theme="@android:style/Theme. DeviceDefault.DayNight" to the application tag in this manifest file to enable dark theme for bugreport info. BugreportWarningActivity is nested within this application tag, so assumed all the child tags to have DayNight theme. android:theme="@android:style/Theme.DeviceDefault.Dialog.Alert" shows the dialog always as Dark mode. android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" shows the dialog always as Light mode. This bug is not easily notice-able as "Do not show this again" checkbox is checked by default for this dialog. Unless one wipes data partition, this dialog doesn't come up even after flashing new builds. Bug: 141663298 Bug: 146400225 Test: Normal (light mode) Trigger interactive/full/wifi bugreport. Click on bugreport finished "Share" notification. Light mode warning dialog should appear. (with white background) Uncheck the "Do not show this again" checkbox to test with dark mode. Test: Go to Settings. Turn on Dark theme. Trigger interactive/full/wifi bugreport. Click on bugreport finished "Share" notification. Dark mode warning dialog should appear. (with dark grey background) Merged-In: I200c592608261665e4c2416303f573522c6bc59a Change-Id: I200c592608261665e4c2416303f573522c6bc59a (cherry picked from commit 43bbe8a2)
-
Abhijeet Kaur authored
This bug was introduced when fixing dark theme for bugreport dialogs. Bug: 135446537 Bug: 146400225 Test: manually (both in light and dark theme) Merged-In: Ib8c16d068c00632d009033c2eab7d2d6cb7e4eea Change-Id: Ib8c16d068c00632d009033c2eab7d2d6cb7e4eea (cherry picked from commit f90de974)
-
Artur Satayev authored
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv \ git diff HEAD^ HEAD | grep '^[+-][^+-]' | grep -v '.import' Change-Id: I087bb1cecbe59f1cf0c2e770c735d7a433722c6f
-
Treehugger Robot authored
-
Neil Fuller authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Jiyong Park authored
-
danielwbhuang authored
1. Add error codes for setPreferredOpportunisticDataSubscription and updateAvailableNetworks 2. Use Compatibility Framework to remap them. Test: run atest. 1.atest TelephonyManagerTest#testPreferredOpportunisticDataSubscription 2.atest TelephonyManagerTest#testUpdateAvailableNetworks Bug: 130595455 Merged-In: I6f386bfcf75236e30141fab89e2b62ee3a8cb59e Change-Id: I6f386bfcf75236e30141fab89e2b62ee3a8cb59e
-
Treehugger Robot authored
-
Jiyong Park authored
The modules 'framework', 'framework-minus-apex', 'framework-all' contain private symbols that shouldn't be accessible to Mainline modules. Restrict the access by making the framework modules to be accessible only to the platform (the non updatable part). Bug: 145796956 Test: m Merged-In: I08cb61a67aef88ffe04ef52670144e1cbeff3cf9 Change-Id: I08cb61a67aef88ffe04ef52670144e1cbeff3cf9
-
Jiyong Park authored
FileDescriptor type in AIDL was translated into const unique_fd& in C++. Now, it is unique_fd, i.e. passed by value, to make it easier to keep it beyond the scope of the call. Bug: 144943748 Test: m Exempt-From-Owner-Approval: cherry-pick from internal Merged-In: I2b87761401361f9cf96cdda070f26e70a5c6c935 (cherry picked from commit b8ba2341) Change-Id: I2b87761401361f9cf96cdda070f26e70a5c6c935
-
Meng Wang authored
-
Mark Chien authored
-
- Dec 17, 2019
-
-
Xiangyu/Malcolm Chen authored
-
Tyler Gunn authored
-
Jordan Liu authored
Bug: 145956003 Test: manual Change-Id: I1af173a6e3772fad8bde2ac93177af894178b18c
-
Treehugger Robot authored
-
Meng Wang authored
-
Tyler Gunn authored
-
Tyler Gunn authored
-
Patrick Huang authored
Bug: 141227564 Test: Test build on device. Test calling affected TelephonyManager methods. Change-Id: Ife159922b8b0fdf84ea376f32ac1d9156c9802d3 Merged-In: Ife159922b8b0fdf84ea376f32ac1d9156c9802d3
-
Peter Wang authored
-
Treehugger Robot authored
-
Anton Hansson authored
-
Benedict Wong authored
-
Shuo Qian authored
-
Treehugger Robot authored
-
Shuo Qian authored
-