• R/O
  • HTTP
  • SSH
  • HTTPS

コミット一覧

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


RSS
Rev. 日時 作者
7c58f23 cm-14.0-x86 2016-10-13 02:12:01 Jaap Jan Meijer

Merge remote-tracking branch 'cm/cm-14.0' into cm-14.0-x86

596c1da 2016-10-11 09:11:23 d34d

Lockscreen: Introduce window type TYPE_KEYGUARD_PANEL

This window type will be used by third party keyguard components
so that they can be layered within the keyguard while running in
their own process. This window type will use the same Z ordering
as TYPE_STATUS_BAR_SUB_PANEL, which is currently unused.

Note from SHM:
* This also fixes the following errors while compiling for the emulator:

ERROR: vendor/cmsdk/tests/src/org/cyanogenmod/tests/externalviews/keyguardexternalviews/KeyguardExternalProviderTest.java:199: TYPE_KEYGUARD_PANEL cannot be resolved or is not a field
ERROR: vendor/cmsdk/tests/src/org/cyanogenmod/tests/externalviews/keyguardexternalviews/KeyguardExternalProviderTest.java:200: TYPE_KEYGUARD_PANEL cannot be resolved or is not a field

Change-Id: Ie18caf12a55ba79a5c56a36ca79b3a6e377d7529

8f27b77 2016-10-11 04:38:36 Jaap Jan Meijer

Merge remote-tracking branch 'cm/cm-14.0' into cm-14.0-x86

cbefcdf 2016-10-09 21:46:31 Steve Kondik

input: Add option to toggle pointer icon when using stylus

* The visible pointer icon when hovering or drawing with the stylus is
quite annoying when trying to actually draw with it. Turn it off by
default and add an option to turn it on.

Change-Id: I26ba2ca8b92511799033759ca85c36f4ba2b7833

8dbb414 2016-10-09 21:37:13 Michael Bestas

GlobalActions: Use circular user avatars

* Use circular & smaller avatars, logic copied from SystemUI
* Improve current user indication (thanks to maxwen)

Change-Id: I81e6c4afd604f5cb8b22e2c4db9b174bbe7fb3f0
Ticket-Id: OPO-456, CYNGNOS-1901

81e4d9f 2016-10-09 21:36:50 Danesh M

Move high touch sensitivity and hovering to InputService

Doing so allows us to keep track of user changes and restore
preferences.

This commit is squash of the following commits from CM 13.0:
7348be747940afe7c3ec6a2b133b5473bc18573a Move high touch sensitivity and hovering to InputService
f9a9d50491dc583ea568a4f12e57a2f97b9baacb InputMethodManager : Move registration to systemReady

Change-Id: I5a6af73129acefa6530ceb3f73cc4cd83a19a676
Ticket-Id: CYNGNOS-1166

c53d6b1 2016-10-09 20:52:35 KhasMek

statusbar: fix overlapping backgrounds when expanded

Previous to this patch time, date, and weather all
had double backgrounds causing a really unpleasant
animation when pressed or long pressed. This removes
the overlap and fixes the aesthetics.

Change-Id: If664c1892212bfaf4d53b00729f0c5613272b66c
Signed-off-by: KhasMek <Boushh@gmail.com>

c5e0329 2016-10-09 19:47:07 d34d

Keyguard: Get your weather on... the lock screen [1/3]

Change-Id: Ieed59aa488a0a26fa9fc27bd77cbdc6156baac68

cf97b6b 2016-10-09 19:47:07 Luis Vidal

Add Weather Content Provider [5/5]

Use the Weather Content Provider in the cmsdk to pull the
weather data.

However, SystemUI will rely on LockClock to force weather
updates via the new Weather Service, which in turn will
send a broadcast when new weather data is available.

Change-Id: I3c65ea5f4cc297a7944fcdef33f496cdf2d68d0a

SystemUI: Expose weather text colors

Weather text colors in the expanded status bar are hardcoded to
white. Expose these via cm_colors so that themes can color them
however they'd like.

A martini. Shaken, not stirred.

Change-Id: I5e5a738c8b97f556562114a66d102fcb924a0493

SystemUI: Update cached weather data when temperature unit changes

Register an observer to keep track of the temperature unit
selected in settings to update the cached data accordingly

TICKET: CYNGNOS-2694

Change-Id: I92adec20835bcd6d6476d793564300611bcba4a1

5fb1cb7 2016-10-08 21:22:42 Mike xdnax

SystemUI: Enable three icon switching within QS DND tile

This expands the QS DND tile to use three states instead of two.

Java commits by @nicholaschum

What this does:
- Removes the two states (true/false) clause {? XXX:YYY;} and uses an
switch(mZen) instead for the two cases and the default. If in the
future, we want to add another tile, just add another case.
- Adds two vector drawables originally by Cataclysm dev @atl4ntis,
modified and reformatted - this allows for themers to theme this
resource as well by adding the two new drawables.

PS1: Uses if/elsif/else clause
PS2: Update to use switch(mZen) clause

Change-Id: If34e225bdc81e944a12ffd764a521de934aca3b3

12d7667 2016-10-07 20:45:33 Zhao Wei Liew

SystemUI: statusbar: Fix status bar brightness control feature

Bring in the missing fixes from CM 13.

This commit squashes the following commits from CM 13.0:
6397527ca0c430671503cecb69d74554dea1d399 SystemUI: fix status bar brightness slider eating events
bbef42271cbba0eda91d214186ff2be31eb3b608 SystemUI : fix brightness slider for automatic brightness

Change-Id: I85e0b99dc33468b36222128660707fe481cf8b33

8398430 2016-10-07 20:45:33 Zhao Wei Liew

Revert "SystemUI: Add support for charging animation"

No thanks. Stick with Google's decision to save power.

This reverts commit 5fce2f7e00a1e2b4ef86f7ee1b15d567216ac831.

Change-Id: Ie56126016a87bcbc907734bbe37e26e79efc4f3c

437f0fc 2016-10-07 10:00:04 Zhao Wei Liew

SystemUI: statusbar: Fix QS quick pulldown feature

Bring in the fixes from CM 13.

This commit squashes the following patches from CM 13.0:
68c40f32470d66e0f8973d33a4124a2181754fb0 SystemUI: fix QS quick pull down
477f58dc1413943926f2b4428f5873c0bb04dab8 SystemUI: hook up settings observer in notificationpanel
d2bec52c76a3bb2c9a7fa3533e40f782fa592826 SystemUI: Fix quick-quick settings pulldown settings
eb10bc20db37978413362250c8546ae7ed865077 Add left QS quick pulldown (1/3)

Change-Id: Ie122477261d96499c80640cf274d22fba6642a01

3ea7047 2016-10-07 09:17:20 Zhao Wei Liew

SystemUI: tuner: Fix up button navigation in activity

The up button needs to navigate backwards when pressed.
This fixes the up button when status bar tuner is launched from CMParts.

Change-Id: Ic8ecc4d110ba4da185886aa9b82d5a3b68523f20

96070ba 2016-10-07 03:06:10 Jaap Jan Meijer

remove duplicate file types caused by merge

fa3846b 2016-10-06 23:15:10 Roman Birg

SystemUI: attach a queue to media player notifications

Extend media player notificatoins to attach a queue below them, set via
the MediaController.setQueue() API, when available.

Long pressing on the notificaiton will reveal an option to disable the
queue.

The queue is currently hardcoded to be limited to 3 items.

(cyanogen: Port to CM14)

Ticket: CYNGNOS-217
Change-Id: I3b8503cb47af2d36f031d06aefc1bfbe7ed80010
Signed-off-by: Roman Birg <roman@cyngn.com>

01555d4 2016-10-06 07:55:21 Jaap Jan Meijer

Merge remote-tracking branch 'cm/cm-14.0' into cm-14.0-x86

Conflicts:
core/java/android/app/ActivityManager.java

d369253 2016-10-06 00:46:44 Chih-Wei Huang

Android 7.0.0 Release 7 (NRD91D)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlfzAGEACgkQ6K0/gZqxDnh/gQCfWRCR7QmLvwbmY8cyR88fNNoS
FvwAnjqncP+SFkJFfWL2Af9qbnudBvbW
=KDKZ
-----END PGP SIGNATURE-----

Merge tag 'android-7.0.0_r7' into nougat-x86

Android 7.0.0 Release 7 (NRD91D)

3f8962f 2016-10-05 20:38:59 DvTonder

Frameworks: Allow/Prevent notification light in Zen mode (1 of 3)

This allows the user to prevent the notification lights from showing during Zen mode

Change-Id: I831c475204c8647d8ee281094aca837ee9594eb4

33086de 2016-10-05 20:38:59 Steve Kondik

lights: Automatically generate an LED color for notifications

* When an app doesn't specify a color for the LED, as is the usual
case, we currently just show the default color. This is boring.
It's also a pain in the ass to manually map all your apps to
colors.
* Use our new helpers to generate this color based on the application's
icon color. Keep a cache to avoid wasting cycles.

Change-Id: I7288e52499819a6a6c75ed9d9ba7cfa1b13c5669

nms: Only generate LED colors if the device has a multicolored LED

* Check the overlay value before doing any of this stuff.

Change-Id: Iedfceba6bfc86b2761d8af57ecab51026bfa4c19

eb63c6d 2016-10-05 20:38:59 Roman Birg

NotificationManager: always restore identity on notification error

Change-Id: I3fb369c34098c366c3c943da0d7c7c64127387c8
Signed-off-by: Roman Birg <roman@cyngn.com>

978eefa 2016-10-05 19:07:08 Alexander Martinz

batteryservice: remove unneeded catch clause and fix build

The IOException clause already catches the FNF one.
Also in 9f8e600815fc46924063b3a8ed6c98edee10fd30 the import for
FNF got removed, fix the build.

Change-Id: Iaa8bc77b5191ca6abb62e2ea51fd54614ab3c53b
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>

9f8e600 2016-10-05 18:22:34 Michael Bestas

batteryservice: Avoid exception if device doesn't support HVDCP

E BatteryService: Failure in reading charger type
E BatteryService: java.io.FileNotFoundException: /sys/class/power_supply/usb/type: open failed: ENOENT (No such file or directory)
E BatteryService: at libcore.io.IoBridge.open(IoBridge.java:452)
E BatteryService: at java.io.FileInputStream.<init>(FileInputStream.java:76)
E BatteryService: at java.io.FileReader.<init>(FileReader.java:42)
E BatteryService: at com.android.server.BatteryService$Led.isHvdcpPresent(BatteryService.java:792)
E BatteryService: at com.android.server.BatteryService$Led.updateLightsLocked(BatteryService.java:849)
E BatteryService: at com.android.server.BatteryService.processValuesLocked(BatteryService.java:501)
E BatteryService: at com.android.server.BatteryService.update(BatteryService.java:330)
E BatteryService: at com.android.server.BatteryService.-wrap4(BatteryService.java)
E BatteryService: at com.android.server.BatteryService$BatteryListener.batteryPropertiesChanged(BatteryService.java:870)
E BatteryService: at android.os.IBatteryPropertiesListener$Stub.onTransact(IBatteryPropertiesListener.java:58)
E BatteryService: at android.os.Binder.execTransact(Binder.java:453)
E BatteryService: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
E BatteryService: at libcore.io.Posix.open(Native Method)
E BatteryService: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
E BatteryService: at libcore.io.IoBridge.open(IoBridge.java:438)
E BatteryService: ... 10 more

Change-Id: I3ed4d8959a7e492e483fab365cf09612b5302908
(cherry picked from commit 64deb448b8ac50587bc90e3506e639e4e1a066ed)

7256aa1 2016-10-05 18:22:23 Joey Rizzoli

base: cm-iy adb notification icon

Change-Id: I241d09a605cd1d62c61f40e1e20f89f8eec8f352
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>

3c78674 2016-10-05 18:06:00 Roman Birg

SystemUI: add volume tones back

During the move from VolumePanel to the new VolumeController/Dialog
setup, the volume tone logic got removed.

Ref: CYNGNOS-1891

Change-Id: I2860819e83507ef01948d1adb53840feecfa622d
Signed-off-by: Roman Birg <roman@cyngn.com>

95b0c19 2016-10-05 18:04:59 Alexander Wuerstlein

connectivity-service: fix/improve unique hostname

ConnectivityService should set the net.hostname property to either
the current DEVICE_HOSTNAME or android-ANDROID_ID or leave net.hostname
unchanged if already set. However, the logic was flawed such that if
DEVICE_HOSTNAME was empty but net.hostname was not, net.hostname would
always be set to an empty string, leading to DHCP breakage later on.

The logic has been fixed, clarified and improved such that:
net.hostname will only be changed if it is empty. If net.hostname is
empty, it will be set to either (in order): the nonempty value of
DEVICE_HOSTNAME, android-ANDROID_ID or android-r-RANDOM_NUMBER. The last
option is an addition to have a sensible fallback in case both
DEVICE_HOSTNAME and ANDROID_ID are empty.

The random number is generated by java.util.Random, because I consider
cryptographically strong randomness unnecessary here and think possible
blocking in SecureRandom might be undesirable.

Thanks to stargo for pointing me to the right place to edit.
Thanks to Ethan Chen for his stylistic advice.

Change-Id: I603ab4d6a265456bf4fa310939965cfa677fc881

d88569d 2016-10-05 18:04:43 Alexander Wuerstlein

Ensure DHCP requests have nonempty hostnames

If the net.hostname property is empty or not found, Android issues
DHCP requests with an empty hostname field (option 12). RFC2132 section
3.14 prescribes a minimum length of 1 byte for the hostname.

To fix this, a generic 'android-dhcp' hostname is used as a fallback.

Change-Id: I7a92e7295f72b3255e4fba6498fb4039906eb702

79440ed 2016-10-05 05:43:12 Steve Kondik

Android 7.0.0 Release 14 (NBD90Z)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlfz9FwACgkQ6K0/gZqxDnjCAwCfU/2Ere7ZON0BkViO4HvmAp9n
S5oAn0J7Inb5QQfhl8otXBuIYGhMW/Qs
=GiEG
-----END PGP SIGNATURE-----

Merge tag 'android-7.0.0_r14' of https://android.googlesource.com/platform/frameworks/base into cm-14.0

Android 7.0.0 Release 14 (NBD90Z)

Change-Id: I8d0e0e94280931448e9a99f3c22e9f56f5d2fae5

2ab5749 2016-10-04 14:33:39 qqzhou

Download: Add support to manually pause/resume download

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

abf9444 2016-10-03 22:57:35 Michael Bestas

Forward port CM Screen Security settings (1/2)

* Variable size pattern lockscreen
* Toggle dots/error pattern visibility

Change-Id: Ie109e82c1fb2fd96b07e977e1cd76ae3acb865ff

Fix pattern visibility settings (1/2)

Change-Id: Ic627953c5df854c442671a98b5da539b994da18b

LockPatternUtils: Use the actual user id to set pattern size

Ticket: CYNGNOS-2462
Change-Id: Ia68e26ec2dfc23317135d933bc25204c1380bb02

LockSettings: fix build

Change-Id: Ic65b1a2af398faffb83776ee4013d47f79ab6619
Signed-off-by: Roman Birg <roman@cyngn.com>