summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Cap the number of notifications that a given package can post.Joe Onorato2010-06-091-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Right now the number is 50, just to prevent apps that have gone completely bonkers. I think the limit should be lower. Change-Id: Ib2c4abf669c8b0250e5421b6d5aeb81aeb2f82ce
* | | | Move the usb mass storage notification & activity into SystemUI.apk.Joe Onorato2010-06-092-667/+0
| | | | | | | | | | | | | | | | | | | | | | | | Also fix the notification to show properly when the runtime is restarted. Change-Id: Id0c7ef9f9dc9c9df18428cbaa7db1703f085137e
* | | | am 75b6a6b9: Merge "Fix 2737842: Disable KeguardManager API if device policy ↵Jim Miller2010-06-082-37/+68
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | is enabled" into froyo Merge commit '75b6a6b972e6b18143fd629d3d9c824c442c5f4c' into kraken * commit '75b6a6b972e6b18143fd629d3d9c824c442c5f4c': Fix 2737842: Disable KeguardManager API if device policy is enabled
| * | Fix 2737842: Disable KeguardManager API if device policy is enabledJim Miller2010-06-082-37/+68
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds notification to find out when the device policy has changed. When an admin adds or changes a policy, we get notified and reset the state of keyguard to be enabled. It also moves disabling keyguard into the TokenWatcher.acquired() method to avoid disabling keyguard when a policy doesn't permit it. This avoids reference counting issues in TokenWatcher and hence relieves the ordering issue. There is one remaining caveat. An application that uses KeyguardManager to disable keyguard will need to disable keyguard again after any policy change. Tested: Install and run app that disables keyguard with no admin. Result: keyguard is enabled/disabled as expected. Enable admin and set quality = "something" after installing & running app. Result: keyguard is enabled. Change admin password quality to "unspecified" and re-run app (per caveat). Result: keyguard is disabled. Change admin password quality to "something" again. Result: keyguard is enabled. Disable admin : Result: keyguard is enabled until app runs again (per caveat). Added minor cosmetic changes after review. Change-Id: I302f2b01446bf031f746b0f3e8b5fd7a6cc0e648
* | am bde25c20: Merge "Fix 2737842: disable keyguard API when device policy is ↵Jim Miller2010-06-071-18/+43
|\ \ | |/ | | | | | | | | | | | | | | enabled." into froyo Merge commit 'bde25c207731783a62e3611586fe05cd35add0d9' into kraken * commit 'bde25c207731783a62e3611586fe05cd35add0d9': Fix 2737842: disable keyguard API when device policy is enabled.
| * Merge "Fix 2737842: disable keyguard API when device policy is enabled." ↵Jim Miller2010-06-071-18/+43
| |\ | | | | | | | | | into froyo
| | * Fix 2737842: disable keyguard API when device policy is enabled.Jim Miller2010-06-071-18/+43
| | | | | | | | | | | | | | | | | | | | | This fix disables KeyguardManager's enable/disable API when any device policy admin requests a policy that enforces a password. Change-Id: Idb1da16b14ed8963142f7b1f62d2b060d84ffa65
* | | am ac24d23c: Merge "Don\'t bring up Launcher until after boot complete" into ↵Christopher Tate2010-06-071-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | froyo Merge commit 'ac24d23cd4a96f38b4e9cb0318a7c298794b9b6a' into kraken * commit 'ac24d23cd4a96f38b4e9cb0318a7c298794b9b6a': Don't bring up Launcher until after boot complete
| * | Merge "Don't bring up Launcher until after boot complete" into froyoChristopher Tate2010-06-071-1/+1
| |\ \
| | * | Don't bring up Launcher until after boot completeChristopher Tate2010-06-071-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The preboot upgrade handling was bringing up the acore process with a default application object, then the normal "start the HOME app" code was bringing up Launcher2 [hosted in acore] in anticipation of boot completion... but then it saw that the host process was alive and continued with Launcher2's init. Launcher2 depends on a custom application object, however, so it crashed immediately. This change ensures that the HOME app is not actually initted at that level until after boot has completed, at which point its proper application class can be instantiated. Fixes bug #2732250 Change-Id: I1a15384e2c0d50e14300df0c0db236bd7b1a187c
* | | am d1d9047d: Merge "Fix issue #2749322: addPackageToPreferred throws ↵Dianne Hackborn2010-06-071-6/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | SecurityException" into froyo Merge commit 'd1d9047d5c34fb05be08099fa8cd73e4301ee0ff' into kraken * commit 'd1d9047d5c34fb05be08099fa8cd73e4301ee0ff': Fix issue #2749322: addPackageToPreferred throws SecurityException
| * | Merge "Fix issue #2749322: addPackageToPreferred throws SecurityException" ↵Dianne Hackborn2010-06-071-6/+2
| |\ \ | | | | | | | | | | | | into froyo
| | * | Fix issue #2749322: addPackageToPreferred throws SecurityExceptionDianne Hackborn2010-06-071-6/+2
| | |/ | | | | | | | | | Change-Id: I96cdc110fd9acca4b6c95d281e819bad1e4557f8
* | | am 5a671d03: Cut logging, boost efficiency of ThrottleServiceRobert Greenwalt2010-06-071-17/+20
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '5a671d03e3abe522a761a43b0460f9f3816b14ed' into kraken * commit '5a671d03e3abe522a761a43b0460f9f3816b14ed': Cut logging, boost efficiency of ThrottleService
| * | Cut logging, boost efficiency of ThrottleServiceRobert Greenwalt2010-06-071-17/+20
| |/ | | | | | | | | | | | | | | Changed the Alarms to be non-waking. bug:2748959 bug:2747862 Change-Id: I9e4294162a4fc2f90aed36393b858edcf82aa307
* | Merge "PackageManagerService: always install native binaries from .apk" into ↵David 'Digit' Turner2010-06-071-22/+28
|\ \ | | | | | | | | | kraken
| * | PackageManagerService: always install native binaries from .apkDavid 'Digit' Turner2010-06-041-22/+28
| | | | | | | | | | | | | | | | | | | | | The previous implementation fails to work properly when the .apk and installed versions of the binaries have the same size and date. Change-Id: I296e34505ab4f0af028de5bcff7a83969f160ec1
* | | Fix bug in reporting a processes's dependent component.Dianne Hackborn2010-06-072-4/+8
| | | | | | | | | | | | | | | | | | Also add new action to show an app's details. Change-Id: I6ad3b3ac8462f5acf726ce76130882a262adff92
* | | am df2e2eff: Merge "Watchdog now records kernel stacks when it fires" into froyoChristopher Tate2010-06-061-0/+22
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit 'df2e2eff9446c0220515fa7aab7857135e04e12e' into kraken * commit 'df2e2eff9446c0220515fa7aab7857135e04e12e': Watchdog now records kernel stacks when it fires
| * | Merge "Watchdog now records kernel stacks when it fires" into froyoChristopher Tate2010-06-041-0/+22
| |\ \
| | * | Watchdog now records kernel stacks when it firesChristopher Tate2010-06-041-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel threads are appended to the usual /data/anr/traces.txt file and dropboxed along with the usual Dalvik stack dumps. Change-Id: I120f1f5ee54c965efe9ac0c7f40fdef56385f1fa NOTE: this change depends on the kernel publishing /proc/$PID/stack
* | | | am f9610b38: Merge "Make the DUN apn data secure." into froyoRobert Greenwalt2010-06-061-3/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'f9610b3842e030138c1dc327a3a467aaea02c227' into kraken * commit 'f9610b3842e030138c1dc327a3a467aaea02c227': Make the DUN apn data secure.
| * | | Merge "Make the DUN apn data secure." into froyoRobert Greenwalt2010-06-041-3/+8
| |\ \ \
| | * | | Make the DUN apn data secure.Robert Greenwalt2010-06-041-3/+8
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than come out of the user-modifiable APN DB, the DUN APN data will come first from a built-in resource and then potentially overriden by a secure setting (which is gservices upgradable). Also made the "require-dun" setting secure-setting overridable. bug:2736390 Change-Id: I1e4644c3839f06c977b83797641f3948785146a2
* | | | am 1e2e2aea: am 4b330921: Don\'t crash when low storage is encountered ↵Jeff Hamilton2010-06-041-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pre-boot completion. Merge commit '1e2e2aea8ce3b1c39f4d0f753e3f7081c94a0bac' into kraken * commit '1e2e2aea8ce3b1c39f4d0f753e3f7081c94a0bac': Don't crash when low storage is encountered pre-boot completion.
| * \ \ \ am 4b330921: Don\'t crash when low storage is encountered pre-boot completion.Jeff Hamilton2010-06-041-0/+2
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '4b3309211ed6f3532b44481945a4725143d50b8a' into froyo-plus-aosp * commit '4b3309211ed6f3532b44481945a4725143d50b8a': Don't crash when low storage is encountered pre-boot completion.
| | * | | Don't crash when low storage is encountered pre-boot completion.Jeff Hamilton2010-06-041-0/+2
| | |/ / | | | | | | | | | | | | | | | | Bug: 2741633 Change-Id: Ic073ead64ff43b2e2c32b439756cd71c2b6550b8
* | | | Add support for heavy-weight applications.Dianne Hackborn2010-06-042-95/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only one can be running at a time, their process can not be killed, and a notification is posted while it is running. Change-Id: I843015723947e0c934ae63a1aeee139327c0bc01
* | | | remove loggingJoe Onorato2010-06-021-2/+1
| | | | | | | | | | | | | | | | Change-Id: I42c2332c3c114700f5ade77b63b4f6010ea5507a
* | | | Populate the notifications at startup of SystemUI.apk.Joe Onorato2010-06-021-8/+31
| | | | | | | | | | | | | | | | Change-Id: Ie0b3fd9ed4bc9a012791372e6276f0b5908370a5
* | | | Start moving resources to SystemUI.apk.Joe Onorato2010-06-022-1235/+0
| | | | | | | | | | | | | | | | Change-Id: Ibf30b8196d65d7fbca1177968cefa5f7a875bf1d
* | | | Remove unused files from the service package.Joe Onorato2010-06-024-163/+0
| | | | | | | | | | | | | | | | Change-Id: Ia28fd7b3c42a842137afd12c4822e9b7cb4310a0
* | | | Notifications don't crash when you click them, and pass through events to ↵Joe Onorato2010-06-021-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | NotificationManagerService Change-Id: Iae4a636d3c6d5c617440b11eb5b8bc77838ad584
* | | | notifications showJoe Onorato2010-06-021-3/+18
| | | | | | | | | | | | | | | | Change-Id: I9240b803c643874828c95afcf1ba9ed91194dbc0
* | | | Checkpoint. Doesn't build.Joe Onorato2010-06-022-1/+19
| | | | | | | | | | | | | | | | Change-Id: I92e4d539ea71af9e22ced02cbdee7fbd456b7971
* | | | Checkpoint. Data structures for Notifications in place.Joe Onorato2010-06-025-451/+29
| | | | | | | | | | | | | | | | Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
* | | | Add expand and collapse.Joe Onorato2010-06-021-6/+28
| | | | | | | | | | | | | | | | Change-Id: I58ad95c59b2c46d3f25349e137d5624aefc6c6cd
* | | | Make disable() work.Joe Onorato2010-06-021-118/+43
| | | | | | | | | | | | | | | | Change-Id: I93fea37e777b3e04fe7f9171d5b84821587c24f5
* | | | Remove unused cruft.Joe Onorato2010-06-021-41/+1
| | | | | | | | | | | | | | | | Change-Id: I21a10d74106d1e4384a70cb654e4336b8f679e4a
* | | | ClockJoe Onorato2010-06-022-126/+1
| | | |
* | | | Get icon updating working.Joe Onorato2010-06-021-3/+1
| | | | | | | | | | | | | | | | Change-Id: I749967545af5c97756e316231e740208fcd8ad3c
* | | | Set the visibility of the icons.Joe Onorato2010-06-021-4/+23
| | | | | | | | | | | | | | | | Change-Id: Ib414718f1c51f1d306308a989d5d31d8e3ea7fd1
* | | | The status bar draws its icons now.Joe Onorato2010-06-0214-2286/+172
| | | |
* | | | Checkpoint status bar factoring. Now it builds and doesn't crash at boot.Joe Onorato2010-06-027-627/+20
| | | | | | | | | | | | | | | | Change-Id: I23f2045abfec0b414d5381f5e609b7267da7f21a
* | | | StatusBarService -> StatusBarManagerServiceJoe Onorato2010-06-0213-48/+48
| | | | | | | | | | | | | | | | Change-Id: I7efc245395bd91a656b30d420c9b080877162360
* | | | Add IStatusBarJoe Onorato2010-06-021-2/+2
| | | | | | | | | | | | | | | | Change-Id: Ie73d665085d5ce7358c285bf332ef1dc96005d0f
* | | | Rename IStatusBar to IStatusBarService.Joe Onorato2010-06-021-4/+4
| | | | | | | | | | | | | | | | Change-Id: Icfec2a830f037b21f6afaa796bf49da610567e7b
* | | | First pass at splitting the status bar for the different devices.Joe Onorato2010-06-022-1/+18
| |_|/ |/| | | | | | | | Change-Id: I2f568df92f88dfe8de18d24dd004239f52761aa6
* | | Amend previous ndc commitKenny Root2010-06-011-1/+2
| | | | | | | | | | | | | | | | | | | | | Submitted wrong patchset. This includes the delta for the latest patchset. Change-Id: I30f8fa1503cda2459ec7284eb9fa199c9fd5ef9b
* | | Add more error checking for ndcKenny Root2010-06-013-113/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | In NativeDaemonConnector.doCommand() calls, there was inconsistent error checking. This change adds error checking for every call and makes it so that any call to .doCommand() that gets an error code won't cause the code to hang forever. Change-Id: I4584953a759a48ad16adfe8ee9e564b5f5796680