102373 Commits

Author SHA1 Message Date
Nick Kralevich
3337dbf707 grantPermissionsLPw: introduce isNewPlatformPermissionForPackage
Make grantPermissionsLPw by refactoring some code into a new
function, isNewPlatformPermissionForPackage.

No functional changes.

Change-Id: I467dacfe1fcf7e77cef4cb6df54536eeaafd9064
2013-04-02 09:38:00 -07:00
Nick Kralevich
daae541ac3 grantPermissionsLPw: get rid of a level of curly braces
We can get rid of an indention level by modifying an if/else
block slightly.

No functional changes.

Change-Id: I0404093ea9ebe7729417d825afb6e97e158ad23e
2013-04-02 09:38:00 -07:00
Nick Kralevich
35bee33d6f grantPermissionsLPw: introduce doSignaturePermission
Make grantPermissionsLPw smaller by introducing a new doSignaturePermission
function.

Just a refactoring. No functional code changes.

Change-Id: Ia967fd93e3f7cf3e48fcd13be0b04994b76d36f3
2013-04-02 09:38:00 -07:00
Jean-Michel Trivi
c3c7b92a81 Merge "Clean up role of component name in media button event receiver" into jb-mr2-dev 2013-04-02 15:54:11 +00:00
Chet Haase
c99d3c1fd6 Stop jank from window animations overlapping activity animations
Relaunching a running activity will sometimes cause animations in that
activity to run, causing jank due to too much happening (window animations
on that same window running at the same time).

An earlier fix pauses application rendering while window animations are running,
but only the first time the activity comes up. If the window is animated
after that (such as is the case with re-launching it while it is running
in the background), rendering, and therefore animations, happen as usual,
causing the jank.

The fix is to simply broaden the scope of when application rendering is
paused to include anytime the window is animating.

Issue #8472972 Make app animations play nice with window animations

Change-Id: I1dd8da039fcb4d1faf6c0811bae97ef2847deb84
2013-04-02 07:30:52 -07:00
Jeff Brown
579b0c091c Merge "Fix a doc typo." into jb-mr2-dev 2013-04-02 03:24:10 +00:00
Jeff Brown
24e22d19a2 Fix a doc typo.
Change-Id: Id41af7644e552b0fbfe90818d0a9f42178c6474d
2013-04-01 19:41:41 -07:00
Chris Craik
94d6170b67 Merge "Update view's alpha and layer docs" into jb-mr2-dev 2013-04-02 01:04:30 +00:00
Eric Laurent
742647c809 Merge "AudioService: removed last audible volume index" into jb-mr2-dev 2013-04-02 00:32:32 +00:00
Chris Craik
16ecda5317 Update view's alpha and layer docs
bug:8501661

Makes the performance issues and interaction with layer type/paint
more clear.

Additionally, corrects change from 47ab7d6612e2b5b8b66fb261dafef7c91264e173
to still allow displayList alpha to override layer paint

Change-Id: Ic94d75865700820489370461cd8ac9f9077a8d90
2013-04-01 17:21:35 -07:00
Jeff Brown
d42ae93c44 Merge "Make MessageQueue and Looper final." into jb-mr2-dev 2013-04-01 23:39:11 +00:00
Eric Laurent
42b041ed4f AudioService: removed last audible volume index
Removed storage of last audible stream volume index.
This information is redundant because we already have
two pieces of information (current volume and mute state)
allowing to completely define which volume should actually
be applied by the framework or indicated to apps.

The last audible index management had anyway been broken by
successive changes making that the value stored could be 0
in some cases causing problems like issue 8109149 when
restoring the volume settings from the DB.

Bug 8109149

Change-Id: Iea80f5a994554e42d45b227f651ec9646844aa77
2013-04-01 16:16:57 -07:00
Winson Chung
3a5a774954 Fixing NPE on screenshot error. (Bug 8328886)
Change-Id: Id47b8429c512c02e63d86de2ce37bd8e3ee02359
2013-04-01 16:04:28 -07:00
Jeff Brown
67fc67cf3e Make MessageQueue and Looper final.
Applications already cannot subclass these classes because
their constructors are not visible.

Change-Id: Id979d86dd05f7bcc888fe4ea499ab9b95d3d5dde
2013-04-01 14:27:57 -07:00
Christopher Tate
73882cf489 Merge "debuggerd now notifies the Activity Manager about native crashes" into jb-mr2-dev 2013-04-01 21:22:27 +00:00
Michael Wright
54531f8195 Merge "Flush pending input events immediately upon channel dispose" into jb-mr2-dev 2013-04-01 21:20:16 +00:00
Michael Wright
cd928a41a5 Merge "Start input event sequence numbers at 1" into jb-mr2-dev 2013-04-01 21:19:11 +00:00
Christopher Tate
58d380d2af debuggerd now notifies the Activity Manager about native crashes
The Activity Manager sets up a permission-guarded domain socket, which
debuggerd connects to when a crash happens.  If this is successful,
the daemon then mirrors the logged crash report to that socket, then
closes it.

The Activity Manager parses the native crash dump supplied by debuggerd
and forwards it to the standard app-crashed code.  The UX result is
that users now see the normal "app has stopped unexpectedly" dialog
with "report" and "okay" options for native crashes, not just for
DVM-mediated crashes.

Bug 8322568

Change-Id: Ie1b279896c603bd74d82d6cfcfd66a8f231da134
2013-04-01 13:50:23 -07:00
Tim Murray
4134ce3386 Merge "Fix blur intrinsic creation." into jb-mr2-dev 2013-04-01 20:27:28 +00:00
Michael Wright
ef17e8710e Flush pending input events immediately upon channel dispose
Change-Id: I949326423f733376aa8d3121bfed24fd76ca0784
2013-04-01 13:15:55 -07:00
Michael Wright
10f9b0997e Start input event sequence numbers at 1
Change-Id: Ia69574cb25bfced8bbeefbc23350706bacdfee12
2013-04-01 13:11:34 -07:00
Tim Murray
bddc7ffb52 Fix blur intrinsic creation.
Change-Id: Iaf54c7395d447eec94d8b6c12986fa8d16c030f5
2013-04-01 12:47:38 -07:00
Scott Main
53de5c296a am f1ba1fb4: am bfe4a29b: am 1e8d22cc: am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit 'f1ba1fb4ba55d4d706716b74060cbcc04bb48bfc':
  update IO announcement on homepage for IO Extended
2013-04-01 11:42:33 -07:00
Scott Main
f1ba1fb4ba am bfe4a29b: am 1e8d22cc: am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit 'bfe4a29bd63bfed7662341d58882f9e3813c3264':
  update IO announcement on homepage for IO Extended
2013-04-01 11:40:02 -07:00
Scott Main
bfe4a29bd6 am 1e8d22cc: am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit '1e8d22ccede109b4c8e80a6af2ed494fc77cb850':
  update IO announcement on homepage for IO Extended
2013-04-01 11:37:24 -07:00
Scott Main
1e8d22cced am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit '37a10754dea09ab9018446c9f667eb5d7d58758c':
  update IO announcement on homepage for IO Extended
2013-04-01 11:36:01 -07:00
Scott Main
37a10754de am 2ab25723: update IO announcement on homepage for IO Extended
* commit '2ab257231fe774748298ab92f78564a5e19f23f0':
  update IO announcement on homepage for IO Extended
2013-04-01 11:33:02 -07:00
Scott Main
2ab257231f update IO announcement on homepage for IO Extended
Change-Id: Id0e769162236954670dee07d6ac225a9d4b83581
2013-04-01 11:20:00 -07:00
Mike Lockwood
1341f1eee3 MTP: Implement date created field in GetObjectInfo
Bug: 8293874

Change-Id: I3e50ea1049f63e2ed3a1f849fef74a2fbf206fe8
2013-04-01 10:54:22 -07:00
Raph Levien
0102443c4f Merge "Rename DroidNaskh UI font" into jb-mr2-dev 2013-04-01 17:07:31 +00:00
Amith Yamasani
63fba8c12e Merge "Add new primary accounts to secondary limited users" into jb-mr2-dev 2013-04-01 00:50:00 +00:00
Amith Yamasani
5be347bc52 Add new primary accounts to secondary limited users
When a new account is added to the primary, those will be marked
as shared accounts for secondary limited users. If the secondary user
is currently running, clone the account right away.

Bug: 8510431
Change-Id: Ie8ad87a7205e7b1a5a1752e75fbbfc416b2a58a7
2013-03-31 17:44:31 -07:00
Baligh Uddin
d087c4ee5b Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-03-31 02:51:01 +00:00
Amith Yamasani
9fd0854d2a Merge "Fix test" into jb-mr2-dev 2013-03-31 02:01:21 +00:00
Amith Yamasani
31c0959b1a Fix test
Change-Id: I329ceff03d3707e10c2e4eabfb8e6ea61082ae6d
2013-03-30 19:00:30 -07:00
Amith Yamasani
42bc734b30 Merge "Block access to accounts for limited users." into jb-mr2-dev 2013-03-31 01:32:39 +00:00
Amith Yamasani
27db46850b Block access to accounts for limited users.
Make sure that apps that have access to restricted accounts can see them.
If they don't have access, they shouldn't be able to add a new account either.
Show an error message in the account picker if the user/app is not authorized.

Change-Id: I117c0b14d7d06c5ac4e66506df156b174567f5f3
2013-03-30 18:25:49 -07:00
Geremy Condra
cac0e0b11b Merge "Add SELinux updater and Settings-based enforcement switch." into jb-mr2-dev 2013-03-30 22:08:20 +00:00
Jean-Michel Trivi
b839b83c73 Clean up role of component name in media button event receiver
A public API was added to AudioManager to register a media button
 event receiver whithout having to supply a ComponentName.
This CL updates the comments that specified that the now optional
 ComponentName parameter can be null, and never persist the button
 event receiver is there is no ComponentName to persist.
Also unregistering the media button receiver makes no use of
 the ComponentName anymore.

Change-Id: Idcfed1e2a85feb6fa178ca7797427f238705957c
2013-03-30 14:17:45 -07:00
Jean-Michel Trivi
6f2683698e Fix RemoteControlStackEntry constructor in AudioService
Add missing call to constructor of RccPlaybackState to initialize
 the mPlaybackState field of the RemoteControlStackEntry class.

bug 8512601

Change-Id: I636d5c1b416d6a3d3808d5be53c9c544ab293732
2013-03-30 12:35:51 -07:00
Amith Yamasani
9e8ba8f273 Merge "Improve RestrictionEntry API" into jb-mr2-dev 2013-03-30 01:47:33 +00:00
Fabrice Di Meglio
83390182bf Merge "Optimize ViewGroup.MarginLayoutParams memory and fix ViewDebug" into jb-mr2-dev 2013-03-30 00:58:51 +00:00
Baligh Uddin
24480faa6b Import translations. DO NOT MERGE
Change-Id: Idf70f5a7b5c553d0b7d96caa6e4a9dc2057a97fa
Auto-generated-cl: translation import
2013-03-29 17:34:35 -07:00
Amith Yamasani
86118baa4f Improve RestrictionEntry API
More getters and setters, better naming.
New extra defined for returning a custom intent that handles showing the
   restrictions UI.

Change-Id: I2ee0cdb4edd99e71a9004ff5e929dbe243b45557
2013-03-29 17:28:47 -07:00
Geremy Condra
77118fb55e Add SELinux updater and Settings-based enforcement switch.
Bug: 8116902
Change-Id: Ifac495026a354dac7655c28ea2188499a2a319aa
2013-03-29 16:52:56 -07:00
kmccormick
257719ec2a am cccf6e9b: am 9f0ed0ee: am 58db9597: am e4ca0650: am 31ed1722: Merge "Doc update: clarify dumpsys instructions" into jb-mr1.1-docs
* commit 'cccf6e9b85e7f9e5f404137dde5dbd9db937592b':
  Doc update: clarify dumpsys instructions
2013-03-29 16:18:40 -07:00
kmccormick
cccf6e9b85 am 9f0ed0ee: am 58db9597: am e4ca0650: am 31ed1722: Merge "Doc update: clarify dumpsys instructions" into jb-mr1.1-docs
* commit '9f0ed0ee508b8f2233c8834f067e2fb8275d2cfa':
  Doc update: clarify dumpsys instructions
2013-03-29 16:16:10 -07:00
Raph Levien
15b8c18503 Rename DroidNaskh UI font
Renames DroidNaskh-Regular-SystemUI to DroidNaskhUI-Regular to be
consistent with naming scheme for Noto fonts.

Change-Id: I3319ee5cd85360c85b0523bd932d461eb05d1b18
2013-03-29 16:13:36 -07:00
kmccormick
9f0ed0ee50 am 58db9597: am e4ca0650: am 31ed1722: Merge "Doc update: clarify dumpsys instructions" into jb-mr1.1-docs
* commit '58db95970c9ba47dd83e06cc165d2dc5cc29ce8a':
  Doc update: clarify dumpsys instructions
2013-03-29 16:13:12 -07:00
kmccormick
58db95970c am e4ca0650: am 31ed1722: Merge "Doc update: clarify dumpsys instructions" into jb-mr1.1-docs
* commit 'e4ca0650eaad85ce5700ff99940c0acefed210bc':
  Doc update: clarify dumpsys instructions
2013-03-29 16:11:48 -07:00