Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Translate power menu into Russian. #135

Closed
wants to merge 110 commits into from
Closed

Translate power menu into Russian. #135

wants to merge 110 commits into from

Conversation

einsatz
Copy link

@einsatz einsatz commented Jan 28, 2017

screenshot_20170128-202058
screenshot_20170128-202054

alainv and others added 30 commits November 10, 2016 16:45
Those two resources were only defined for watches and had no default
counterparts.

BUG: 32786346
Change-Id: I0868d34d1df55c6dfd26d13c3a7d468866603a97
(cherry picked from commit fade123)
This adds a null-check to verify that we got real data before
trying to use it and increases the timeout time to reduce the
likelihood of timing out.

Test: FrameworkServicesTests
Bug: 33836034
Change-Id: Ia1ad4aba05c5c4fb8688fc9fc94df344f736e396
(cherry picked from commit cf76a16)
This reverts commit 84980c7.

Bug: 33895226
Bug: 30984614
Change-Id: I2652e77512bc870190e2172a629abac9341b2c4f
(cherry picked from commit 966045d)
android-build-team Robot and others added 28 commits May 17, 2017 22:45
…pixel-monthly-release-3938523 snap-temp-L39300000065258774 (snap-temp-branch)

Change-Id: I4bce5f33182b1e92971f44b96d45c71ae1d68c3e
…pixel-monthly-release-3938523 snap-temp-L39300000065258774

Change-Id: Iab7629368efe3bbdc2780cf2d9617853e6dd8a49
Bug: 34193533
Test: mma
Change-Id: I0d255f47eaded15eda02a4654193a4e49c63a2c5
(cherry picked from commit f2d2640)
…79863, 2278227] into nyc-mr2-pixel-monthly-release

Change-Id: I1823477516e3ccbe0ed20238b243765647417241
Fix a bug where a malformed Parceled representation
of an AccessibilityNodeInfo could be used to mess with
Bundles as they get reparceled.

Bug: 36491278
Test: Verified that POC no longer works, a11y cts still passes.
Change-Id: I10f24747e3ab87d77cd1deba56db4526e3aa5441
(cherry picked from commit 687bb44)
(cherry picked from commit 487d869)
Bug: 37526753
Test: Check that system alert windows appear after leaving VR mode.

Change-Id: I2942b2e2bd30308752367963b7ae896462811d2f
(cherry picked from commit 2781b41)
Commit https://android.googlesource.com/kernel/common/+/f0ce0eee added
CAP_SYS_RESOURCE as a capability check which would allow access to
sensitive /proc/PID files. system_server uses this capability to collect
smaps from managed processes. Presumably this was done to avoid the
implications of granting CAP_SYS_PTRACE to system_server.

However, with SELinux enforcement, we can grant CAP_SYS_PTRACE but not
allow ptrace attach() to other processes. The net result of this is that
CAP_SYS_PTRACE and CAP_SYS_RESOURCE have identical security controls, as
long as system_server:process ptrace is never granted.

Add CAP_SYS_PTRACE to the set of capabilities granted to system_server.

Don't delete CAP_SYS_RESOURCE for now. SELinux has blocked the use of
CAP_SYS_RESOURCE, but we still want to generate audit logs if it's
triggered. CAP_SYS_RESOURCE can be deleted in a future commit.

Bug: 34951864
Bug: 38496951
Test: Device boots, functionality remains identical, no sys_resource
denials from system_server.
Change-Id: I2570266165396dba2b600eac7c42c94800d9c65b
(cherry picked from commit 3082eb7)
(cherry picked from commit 966619d)
Please see commit 3082eb7 for an
explanation of this change.

This capability is not used by system_server.

Bug: 34951864
Bug: 38496951
Test: code compiles, device boots, no selinux errors ever reported.
Change-Id: I4242b1abaa8679b9bfa0d31a1df565b46b7b3cc3
(cherry picked from commit 3577578)
(cherry picked from commit 4911af2)
…07656, 2307743, 2307635, 2307799, 2307577, 2307800, 2307707, 2307803, 2307781, 2307773, 2307637, 2307804, 2307618, 2307734, 2307708, 2307805, 2307709, 2307806, 2307820, 2307746, 2307774, 2307839, 2307735, 2307782, 2307808, 2307840, 2307738, 2307783, 2307749, 2307775, 2307860, 2307899, 2307822, 2307823, 2307880, 2307778, 2307825, 2307882, 2307787, 2307919, 2307844, 2307905, 2307883, 2307829, 2307907, 2307832, 2307944, 2307945, 2307911] into nyc-mr2-pixel-monthly-release

Change-Id: I5768c17d987ea5df68e2366f346d5f4f129d3cc9
Otherwise the (CTS) server might run out of connections.
Bug: 38391487
Bug: 22771132
Test: build, run CTS, stream music

Change-Id: I92c782a6799ab36eec8df3f7c3217bea667b838a
(cherry picked from commit 46132af)
…13792, 2413850, 2413851, 2413793, 2413866, 2413738, 2413659, 2413660, 2413867, 2413868, 2413885, 2413829, 2413814, 2413886, 2413921, 2413777, 2413887, 2413854, 2413889, 2413890, 2413855, 2413869, 2413740, 2413816, 2413831, 2413832, 2413817, 2413892, 2413797, 2413779] into nyc-mr2-pixel-monthly-release

Change-Id: Ie45c0ee51a7a5d2f9ba6718011d7fc3461825584
original work organizing the new nexus sounds done by @Bajasur

I just cleaned it up a little and made it have its own makefile

Change-Id: I3a9d16c73cdbf9a9804bf029c110f35bc067b079
Signed-off-by: Carlo Savignano <carlosavignano@aospa.co>
Add the pause and resume APIs here so that applications can
pause and resume downloads manually through DownloadManager.

This patch consists of 2 changes:
1. Add pause and resume download APIs
2. Add another paused reason for this download status

Change-Id: I606b48ca20f43bcc6c119683818c2ab6ff03bfe5
KeyguardStatusView is doing refresh all the time,
which cause high power when screen off.

Change-Id: Ifabdde4419a23e919cd52fe77e78ec3160575af1
When screen is off, don't refresh the status bar to save power.
When screen is on, refresh immediately for user experience.

Change-Id: Ie250e20bab57c096a16886680a53263c635bf6f4
When device is connected as MTP mode and user opens folder
/sdcard/Pictures/Screenshots/ in windows system and captures new
screenshot, image information is always shown as 0 KB

Issue: https://code.google.com/p/android/issues/detail?id=56204

Change-Id: I46f3d72d275e164e40e305a3b5aafe685e6905f2
Change-Id: I442c3bf1a647a9922ddf5bd0ce6f123951d1e703
Clicking on the "cast" icon of an app using the MediaProjection API will
crash as the code assume that it is a device.

java.lang.ClassCastException: android.media.projection.MediaProjectionInfo cannot be cast to android.media.MediaRouter$RouteInfo
	at com.android.systemui.statusbar.policy.CastControllerImpl.startCasting(CastControllerImpl.java:177)
	at com.android.systemui.qs.tiles.CastTile$CastDetailAdapter.onDetailItemClick(CastTile.java:237)
	at com.android.systemui.qs.QSDetailItems$1.onClick(QSDetailItems.java:177)
	at android.view.View.performClick(View.java:4756)
	at android.view.View$PerformClick.run(View.java:19749)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5221)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)

Change-Id: Icfdf745c03da7bd1bbb228e06005f55324c1b8fa
Squashed commits:
Author: romanbb
advanced reboot: add soft reboot option
CyanogenMod/android_frameworks_base@c301e6c

Author: invisiblek
ShutdownThread: set soft reboot trigger accordingly
CyanogenMod/android_frameworks_base@f094fe6

Author: rmcc
Method doSoftReboot() from:
framework: Add advanced reboot options (2 of 2)
CyanogenMod/android_frameworks_base@8060499
Steps to reproduce:
Enable airplane mode
Reboot

Check the statusbar. The no sim icon is too close to airplane icon.
This commit shows mWifiAirplaneSpacer everytime airplane mode is on,
and not only when wifi is also on, and fixes that.

Change-Id: Ib3b8b237b3e74fa07a3ce43d0727cea2f1c31faf
Adopted for Marshmallow by @KreAch3R

In stock lollipop power off is the only action in the GlobalActions menu.
Since we added more actions we should confirm the power off command in
case the user accidentally tapped the wrong item.

Change-Id: I5b126aa47956abbbe26417f5c59d8a181c70dee2
Signed-off-by: Evan Anderson <evananderson@aospa.co
BackupRestoreConfirmation acitivity does not show 'allow' button, because
'getPasswordType' func check "Manifest.permission.STORAGE_INTERNAL",
so add missing STORAGE_INTERNAL permission.

Change-Id: Ica631b7edd2529e52d6661cef6ee6e468f1f38ed
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
 * DatabaseUtils: java.lang.SecurityException: Permission Denial:
     get/set setting for user asks to run as user 0 but is calling
     from user 10; this requires android.permission.INTERACT_ACROSS_USERS_FULL

Change-Id: I444dac4c4134e70d0fdd828c64be9ca732d3a195
Change-Id: I64966e15e0e92a2058809ead2c694a9badae881b
(cherry picked from commit da6a6b0ffc1b6f21c64bb804341f2b32bb933922)
… and test feature in bug 33118157

Change-Id: Ic1b62a8d0821385cfe05818c72f9554588457a65
Change-Id: I8c28519ee89229a6cc653eb0bd90fdb5f40eaf93
@willnorris
Copy link

To report bugs or submit patches to Android, please follow the instructions at http://source.android.com/source/contributing.html. More information on these mirrors (like the fact that issues and pull requests are ignored) is available at http://aosp-mirror.github.io/.

@willnorris willnorris closed this Nov 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet