| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29189712
Bug: 30317026
Bug: 30235113
Change-Id: Icced9805a56675e86f894c458c4a5a0048fd54c0
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 30297223, Bug: 30437363
Change-Id: I7b18af40e4eac2713577204428fbfb96cc346582
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29270469
Change-Id: I6a6c8aeab2a842ff1646316363d614851625e78f
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Block the user from entering safe boot mode if the DISALLOW_SAFE_BOOT
policy is set.
Bug: 26251884
Change-Id: I4945d5d676928346c11ea305a5b6a2e1a42e94e6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: ran libaapt2_tests64
Bug: 29250543
Change-Id: I1ebc017af623b6514cf0c493e8cd8e1d59ea26c3
(cherry picked from commit 4781057e78f63e0e99af109cebf3b6a78f4bfbb6)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29421441
Change-Id: I7460268595e932d54660b02007bcd68b95fe8aec
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't use "==" to compare strings.
Bug: 25624963
Change-Id: Id25696e4fdcbcf4d48ec74e8ed65c1a33716b30c
|
| | | |
| | | |
| | | |
| | | |
| | | | |
BUG:25624963
Change-Id: I939a12a27d6b915d8a9cc8b142f645fba0ee42ec
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Some themes carry bootanims on specific resolutions that look like
crap on different screen densities. We can have scale those into
the correct size, now.
Change-Id: Ib8ed04899dd46fed33b15d08fce4f7411b925f0c
TODO: Plug a sliding scale (and auto-adjust into the theme engine?)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I77a3c0eb997d6f2aaf9b1add59480c496e55e43d
Ticket: -
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Use getAnimationFileName instead of using hardcoded paths
* Add check for theme animation
Change-Id: I28b8de9a720db268619a01c18d0fb22cd1c6e748
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This patch removes the onDetachedFromWindow method introduced in
change Ieaec759e4378a9a7701e6fba46ed33464caaee0a. It is not
necessary to set the panel bar to null in the PanelViews or the
PanelHolder in order for these objects to be GC'ed when recreating
the status bar after a theme change or a user switch.
Change-Id: I67f1e8289d04df2f5daefdb206030d7f0404d714
TICKET: HAM-1551
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ibe7077b70c1f14d9feb0607fc8ff9a5a9700e640
Ticket: -
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: If9c84ea2b755526e568189ea3439a6802398c50f
Ticket: -
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ticket: CYNGNOS-3251
Change-Id: I394514335bdaeafdc7b89918ece1fe3d2794647f
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | | |
Android 6.0.1 release 66
# gpg: Signature made Tue 06 Sep 2016 09:26:45 AM PDT using DSA key ID 9AB10E78
# gpg: Can't check signature: public key not found
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29189712
Bug: 30317026
Bug: 30235113
Change-Id: Icced9805a56675e86f894c458c4a5a0048fd54c0
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 30297223, Bug: 30437363
Change-Id: I7b18af40e4eac2713577204428fbfb96cc346582
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29270469
Change-Id: I6a6c8aeab2a842ff1646316363d614851625e78f
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Block the user from entering safe boot mode if the DISALLOW_SAFE_BOOT
policy is set.
Bug: 26251884
Change-Id: I4945d5d676928346c11ea305a5b6a2e1a42e94e6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: ran libaapt2_tests64
Bug: 29250543
Change-Id: I1ebc017af623b6514cf0c493e8cd8e1d59ea26c3
(cherry picked from commit 4781057e78f63e0e99af109cebf3b6a78f4bfbb6)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29421441
Change-Id: I7460268595e932d54660b02007bcd68b95fe8aec
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't use "==" to compare strings.
Bug: 25624963
Change-Id: Id25696e4fdcbcf4d48ec74e8ed65c1a33716b30c
|
| | | |
| | | |
| | | |
| | | |
| | | | |
BUG:25624963
Change-Id: I939a12a27d6b915d8a9cc8b142f645fba0ee42ec
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I4ba7d41862a729eaa6034b5e1285fd08b959b05b
Ticket: -
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Iad0958668bdea17e10cccba7f8a5a2d406e97b45
Ticket: -
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: If7eac9a9fa7e145c9d35ece91a8ccab33601a1ca
Ticket: -
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the overlay is false the 'down' indicator is unused and there-
fore no padding for text alignment is needed.
Also use the overlay to disable the up-arrow indicator, thus return-
ing to the old lockscreen layout.
Change-Id: I542109686778e081c1883885287de0d5380578a2
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ica874be3be89f12b6ecea444d442706bc1fd91ba
Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When system comes back from idle state, GpsLocationProvider
invokes startNavigating() even when GPS is turned off in
settings.
Change-Id: Ie6dbf60a743cce429ab83876a3cb80f7e4b0e0f6
CRs-Fixed: 1022372
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Idbcd94ae8004352c5241fc81ac9595173001a58d
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Packages not installed with PackageInstaller.Session that
are moved to adopted storage via android storage settings
will get moved back to private internal storage when the
package is later updated. This causes the app to lose
it's data (and leaves the data dir dangling on the original
adopted location).
play market installs do not have this problem (because
they use an installer session) but pretty much every other
app install route does. eg adb install and other app stores.
Change-Id: I0f606b230460f32310921c75e58ccb5b610268e4
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
An update to an app on adopted storage via a PackageInstaller.Session
(eg gplay) will result in the app silently ending up back on internal
storage if the (new) manifest sets INSTALL_LOCATION_INTERNAL_ONLY.
However, the app data is not moved with it so the end result is that
data looks like it's been wiped.
Ideally, the app and data would be moved to internal. Next best would
be that the user is informed that they need to uninstall and reinstall.
For now, persist the app in the adopted storage location so that
the user doesn't lose app data.
Change-Id: I1f178ea361a875c6df6b3b20a2e44071124c39c4
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ie2249610e3a46c57e0d2bef629d5d4eaeb26fcdb
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
[Procedures]
1. Go to Settings->Date&Time
Set time backwards, eg. 2016.6.15 -> 2016.6.10
2. Tap recent apps button to show recent activities.
There will be no activities shown.
Change-Id: Ifd860c0d08fac49f9d3c8eac590b6db9e6afb09d
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I599894bfd30ff9d78253482981737fc8a440a826
Ticket: -
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When using a custom launcher, like Nova, it is possible to set a
gesture to open the status bar pulldown. It does not open at the
same speed as when using a finder to pull down from the top
of the screen at the status bar. This fixes that.
Change-Id: If3f14f14ef5ed4f14495472d0335cb11d743a5a1
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Pass app info and number of installed packages to boot message UI
* Ui by Asher and Joey, based on Alexander's previous work
Change-Id: I9ec9d0cb0e20a9bac73e126f6b6f3965400f05e7
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This lock isn't really needed because the proxy will return
false if the resolver package doesn't exist or throws a
remote exception.
Having this lock causes a deadlock between the PM and the app:
resolveIntent holds the PackageManagerService#mPackages lock and
then tries to lock on PackageMonitor#mLock.
Meanwhile, when packages change, LaodedApk holds onto the
PackageMonitor#mLock and then tries to query the intent services and
tries to lock on PackageManagerService#mPackages.
Relevant traces below:
"Binder_4" prio=5 tid=60 Blocked
| group="main" sCount=1 dsCount=0 obj=0x136f00a0 self=0x7f743d2a00
| sysTid=949 nice=0 cgrp=default sched=0/0 handle=0x7f74b93440
| state=S schedstat=( 1032333944 663457790 2968 ) utm=74 stm=29 core=3 HZ=100
| stack=0x7f74a97000-0x7f74a99000 stackSize=1013KB
| held mutexes=
at com.android.server.ServiceWatcher.getBinder(ServiceWatcher.java:368)
- waiting to lock <0x083e77c9> (a java.lang.Object) held by thread 9
at org.cyanogenmod.platform.internal.AppSuggestProviderProxy.getService(AppSuggestProviderProxy.java:68)
at org.cyanogenmod.platform.internal.AppSuggestProviderProxy.handles(AppSuggestProviderProxy.java:73)
at org.cyanogenmod.platform.internal.AppSuggestManagerService$1.handles(AppSuggestManagerService.java:50)
at cyanogenmod.app.suggest.AppSuggestManager.handles(AppSuggestManager.java:101)
at com.android.server.pm.PackageManagerService.shouldIncludeResolveActivity(PackageManagerService.java:4704)
- locked <0x0183dd64> (a android.util.ArrayMap)
at com.android.server.pm.PackageManagerService.chooseBestActivity(PackageManagerService.java:4430)
at com.android.server.pm.PackageManagerService.resolveIntent(PackageManagerService.java:4353)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:628)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:2754)
at android.os.Binder.execTransact(Binder.java:453)
"android.bg" prio=5 tid=9 Blocked
| group="main" sCount=1 dsCount=0 obj=0x12c04b80 self=0x7f84a7d800
| sysTid=766 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x7f89b3f440
| state=S schedstat=( 1237112536 3291977271 2848 ) utm=62 stm=61 core=2 HZ=100
| stack=0x7f89a3d000-0x7f89a3f000 stackSize=1037KB
| held mutexes=
at com.android.server.pm.PackageManagerService.queryIntentServices(PackageManagerService.java:5405)
- waiting to lock <0x0183dd64> (a android.util.ArrayMap) held by thread 60
at android.app.ApplicationPackageManager.queryIntentServicesAsUser(ApplicationPackageManager.java:731)
at com.android.server.ServiceWatcher.bindBestPackageLocked(ServiceWatcher.java:167)
at com.android.server.ServiceWatcher.-wrap0(ServiceWatcher.java:-1)
at com.android.server.ServiceWatcher$1.onPackageChanged(ServiceWatcher.java:321)
- locked <0x083e77c9> (a java.lang.Object)
at com.android.internal.content.PackageMonitor.onReceive(PackageMonitor.java:352)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:882)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
Change-Id: Id4775ca4d12b6cf42bea97bd74e4c38d591a1cf3
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
After applying the theme which supports paletteback feature and if there is
no defaultSwatchColor specified then the background should go to the
original color. Instead in a particular FootballDemo theme the theme
would never get applied and just flood the logcat with null exceptions
for each and every app.
TICKET:CYNGNOS-2942
Change-Id: If2bd3d23ab5075dac1d8ff3f197cebc28c9c1f20
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I2ffd5b1ee1b0a1645d07dd008b87cf13899adda8
Ticket: -
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
TIcket: CYNGNOS-3242
Change-Id: I61ce295737471ca9bb59f45c616d626bbc4f7784
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
mediasize_default"
CYNGNOS-3238, HAM-1384
This reverts commit 10a63e4e3bb26ff0bc82de303e74628ae23eab3e.
Change-Id: Ic13bdd51e059b4e66674fdbe6e6da3c2779f6a38
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since privateFlags can be accessed and modified via reflection
due to change 5d927c2d8e, the prevent system keys or prevent
power keys flag can be set and deployed without ever calling
setPrivateFlags directly.
Move enforcing to system server to prevent app tampering.
TICKET: CYAN-7921 (open source JIRA)
Found by Maciej Krysztofiak
Change-Id: I53c2804d0283692036f5cc95e6ad57821bc0655a
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Some devices can't keep up on a single thread trying
to decode & display the frames at a high frame rate. This is
observed if the sleep delay between frames is negative:
01-02 04:29:25.114 530 542 D BootAnimation: 63, -22
01-02 04:29:25.176 530 542 D BootAnimation: 61, -20
01-02 04:29:25.248 530 542 D BootAnimation: 72, -30
01-02 04:29:25.315 530 542 D BootAnimation: 66, -24
01-02 04:29:25.381 530 542 D BootAnimation: 66, -24
To mitigate this, take advantage of multiple cores by decoding on
n cores and caching up to m images. This keeps the memory footprint
small(ish) while still giving the best chance to maintain a
constant frame rate.
I measured boot time and fps for each animation part before
and after the change on an msm8909 with 1.5 GB RAM:
single thread:
01-02 04:40:45.826 540 556 I BootAnimation: fps = 22.40
01-02 04:40:49.457 540 556 I BootAnimation: fps = 13.22
01-02 04:40:51.464 540 556 I BootAnimation: fps = 23.92
01-02 04:41:19.375 540 556 I BootAnimation: fps = 22.89
01-02 04:41:23.942 540 556 I BootAnimation: fps = 15.55
boot time: 51.05s
multi thread:
01-02 04:38:55.148 526 551 I BootAnimation: fps = 22.56
01-02 04:38:57.205 526 551 I BootAnimation: fps = 23.39
01-02 04:38:59.249 526 551 I BootAnimation: fps = 23.92
01-02 04:39:29.196 526 551 I BootAnimation: fps = 23.16
01-02 04:39:32.186 526 551 I BootAnimation: fps = 23.79
boot time: 50.50s
Need to test the affect on boot time with an animation that doesn't
cache the textures as much as this to see the real effect.
Change-Id: If7464dc063b08a0bc33ee3f094028247b39650c1
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I659e6270058d02fdd894b8242a6375b1a13237df
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ticket: CYNGNOS-3233
Change-Id: I40dae6b6fd1da497024965469fea0adc78a661c3
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
With the theme service being moved to its own context, it can no
longer set system properties so have ActivityManagerService take
care of this when updating the configuration.
Change-Id: Ia5cbbf921c7c716631db1e34f5e2b04c5d814328
|